[openstack-dev] [Cinder] Qcow2 support for cinder-backup
Mike Perez
thingee at gmail.com
Sun May 18 16:02:34 UTC 2014
On 12:45 Mon 12 May , Zhangleiqiang (Trump) wrote:
> Hi, all:
>
> I have planned to add the support to create qcow2 format file in NFS driver ([1]). From the comment of Eric Harney, I know that cinder-backup service currently assumes the volume is raw-formatted, and enable creating qcow2 in NFS driver will break backups of NFS volumes .
>
> After reading the code of backup service, I find we can first mount the qcow2 volume as a NBD device and then pass the NBD device as the "source volume_file" to backup service. Similar method of mounting qcow2 as NBD device has already used in Nova now. I think we can add it to NFS driver for backup, and it can be used for GlusterFS too.
>
> Any advice? Is there something I have not expected?
This approach makes sense to me. Thanks for looking into this.
--
Mike Perez
More information about the OpenStack-dev
mailing list