From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4BC4200E.5090603@redhat.com> Date: Tue, 13 Apr 2010 09:41:02 +0200 From: Milan Broz MIME-Version: 1.0 References: In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] what does 'orphan vg' mean?(global vg?) Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development Cc: "Busby.Cheung" 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