[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

On Wed, 14 Sep 2011, Robert Sch?ftner wrote:

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.

That implies that there could be a pvmove "cleanup" utility that cleans
up a pvmove in progress that references a missing PV.

	      Stuart D. Gathman <stuart bmsi com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]