[linux-lvm] harddisk dies while pvmove is in progress
rmu at unfoo.net
Mon Sep 12 22:15:18 UTC 2011
On 2011-09-12 23:08, Stuart D. Gathman wrote:
> On Mon, 12 Sep 2011, Robert Sch?ftner wrote:
>> So, LV homevideo is definitely lost, but shares seems to be OK,
>> modulo the "running"/interrupted pvmove. Is there a way to clean up
>> this mess without creating another LV and copying the contents of
>> shares over?
> Remove the missing PV as the error message suggested. Unless you
> have some hope of resurrecting it (has had success with connecting
> deceased drive via USB and putting in freezer to run it long enough
> to recover a little more data), it is gone now.
there is no hope in resurrecting the drive. it spins up, but doesn't
show up, neither via direct sata connection nor via sata - usb bridge.
and i already sent it away for warranty replacement.
my interpretation of the man page is that vgreduce --removemissing
--force would remove both LVs, even the "good" one, that's what i want
to avoid. my idea would be something like manually breaking the mirror
from the raid to the missing harddisk, at least for the part that
belongs to the LV "shares".
my plan is to edit the latest archived meta-data, remove the
pvmove-mirror, exchange the segment pointing to the missing device with
the mirrored segment, and vcfgrestore it, if no better idea comes up.
the saved metadata confirms that the segment belonging to LV "shares"
was completely mirrored before the harddisk died, so all the needed data
More information about the linux-lvm