Re: device failure during pvmove

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

 



On Thu, 14 Jan 2016 at 20:38 Bryan Larsen <bryan@larsen.st> wrote:
I was in the process of doing a pvmove from /dev/md3 to a new, blank /dev/md1 when /dev/md1 failed due to operator stupidity.

I tried doing a pvmove abort, but it complains about a missing device.   It suggests doing a vgreduce --removemissing but that refuses to proceed without a --force because pvmove has placed data onto the broken and missing /dev/md1.

So theoretically all my data should still be available on /dev/md3.   Any hints on how to proceed?

I solved the problem.   I did a vgcfgdump, carefully edited the resulting file, and used vgcfgrestore to bring things back to life.

cheers,
Bryan

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux