[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Block format 'raw' does not support the option 'locking
From: |
Changlimin |
Subject: |
Re: [Qemu-devel] Block format 'raw' does not support the option 'locking' when disable image locking with option locking=off |
Date: |
Thu, 26 Oct 2017 07:18:01 +0000 |
If the qcow2 file is created with preallocation=full, I think metadata will not
corrupt when it is shared between two vms? Snapshot is not required.
Is this right?
BR
Chang limin
-----Original Message-----
From: Max Reitz [mailto:address@hidden
Sent: Thursday, October 26, 2017 3:12 PM
To: changlimin 00148 (Cloud); Fam Zheng
Cc: address@hidden
Subject: Re: [Qemu-devel] Block format 'raw' does not support the option
'locking' when disable image locking with option locking=off
On 2017-10-26 03:06, Changlimin wrote:
> share-rw=on is good for raw format file, but bad for qcow2 format file:
>
> Failed to get "write" lock
> Is another process using the image?
>
> Is this intented?
Yes, because you can never share qcow2 image files between VMs. The
qcow2 format itself does not support this, as it may lead to metadata
corruption.
Max