Re: LVM2 and OCFS2

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

 



Boris Ostrovsky wrote:
> (Resending with cc: fixed)
> 
>> It's true that lvm is not cluster-aware. What that means is that if
>> you update the
>> volume groups on one node then the other nodes in the cluster will not
>> see the
>> changes and you could end up with the block devices on the machines
>> dangerously
>> out of sync.
> 
> What if I can guarantee that other nodes will not access LVM metadata
> (i.e. they will not issue any LVM command) until I run 'vgchange -ay'
> on them? The only access that those other nodes will have to volumes
> is that they will have some of them mounted.
> 
> Is this still dangerous? My (limited) understanding of metadata is
> that it is stored in the first few blocks of a disk (or striped, if
> necessary) and is cached in lvm.cache. vgchange will sync disk and
> cache, so it should be OK, right?

Yes, that should work.

Just be VERY, VERY careful!

patrick

_______________________________________________
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