[linux-lvm] harddisk dies while pvmove is in progress

Robert Schöftner rmu at unfoo.net
Wed Sep 14 07:23:22 UTC 2011


Am 2011-09-13 00:15, schrieb Robert Schöftner:
> 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 is there.
For the record: finally, I edited the last metadata-backup, put the
successfully mirrored segment on the raid into the LV (instead of the
pvmovesomething mirror), removed references to pvmove, the damaged PV
and the "homevideo" LV, vgcfgrestored the config, rebooted, and
everything works.

Robert




More information about the linux-lvm mailing list