If you receive the following error while creating the LVM, here is the fix
-----------------------------
Read-only locking type set. Write locks are prohibited.
Can't get lock for Xen1
-----------------------------
Read-only locking type set. Write locks are prohibited.
Can't get lock for Xen1
-----------------------------
[root@test~]# grep locking_type /etc/lvm/lvm.conf
locking_type = 4
locking_type = 4
Check locking_type in the lvm config and change it to 1
Thanks, it saves my time)
ReplyDeleteThanks much.. it works well
ReplyDelete