[PATCH v1 0/2] Fix qcow2 fully allocated filesystem objects.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Wim ten Have <wim.ten.have@xxxxxxxxxx>

When tools like virt-install request to create a fully allocated
filesystem object storage by setting the parameter sparse=no, libvirt
doesn't allow that to happen for qcow2 formatted files.

Regardless of its XML instuction request libvirt always targets its
filesystem object storage with preallocation=metadata if format=qcow2
is in effect.  This results in sparse files which could cause problems
since total image storage potentially can overrun actual filesystem
available space.

(NOTE: This is a RESEND holding corrected cover letter and commit
  messages / Subject headers.)

Wim ten Have (2):
  storage: extend preallocation flags support for qemu-img
  tests: add qemu-img test for preallocation=falloc

 include/libvirt/libvirt-storage.h                   |  5 ++++-
 src/storage/storage_util.c                          | 21 +++++++++++++++++----
 .../qcow2-nocapacity-convert-prealloc.argv          |  2 +-
 3 files changed, 22 insertions(+), 6 deletions(-)

-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux