Re: Any way to speed up activation of volumes with snapshots?

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

 



Dne 16.9.2015 v 21:19 Chris Friesen napsal(a):
On 09/16/2015 02:27 AM, Zdenek Kabelac wrote:

Sorry, but there is no 'parallel' activation from lvm2 command - as lvm2 is not
multithreadded app  (and is quite far away from that).


Just had a weird thought.  What would happen if I ran the "vgchange -ay"
command, and then a few seconds later ran a bunch of "lvchange -ay" commands
in parallel?

Since all of them are 'activation' requests - you just end with success
and everything should be activated.

Much more interesting case is - if you run in parallel activation
and deactivation :) - then the result depends on last executed command.

Would that maybe let me activate non-snapshotted volumes even if the
snapshotted volumes took a long time?

Yes - you could activate things in parallel this way - since every command has separate udev cookie - so it waits on its set of LVs.

Zdenek


_______________________________________________
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