Hi,
When running Oracle RAC, one image is shared between multiple vms, so I want to 
disable locking with option locking=off, But Block format 'raw' does not 
support the option 'locking'.
How to disable locking?

The version is git e822e81e350825dd94f41ee2538ff1432b812eb9

The command line is
-drive 
file=/var/lib/libvirt/images/r0605-share.img,format=raw,if=none,id=drive-virtio-disk1,cache=directsync,aio=native,locking=off
 \
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0xa,drive=drive-virtio-disk1,id=virtio-disk1
 \

The error message is
-drive 
file=/var/lib/libvirt/images/r0605-share.img,format=raw,if=none,id=drive-virtio-disk1,cache=directsync,aio=native,locking=off:
 Block format 'raw' does not support the option 'locking'

BR
Chang Limin

Reply via email to