Package: ntfs-3g Version: 1:2012.1.15AR.5-2.1 Severity: important I cannot resize an ntfs partition, it fails with:
$ virsh --connect qemu:///system dumpxml Win7DELL-compilation | xpath -e /domain/devices/disk/source Found 2 nodes in stdin: -- NODE -- <source file="/var/lib/libvirt/images/Win7DELL-clone.img" /> -- NODE -- <source file="/var/lib/libvirt/images/Win7DELL.iso" /> $ virt-filesystems --long --parts --blkdevs -h -a /var/lib/libvirt/images/Win7DELL-clone.img Name Type MBR Size Parent /dev/sda1 partition 07 100M /dev/sda /dev/sda2 partition 07 30G /dev/sda /dev/sda device - 30G - $ sudo truncate -s 40G /var/lib/libvirt/images/outdisk $ sudo su - # virt-resize --expand /dev/sda2 /var/lib/libvirt/images/Win7DELL-clone.img /var/lib/libvirt/images/outdisk Examining /var/lib/libvirt/images/Win7DELL-clone.img ... 100% ⟦▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓⟧ 00:00 ********** Summary of changes: /dev/sda1: This partition will be left alone. /dev/sda2: This partition will be resized from 29,9G to 39,9G. The filesystem ntfs on /dev/sda2 will be expanded using the 'ntfsresize' method. ********** Setting up initial partition table on /var/lib/libvirt/images/outdisk ... Copying /dev/sda1 ... Copying /dev/sda2 ... 100% ⟦▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓⟧ 00:00 100% ⟦▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓⟧ 00:00 Expanding /dev/sda2 using the 'ntfsresize' method ... Fatal error: exception Guestfs.Error("ntfsresize_opts: /dev/vda2: ")