[linux-lvm] what does 'orphan vg' mean?(global vg?)

Milan Broz mbroz at redhat.com
Tue Apr 13 07:41:02 UTC 2010


On 04/13/2010 09:16 AM, Busby.Cheung wrote:
>       While I was reading the lvm source code, I can't understand what
> 'is_orphan' means(like 'is_orphan_vg' function). what's the different
> between orphan and global vg?

Orphan PV is device with PV label which is not attached to any Volume Group.
(IOW it is handled by LVM, but space on it is not yet allocatable.)

There is no such thing like Global VG in LVM2, only "global lock".
It is internal lock used to avoid parallel scanning of all devices.
(you will see it in vgscan command for example).

Milan




More information about the linux-lvm mailing list