[linux-lvm] managing "local" LVM and cLVM concurrently ?

Digimer lists at alteeve.ca
Tue Jun 14 17:00:42 UTC 2016


On 14/06/16 11:27 AM, Lentes, Bernd wrote:
> Hi,
> 
> i have a configuration where i have some local logical volumes (on an internal RAID-Controller) and also some logical volumes on a SAN which are shared with a second host. Is this possible concurrently ?
> Which locking_type to i have to povide ?
> 
> Thanks.
> 
> Bernd

Yup. When you create the VG on the cluster, use the -cy switch (cluster
= yes). Conversely, when creating a VG on non-shared storage, use -cn.
You need to set the locking to '3' (cluster locking) and be running the
clvmd service (which requires DLM which is provided by cman on older
distros and by a stand-alone DLM service on newer distros).

I assume your cluster is formed properly and fencing/stonith is
configured and tested?

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?




More information about the linux-lvm mailing list