PDA

View Full Version : why to go with cLVM ?



sharfuddin
02-Jul-2015, 06:49
if I have a cluster with either:
1 - dual primary drbd setup with cluster-aware file system(ocfs2) or
2 - shared storage with cluster-aware file system(ocfs2)

then why I do need the cLVM ? ordinary LVM does not work ?

jmozdzen
02-Jul-2015, 12:12
Hi sharfuddin,

if I have a cluster with either:
1 - dual primary drbd setup with cluster-aware file system(ocfs2) or
2 - shared storage with cluster-aware file system(ocfs2)

then why I do need the cLVM ? ordinary LVM does not work ?

changing the LVM layout from one of the cluster nodes will not be noticed by the other nodes, until a reboot.

If you can live with that (i.e. because you use a single OCFS2 partition on the shared media, and won't change the partitioning), no cLVM is needed.

Regards,
Jens

sharfuddin
03-Jul-2015, 08:13
>changing the LVM layout from one of the cluster nodes will not be noticed by the other nodes, until a reboot.
>
I get "changing the LVM layout" as modifying the size of VG/LV ? did I get you properly ?

>If you can live with that (i.e. because you use a single OCFS2 partition on the shared media, and won't change the partitioning), no cLVM is needed.
>
Got it ;-).

Thanks a lot, you helped me.