Re: what does 'orphan vg' mean?(global vg?)

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

 



Hi Milan,
      Thank you very much for so qucik answer.
      The reason cause me to read the source code is you mentioned in your email: 'vgscan'. When I use the 'vgs' cmd, it maybe take a long time, the 'vgs' can't be executed  parallelly? The 'vgs' cmd will scan all the devices, once one device locked, it will wait till timeout or err come(device err)?  
 
 Best Regards,
Busby
 > -----原始邮件-----
> 发件人: "Milan Broz" <mbroz@redhat.com>
> 发送时间: 2010年4月13日 星期二
> 收件人: "LVM general discussion and development" <linux-lvm@redhat.com>
> 抄送: "Busby.Cheung" <chaimvy@163.com>
> 主题: Re: [linux-lvm] what does 'orphan vg' mean?(global vg?)
> 
> 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


_______________________________________________
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