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

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

 



On 04/13/2010 10:14 AM, Busby.Cheung wrote:
>       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)?  

vgs take global lock for performance reasons (it can use cached metadata
completely then), so it waits for some time if vgscan run in parallel.
(but you do not need to run vgscan at all except adding new device or so)

full scan should not take too much time, but there was some bug fixed
recently (missing device was searched too many times slowing everything down)

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