Re: SSA Disk Replacement... Unmount of filesystem needed?
From: Nathan (nathan_at_nospam.org)
Date: Mon, 03 Oct 2005 14:13:13 -0500
> On one of the volume groups this drive is a member of there is logical
> volume that has part of this disk on both sides of the mirror... i.e. a
> 'lslv -m lvXXX' shows the bad hdisk with entries on both columns (not
> on the same LP though). This worries be because I'm not sure I can
> break the mirror properly without losing data. Am I missing something
I didn't pay close enough attention, my directions where for a raid5
array disk replacement, not a mirror replacement.
What is your disk configuration exactly? A single disk-to-disk mirror or
a raid to raid mirror (raid10)? Sounds like someone did a manual lv
mirror instead of a vg mirror, or that they didn't set "use strict" when
building the mirror to prevent lv's from growing across physical volumes.
I've not gotten into one of those situations before, you might be able
to migrate the lv to another disk and then back to the good one... Don't
know what would be the best method of attack.
From the manpage, I've not tried this in your situation though:
2. To move physical partitions in logical volume lv02 from hdisk1 to
migratepv -l lv02 hdisk1 hdisk6
Only those physical partitions contained in lv02 are moved from one
physical volume to another.