CLVM Questions
Is it possible to mix clustered LVM and unclustered LVM? I tried but it seemed to have issues.
Also, does anyone know if Gentoo likes it better if you use the CLVM package or if you build the LVM package with the clvm USE flag?
Signature · 4 lines
Jayson Vantuyl Systems Architect Engine Yard [email protected]
Quoted 2 lines · Jayson Vantuyl
Is it possible to mix clustered LVM and unclustered LVM? I tried but it seemed to have issues.
I'm not sure what you mean here. You either have a cluster or you don't.
If you have clvm on one node on a cluster then it needs to be on ALL nodes of the cluster - you can't have an isolated node that is also part of the CMAN cluster.
If what you mean is "can I have a non-clustered Volume Group alongside cluster volume groups", then the answer is "yes". There is a flag on the VG that indicates whether it is clustered or not. activated with vgchange -cy, deactivated with vgchange -cn. You can't mark individual LVs within a VG as clustered/non-clustered though. That wouldn't make sense.
Quoted 3 lines
Also, does anyone know if Gentoo likes it better if you use the CLVM package or if you build the LVM package with the clvm USE flag?
Signature · 1 line
patrick
Quoted 1 line · Patrick Caulfield
I'm not sure what you mean here. You either have a cluster or you don't.
Yes.
Quoted 3 lines
If you have clvm on one node on a cluster then it needs to be on ALL nodes of the cluster - you can't have an isolated node that is also part of the CMAN cluster.
I had kind of figured this out.
Quoted 5 lines
If what you mean is "can I have a non-clustered Volume Group alongside cluster volume groups", then the answer is "yes". There is a flag on the VG that indicates whether it is clustered or not. activated with vgchange -cy, deactivated with vgchange -cn. You can't mark individual LVs within a VG as clustered/non-clustered though. That wouldn't make sense.
Well, I think I have a bug to report. When I create a vg and mark it as not clustered, I get locking errors when working with its LVs.
Signature · 4 lines
Jayson Vantuyl Systems Architect Engine Yard [email protected]