[ClusterLabs] convert already clustered LVM to cLVM

Cristiano Coltro Cristiano.Coltro at microfocus.com
Wed Jun 28 04:46:55 EDT 2017


Hi all,

A brief History

Customer of mine has setted up a SLES 11 sp3 and SLES11sp4 HA environment and he has some LVM as resources.

When he tries to expand LVM for a "need of space" reason he wasn't able to extend cause a corruption of metadata that even if recovered with vgcfgrestore doesn't heal.

The customer has not configured LVM with the "c"( clustered ) attribute

   95   VG        #PV #LV #SN Attr   VSize   VFree
   96   vg00        1   3   0 wz--n- 279.22g  88.22g
   97   vgWP4       2  10   0 wz--n-  49.97g   5.97g

that prevents to extend the LVM and gets

83664       Setting global/locking_type to 3
83665       global/wait_for_locks not found in config: defaulting to 1
83666       Cluster locking selected.
83667     connect() failed on local socket: No such file or directory
83668     Internal cluster locking initialisation failed.
83669       Setting global/fallback_to_local_locking to 1
83670       locking/fallback_to_local_locking not found in config: defaulting to 1
83671     WARNING: Falling back to local file-based locking


Cause he has the file locking set to 3 ( correctly ) but he must have the "c" attribute to work properly.

Coming to my question:


  *   Is there a way to convert the LVMs without pain to cLVMs?  I know that technically a vgchange -cy do the trick but I'm not sure which impacts it can have.

Thanks in advance
Cristiano

Cristiano Coltro
Premium Support Engineer

mail: cristiano.coltro at microfocus.com<mailto:cristiano.coltro at microfocus.com>
mobile: +39 335 1435589
phone +39 02 36634936
______________
[microfocus-logo]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170628/470b2550/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2302 bytes
Desc: image001.png
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170628/470b2550/attachment-0002.png>


More information about the Users mailing list