Pages

Tuesday, March 25, 2014

Read-only locking type set. Write locks are prohibited. (LVM)

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
-----------------------------
[root@test~]# grep locking_type /etc/lvm/lvm.conf
locking_type = 4
Check locking_type in the lvm config and change it to 1

2 comments: