[linux-lvm] Can't work normally after attaching disk volumes originally in a VG on another machine

Xen list at xenhideout.nl
Tue Mar 27 09:12:22 UTC 2018

Gang He schreef op 27-03-2018 7:55:

> I just reproduced a problem from the customer, since they did virtual
> disk migration from one virtual machine  to another one.
> According to your comments, this does not look like a LVM code problem,
> the problem can be considered as LVM administer misoperation?

Counterintuitively, you must remove the PV from the VG before you remove 
the (physical) disk from the system.

Yes that is something you can often forget doing, but as it stands 
resolving the situation often becomes a lot harder when you do it in 

Ie. removing the disk first and then removing the PV from the VG is a 
lot harder.

More information about the linux-lvm mailing list