Re: LVM2 and OCFS2

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

 



(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?

Thanks.
-boris


What you tried (it seems to me) is just created LVM volumes and run OCFS2 on
them. that will/ work provided you never change the volume groups!

_______________________________________________
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