[Pkg-libvirt-maintainers] Bug#777548: libguestfs-tools: virt-resize

wim wim.bertels at khleuven.be
Mon Mar 14 13:26:59 UTC 2016


Package: libguestfs-tools
Version: 1:1.28.1-1
Followup-For: Bug #777548

Hallo,

i can confirm this bug in jessie,

"
# virt-resize --expand /dev/sda1 /var/lib/libvirt/images/debian-jessie-basis-orange.qcow2 /data_1T/wim_1T/tmp/outdisk 
Examining /var/lib/libvirt/images/debian-jessie-basis-orange.qcow2 ...
**********

Summary of changes:

/dev/sda1: This partition will be resized from 7,6G to 63,6G.  The 
    filesystem ext4 on /dev/sda1 will be expanded using the 'resize2fs' 
    method.
    
    /dev/sda2: This partition will be left alone.
    
    **********
Setting up initial partition table on /data_1T/wim_1T/tmp/outdisk ...
Copying /dev/sda1 ...
 100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00
Copying /dev/sda2 ...
virt-resize: error: libguestfs error: copy_device_to_device: /dev/sdb2: 
write: No space left on device
"

info: /dev/sdb2 is the /boot partition of the host

Could a upstream version without this bug which makes virt-resize unusable be pushed to stable?

mvg,
Wim

Verbose:
"
...
lrwxrwxrwx 1 0 0  7 Mar 14 13:23 4:9 -> ../tty9
lrwxrwxrwx 1 0 0  6 Mar 14 13:23 5:0 -> ../tty
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 5:1 -> ../console
lrwxrwxrwx 1 0 0  7 Mar 14 13:23 5:2 -> ../ptmx
lrwxrwxrwx 1 0 0  6 Mar 14 13:23 7:0 -> ../vcs
lrwxrwxrwx 1 0 0  7 Mar 14 13:23 7:1 -> ../vcs1
lrwxrwxrwx 1 0 0  7 Mar 14 13:23 7:128 -> ../vcsa
lrwxrwxrwx 1 0 0  8 Mar 14 13:23 7:129 -> ../vcsa1

/dev/cpu:
total 0
crw------- 1 0 0 10, 184 Mar 14 13:23 microcode

/dev/disk:
total 0
drwxr-xr-x 2 0 0 220 Mar 14 13:23 by-id
drwxr-xr-x 2 0 0 220 Mar 14 13:23 by-path
drwxr-xr-x 2 0 0 100 Mar 14 13:23 by-uuid

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 0 0  9 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_appliance -> ../../sdc
lrwxrwxrwx 1 0 0  9 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_hd0 -> ../../sda
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_hd0-part1 -> ../../sda1
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_hd0-part2 -> ../../sda2
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_hd0-part5 -> ../../sda5
lrwxrwxrwx 1 0 0  9 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_hd1 -> ../../sdb
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_hd1-part1 -> ../../sdb1
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_hd1-part2 -> ../../sdb2
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 scsi-0QEMU_QEMU_HARDDISK_hd1-part5 -> ../../sdb5

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 0 0  9 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 0 0  9 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:1:0 -> ../../sdb
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:1:0-part1 -> ../../sdb1
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:1:0-part2 -> ../../sdb2
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:1:0-part5 -> ../../sdb5
lrwxrwxrwx 1 0 0  9 Mar 14 13:23 pci-0000:00:02.0-scsi-0:0:2:0 -> ../../sdc

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 3e5899f7-0b50-4458-8bad-60277917bb82 -> ../../sda5
lrwxrwxrwx 1 0 0 10 Mar 14 13:23 883819b9-dad0-4a07-92c3-8b878cb1403b -> ../../sdb1
lrwxrwxrwx 1 0 0  9 Mar 14 13:23 a6593661-dca3-42e2-bf9f-c9f67854844c -> ../../sdc

/dev/input:
total 0
drwxr-xr-x 2 0 0    120 Mar 14 13:23 by-path
crw------- 1 0 0 13, 64 Mar 14 13:23 event0
crw------- 1 0 0 13, 65 Mar 14 13:23 event1
crw------- 1 0 0 13, 66 Mar 14 13:23 event2
crw------- 1 0 0 13, 63 Mar 14 13:23 mice
crw------- 1 0 0 13, 32 Mar 14 13:23 mouse0

/dev/input/by-path:
total 0
lrwxrwxrwx 1 0 0 9 Mar 14 13:23 platform-i8042-serio-0-event-kbd -> ../event0
lrwxrwxrwx 1 0 0 9 Mar 14 13:23 platform-i8042-serio-1-event-mouse -> ../event2
lrwxrwxrwx 1 0 0 9 Mar 14 13:23 platform-i8042-serio-1-mouse -> ../mouse0
lrwxrwxrwx 1 0 0 9 Mar 14 13:23 platform-pcspkr-event-spkr -> ../event1

/dev/mapper:
total 0
crw------- 1 0 0 10, 236 Mar 14 13:23 control

/dev/net:
total 0
crw------- 1 0 0 10, 200 Mar 14 13:23 tun

/dev/snd:
total 0
crw------- 1 0 0 116,  1 Mar 14 13:23 seq
crw------- 1 0 0 116, 33 Mar 14 13:23 timer

/dev/vfio:
total 0
crw------- 1 0 0 10, 196 Mar 14 13:23 vfio

/dev/virtio-ports:
total 0
lrwxrwxrwx 1 0 0 11 Mar 14 13:23 org.libguestfs.channel.0 -> ../vport1p1
rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
/dev/root / ext2 rw,noatime 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=98784k,mode=755 0 0
/dev /dev devtmpfs rw,relatime,size=243868k,nr_inodes=60967,mode=755 0 0
  No volume groups found
  No volume groups found
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
Module                  Size  Used by
dm_mod                 89405  0 
thermal_sys            27642  0 
aesni_intel           151423  0 
evdev                  17445  0 
aes_x86_64             16719  1 aesni_intel
i2c_piix4              20864  0 
i2c_core               46012  1 i2c_piix4
psmouse                99249  0 
lrw                    12757  1 aesni_intel
pcspkr                 12595  0 
sg                     29973  0 
serio_raw              12849  0 
gf128mul               12970  1 lrw
glue_helper            12695  1 aesni_intel
ata_generic            12490  0 
ablk_helper            12572  1 aesni_intel
cryptd                 14516  2 aesni_intel,ablk_helper
libcrc32c              12426  0 
crc7                   12345  0 
crc_itu_t              12347  0 
crc_ccitt              12347  0 
ext4                  473802  1 
crc16                  12343  1 ext4
mbcache                17171  1 ext4
jbd2                   82522  1 ext4
virtio_pci             17389  0 
virtio_balloon         13047  0 
virtio_scsi            17816  1 
sym53c8xx              74168  0 
sr_mod                 21903  0 
cdrom                  47424  1 sr_mod
sd_mod                 44356  1 
crc_t10dif             12431  1 sd_mod
scsi_transport_spi     27851  1 sym53c8xx
megaraid_sas           97499  0 
megaraid_mbox          38485  0 
megaraid_mm            17240  1 megaraid_mbox
megaraid               42836  0 
ideapad_laptop         17447  0 
rfkill                 18867  1 ideapad_laptop
sparse_keymap          12818  1 ideapad_laptop
virtio_net             26553  0 
virtio_console         22699  0 
virtio_rng             12783  0 
rng_core               12733  1 virtio_rng
virtio_blk             17345  0 
virtio_ring            17513  7 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_console,virtio_scsi
virtio                 13058  7 virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_console,virtio_scsi
ata_piix               33592  0 
libata                177508  2 ata_generic,ata_piix
scsi_mod              191405  10 sg,megaraid_mbox,scsi_transport_spi,libata,sym53c8xx,sd_mod,sr_mod,megaraid,megaraid_sas,virtio_scsi
crct10dif_generic      12581  0 
crc32c_generic         12656  0 
crc32                  12648  0 
crct10dif_pclmul       13387  1 
crct10dif_common       12356  3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32c_intel           21809  1 
crc32_pclmul           12915  0 
Mon Mar 14 13:23:18 UTC 2016
clocksource: kvm-clock
uptime: 2.31 1.86
verbose daemon enabled
linux commmand line: panic=1 console=ttyS0 udevtimeout=6000 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=xterm

trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
udevadm --debug settle
calling: settle
libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
libguestfs: [03329ms] appliance is up
libguestfs: trace: launch = 0
libguestfs: trace: lvm_set_filter "/dev/sda"
guestfsd: main_loop: new request, len 0x38
lvm vgchange -an
  No volume groups found
lvm vgscan
  No volume groups found
lvm vgchange -ay
  No volume groups found
guestfsd: main_loop: proc 255 (lvm_set_filter) took 0.32 seconds
libguestfs: trace: lvm_set_filter = 0
libguestfs: trace: feature_available "ntfsprogs ntfs3g"
guestfsd: main_loop: new request, len 0x48
guestfsd: main_loop: proc 398 (feature_available) took 0.00 seconds
libguestfs: trace: feature_available = 1
libguestfs: trace: feature_available "btrfs"
guestfsd: main_loop: new request, len 0x38
grep ^[[:space:]]*btrfs$ /proc/filesystems
modprobe btrfs
[    2.720006] raid6: sse2x1   11499 MB/s
[    2.788009] raid6: sse2x2   14506 MB/s
[    2.856014] raid6: sse2x4   16138 MB/s
[    2.924010] raid6: avx2x1   21610 MB/s
[    2.992007] raid6: avx2x2   25537 MB/s
[    3.060010] raid6: avx2x4   29449 MB/s
[    3.060257] raid6: using algorithm avx2x4 (29449 MB/s)
[    3.060527] raid6: using avx2x2 recovery algorithm
[    3.061344] xor: automatically using best checksumming function:
[    3.100006]    avx       : 35471.000 MB/sec
[    3.105189] Btrfs loaded
grep ^[[:space:]]*btrfs$ /proc/filesystems
libguestfs: trace: feature_available = 1
libguestfs: trace: feature_available "xfs"
guestfsd: main_loop: proc 398 (feature_available) took 0.45 seconds
guestfsd: main_loop: new request, len 0x34
guestfsd: main_loop: proc 398 (feature_available) took 0.00 seconds
libguestfs: trace: feature_available = 1
libguestfs: trace: blockdev_getss "/dev/sdb"
guestfsd: main_loop: new request, len 0x34
udevadm --debug settle
calling: settle
blockdev --getss /dev/sdb
libguestfs: trace: blockdev_getss = 512
libguestfs: trace: blockdev_getsize64 "/dev/sda"
guestfsd: main_loop: proc 59 (blockdev_getss) took 0.00 seconds
guestfsd: main_loop: new request, len 0x34
udevadm --debug settle
calling: settle
blockdev --getsize64 /dev/sda
guestfsd: main_loop: proc 63 (blockdev_getsize64) took 0.00 seconds
libguestfs: trace: blockdev_getsize64 = 8589934592
libguestfs: trace: blockdev_getsize64 "/dev/sdb"
guestfsd: main_loop: new request, len 0x34
udevadm --debug settle
calling: settle
blockdev --getsize64 /dev/sdb
guestfsd: main_loop: proc 63 (blockdev_getsize64) took 0.00 seconds
libguestfs: trace: blockdev_getsize64 = 68719476736
libguestfs: trace: part_get_parttype "/dev/sda"
guestfsd: main_loop: new request, len 0x34
parted -s -m /dev/null
Error: The device /dev/null is so small that it cannot possibly store a file system or partition table.  Perhaps you selected the wrong device?
Warning: Error fsyncing/closing /dev/null: Invalid argument
parted -m -- /dev/sda unit b print
libguestfs: trace: part_get_parttype = "msdos"
/var/lib/libvirt/images/debian-jessie-basis-orange.qcow2 size 8589934592 bytes
/data_1T/wim_1T//tmp/outdisk size 68719476736 bytes
partition table type: msdos
libguestfs: trace: pvs_full
guestfsd: main_loop: proc 214 (part_get_parttype) took 0.01 seconds
guestfsd: main_loop: new request, len 0x28
lvm pvs -o pv_name,pv_uuid,pv_fmt,pv_size,dev_size,pv_free,pv_used,pv_attr,pv_pe_count,pv_pe_alloc_count,pv_tags,pe_start,pv_mda_count,pv_mda_free --unbuffered --noheadings --nosuffix --separator , --units b
libguestfs: trace: pvs_full = <struct guestfs_lvm_pv_list *>
libguestfs: trace: part_list "/dev/sda"
guestfsd: main_loop: proc 12 (pvs_full) took 0.01 seconds
guestfsd: main_loop: new request, len 0x34
parted -m -- /dev/sda unit b print
libguestfs: trace: part_list = <struct guestfs_partition_list *>
libguestfs: trace: part_get_bootable "/dev/sda" 1
guestfsd: main_loop: proc 213 (part_list) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
parted -m -- /dev/sda unit b print
libguestfs: trace: part_get_bootable = 1
libguestfs: trace: part_get_mbr_id "/dev/sda" 1
guestfsd: main_loop: proc 234 (part_get_bootable) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
udevadm --debug settle
calling: settle
sfdisk --print-id /dev/sda 1
sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
[    3.284228]  sda: sda1 sda2 < sda5 >
udevadm --debug settle
calling: settle
libguestfs: trace: part_get_mbr_id = 131
libguestfs: trace: vfs_type "/dev/sda1"
guestfsd: main_loop: proc 235 (part_get_mbr_id) took 0.14 seconds
guestfsd: main_loop: new request, len 0x38
blkid -c /dev/null -o value -s TYPE /dev/sda1
libguestfs: trace: vfs_type = "ext4"
libguestfs: trace: mount_ro "/dev/sda1" "/"
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
mount -o ro /dev/sda1 /sysroot/
[    3.320271] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[    3.320642] EXT4-fs (sda1): write access will be enabled during recovery
[    3.386772] EXT4-fs (sda1): orphan cleanup on readonly fs
[    3.401810] EXT4-fs (sda1): 169 orphan inodes deleted
[    3.402117] EXT4-fs (sda1): recovery complete
[    3.412848] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
guestfsd: main_loop: proc 73 (mount_ro) took 0.09 seconds
libguestfs: trace: mount_ro = 0
libguestfs: trace: statvfs "/"
guestfsd: main_loop: new request, len 0x30
guestfsd: main_loop: proc 54 (statvfs) took 0.00 seconds
libguestfs: trace: statvfs = <struct guestfs_statvfs *>
libguestfs: trace: umount "/"
guestfsd: main_loop: new request, len 0x38
umount /sysroot/
libguestfs: trace: umount = 0
libguestfs: trace: part_get_name "/dev/sda" 1
guestfsd: main_loop: proc 45 (umount) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
parted -m -- /dev/sda unit b print
guestfsd: error: part-get-name can only be used on GUID Partition Tables
guestfsd: main_loop: proc 416 (part_get_name) took 0.01 seconds
libguestfs: trace: part_get_name = NULL (error)
libguestfs: trace: part_get_bootable "/dev/sda" 2
guestfsd: main_loop: new request, len 0x38
parted -m -- /dev/sda unit b print
libguestfs: trace: part_get_bootable = 0
libguestfs: trace: part_get_mbr_id "/dev/sda" 2
guestfsd: main_loop: proc 234 (part_get_bootable) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
udevadm --debug settle
calling: settle
sfdisk --print-id /dev/sda 2
sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
[    3.548269]  sda: sda1 sda2 < sda5 >
udevadm --debug settle
calling: settle
libguestfs: trace: part_get_mbr_id = 5
libguestfs: trace: part_get_name "/dev/sda" 2
guestfsd: main_loop: proc 235 (part_get_mbr_id) took 0.12 seconds
guestfsd: main_loop: new request, len 0x38
parted -m -- /dev/sda unit b print
guestfsd: error: part-get-name can only be used on GUID Partition Tables
guestfsd: main_loop: proc 416 (part_get_name) took 0.02 seconds
libguestfs: trace: part_get_name = NULL (error)
libguestfs: trace: lvs
guestfsd: main_loop: new request, len 0x28
lvm lvs -o vg_name,lv_name --noheadings --separator /
  No volume groups found
guestfsd: main_loop: proc 11 (lvs) took 0.02 seconds
libguestfs: trace: lvs = []
2 partitions found
/dev/sda1:
	partition data: 1 1048576-8186232831 (8185184256 bytes)
	bootable: true
	partition ID: 0x83
	content: filesystem ext4 (7922466816 bytes)
	label: (none)
/dev/sda2:
	partition data: 2 8187280384-8588886015 (401605632 bytes)
	bootable: false
	partition ID: 0x5
	content: extended partition
	label: (none)
0 logical volumes found
calculate surplus: outsize=68719476736 required=8586789888 overhead=2326528 surplus=60130360320
libguestfs: trace: canonical_device_name "/dev/sda1"
libguestfs: trace: canonical_device_name = "/dev/sda1"
surplus before --expand or --shrink: 60130360320
calculate surplus: outsize=68719476736 required=68717150208 overhead=2326528 surplus=0
**********

Summary of changes:

/dev/sda1: This partition will be resized from 7,6G to 63,6G.  The 
    filesystem ext4 on /dev/sda1 will be expanded using the 'resize2fs' 
    method.
    
    /dev/sda2: This partition will be left alone.
    
    **********
Setting up initial partition table on /data_1T/wim_1T//tmp/outdisk ...
libguestfs: trace: part_init "/dev/sdb" "msdos"
guestfsd: main_loop: new request, len 0x40
udevadm --debug settle
calling: settle
parted -s -- /dev/sdb mklabel msdos
udevadm --debug settle
calling: settle
[    3.764122]  sdb:
libguestfs: trace: part_init = 0
libguestfs: trace: pread_device "/dev/sda" 446 0
guestfsd: main_loop: proc 208 (part_init) took 0.15 seconds
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 276 (pread_device) took 0.00 seconds
libguestfs: trace: pread_device = "\xebc\x90\x10\x8e\xd0\xbc\x00\xb0\xb8\x00\x00\x8e\xd8\x8e\xc0\xfb\xbe\x00|\xbf\x00\x06\xb9\x00\x02\xf3\xa4\xea!\x06\x00\x00\xbe\xbe\x078\x04u\x0b\x83\xc6\x10\x81\xfe\xfe\x07u\xf3\xeb\x16\xb4\x02\xb0\x01\xbb\x00|\xb2\x80\x8at\x01\x8bL\x02\xcd\x13\xea\x00|\x00\x00\xeb\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\x00\x00\x00\x00\x00\x00\x00\xff\xfa\x90\x90\xf6\xc2\x80t\x05\xf6\xc2pt\x02\xb2\x80\xeay|\x00\x001\xc0\x8e\xd8\x8e\xd0\xbc\x00 \xfb\xa0d|<\xfft\x02\x88\xc2R\xbb\x17\x04\xf6\x07\x03t\x06\xbe\x88}\xe8\x17\x01\xbe\x05|\xb4A\xbb\xaaU\xcd\x13ZRr=\x81\xfbU\xaau7\x83\xe1\x01t21\xc0\x89D\x04@\x88D\xff\x89D\x02\xc7\x04\x10\x00f\x8b\x1e\|f\x89\\x08f\x8b\x1e`|f\x89\\x0c\xc7D\x06\x00p\xb4B\xcd\x13r\x05\xbb\x00p\xebv\xb4\x08\xcd\x13s\x0dZ\x84\xd2\x0f\x83\xd0\x00\xbe\x93}\xe9\x82\x00f\x0f\xb6\xc6\x88d\xff"<afgekort, originele grootte 446 bytes>
libguestfs: trace: pwrite_device "/dev/sdb" "\xebc\x90\x10\x8e\xd0\xbc\x00\xb0\xb8\x00\x00\x8e\xd8\x8e\xc0\xfb\xbe\x00|\xbf\x00\x06\xb9\x00\x02\xf3\xa4\xea!\x06\x00\x00\xbe\xbe\x078\x04u\x0b\x83\xc6\x10\x81\xfe\xfe\x07u\xf3\xeb\x16\xb4\x02\xb0\x01\xbb\x00|\xb2\x80\x8at\x01\x8bL\x02\xcd\x13\xea\x00|\x00\x00\xeb\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\x00\x00\x00\x00\x00\x00\x00\xff\xfa\x90\x90\xf6\xc2\x80t\x05\xf6\xc2pt\x02\xb2\x80\xeay|\x00\x001\xc0\x8e\xd8\x8e\xd0\xbc\x00 \xfb\xa0d|<\xfft\x02\x88\xc2R\xbb\x17\x04\xf6\x07\x03t\x06\xbe\x88}\xe8\x17\x01\xbe\x05|\xb4A\xbb\xaaU\xcd\x13ZRr=\x81\xfbU\xaau7\x83\xe1\x01t21\xc0\x89D\x04@\x88D\xff\x89D\x02\xc7\x04\x10\x00f\x8b\x1e\|f\x89\\x08f\x8b\x1e`|f\x89\\x0c\xc7D\x06\x00p\xb4B\xcd\x13r\x05\xbb\x00p\xebv\xb4\x08\xcd\x13s\x0dZ\x84\xd2\x0f\x83\xd0\x00\xbe\x93}\xe9\x82\x00f\x0f\xb6\xc6\x88d\xff"<afgekort, originele grootte 446 bytes> 0
guestfsd: main_loop: new request, len 0x200
[    3.777048]  sdb:
udevadm --debug settle
calling: settle
libguestfs: trace: pwrite_device = 446
libguestfs: trace: pread_device "/dev/sda" 2097152 512
guestfsd: main_loop: proc 275 (pwrite_device) took 0.01 seconds
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 276 (pread_device) took 0.00 seconds
libguestfs: trace: pread_device = "R\xe8(\x01t\x08V\xbe3\x81\xe8L\x01^\xbf\xf4\x81f\x8b-\x83}\x08\x00\x0f\x84\xe9\x00\x80|\xff\x00tFf\x8b\x1df\x8bM\x04f1\xc0\xb0\x7f9E\x08\x7f\x03\x8bE\x08)E\x08f\x01\x05f\x83U\x04\x00\xc7\x04\x10\x00\x89D\x02f\x89\\x08f\x89L\x0c\xc7D\x06\x00pP\xc7D\x04\x00\x00\xb4B\xcd\x13\x0f\x82\xbb\x00\xbb\x00p\xebhf\x8bE\x04f\x09\xc0\x0f\x85\xa3\x00f\x8b\x05f1\xd2f\xf74\x88T\x0af1\xd2f\xf7t\x04\x88T\x0b\x89D\x0c;D\x08\x0f\x8d\x83\x00\x8b\x04*D\x0a9E\x08\x7f\x03\x8bE\x08)E\x08f\x01\x05f\x83U\x04\x00\x8aT\x0d\xc0\xe2\x06\x8aL\x0a\xfe\xc1\x08\xd1\x8al\x0cZR\x8at\x0bP\xbb\x00p\x8e\xc31\xdb\xb4\x02\xcd\x13rP\x8c\xc3\x8eE\x0aX\xc1\xe0\x05\x01E\x0a`\x1e\xc1\xe0\x03\x89\xc11\xff1\xf6\x8e\xdb\xfc\xf3\xa5\x1f\xe8>\x00t\x06\xbe;\x81\xe8c\x00a\x83}\x08\x00\x0f\x85\x1d\xff\x83"<afgekort, originele grootte 2097152 bytes>
libguestfs: trace: pwrite_device "/dev/sdb" "R\xe8(\x01t\x08V\xbe3\x81\xe8L\x01^\xbf\xf4\x81f\x8b-\x83}\x08\x00\x0f\x84\xe9\x00\x80|\xff\x00tFf\x8b\x1df\x8bM\x04f1\xc0\xb0\x7f9E\x08\x7f\x03\x8bE\x08)E\x08f\x01\x05f\x83U\x04\x00\xc7\x04\x10\x00\x89D\x02f\x89\\x08f\x89L\x0c\xc7D\x06\x00pP\xc7D\x04\x00\x00\xb4B\xcd\x13\x0f\x82\xbb\x00\xbb\x00p\xebhf\x8bE\x04f\x09\xc0\x0f\x85\xa3\x00f\x8b\x05f1\xd2f\xf74\x88T\x0af1\xd2f\xf7t\x04\x88T\x0b\x89D\x0c;D\x08\x0f\x8d\x83\x00\x8b\x04*D\x0a9E\x08\x7f\x03\x8bE\x08)E\x08f\x01\x05f\x83U\x04\x00\x8aT\x0d\xc0\xe2\x06\x8aL\x0a\xfe\xc1\x08\xd1\x8al\x0cZR\x8at\x0bP\xbb\x00p\x8e\xc31\xdb\xb4\x02\xcd\x13rP\x8c\xc3\x8eE\x0aX\xc1\xe0\x05\x01E\x0a`\x1e\xc1\xe0\x03\x89\xc11\xff1\xf6\x8e\xdb\xfc\xf3\xa5\x1f\xe8>\x00t\x06\xbe;\x81\xe8c\x00a\x83}\x08\x00\x0f\x85\x1d\xff\x83"<afgekort, originele grootte 2097152 bytes> 512
guestfsd: main_loop: new request, len 0x200040
[    3.806857]  sdb:
udevadm --debug settle
calling: settle
libguestfs: trace: pwrite_device = 2097152
align_first_partition_and_fix_bootloader = false
target partition 1: resize: newsize=68315544576 start=2048 end=133430911
target partition 2: ignore or copy: start=133430912 end=134215297
libguestfs: trace: part_add "/dev/sdb" "primary" 2048 133430911
guestfsd: main_loop: proc 275 (pwrite_device) took 0.01 seconds
guestfsd: main_loop: new request, len 0x50
udevadm --debug settle
calling: settle
parted -s -- /dev/sdb mkpart primary 2048s 133430911s
[    3.821709]  sdb:
udevadm --debug settle
[    3.833819]  sdb: sdb1
calling: settle
libguestfs: trace: part_add = 0
libguestfs: trace: part_add "/dev/sdb" "extended" 133430912 134215297
guestfsd: main_loop: proc 209 (part_add) took 0.02 seconds
guestfsd: main_loop: new request, len 0x50
udevadm --debug settle
calling: settle
parted -s -- /dev/sdb mkpart extended 133430912s 134215297s
Warning: The resulting partition is not properly aligned for best performance.
udevadm --debug settle
calling: settle
[    3.872291]  sdb: sdb1 sdb2 < >
libguestfs: trace: part_add = 0
Copying /dev/sda1 ...
libguestfs: trace: copy_device_to_device "/dev/sda1" "/dev/sdb1" "size:8185184256" "sparse:true"
guestfsd: main_loop: proc 209 (part_add) took 0.04 seconds
guestfsd: main_loop: new request, len 0x64
 100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00
libguestfs: trace: copy_device_to_device = 0
Copying /dev/sda2 ...
libguestfs: trace: copy_device_to_device "/dev/sda" "/dev/sdb2" "srcoffset:8187280384" "size:401605632"
guestfsd: main_loop: proc 294 (copy_device_to_device) took 57.42 seconds
guestfsd: main_loop: new request, len 0x60
write: No space left on device
guestfsd: error: /dev/sdb2: write: No space left on device
libguestfs: trace: copy_device_to_device = -1 (error)
virt-resize: error: libguestfs error: copy_device_to_device: /dev/sdb2: 
write: No space left on device

If reporting bugs, run virt-resize with debugging enabled and include the 
complete output:

  virt-resize -v -x [...]
libguestfs: trace: close
libguestfs: closing guestfs handle 0x9f5020 (state 2)
libguestfs: trace: internal_autosync
guestfsd: main_loop: proc 294 (copy_device_to_device) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
umount-all: /proc/mounts: fsname=rootfs dir=/ type=rootfs opts=rw freq=0 passno=0
umount-all: /proc/mounts: fsname=proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=98784k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=243868k,nr_inodes=60967,mode=755 freq=0 passno=0
fsync /dev/sda
fsync /dev/sdb
guestfsd: main_loop: proc 282 (internal_autosync) took 0.00 seconds
libguestfs: trace: internal_autosync = 0
libguestfs: sending SIGTERM to process 31358
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsBWaNcF
"


-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=nl_BE.utf8, LC_CTYPE=nl_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libguestfs-tools depends on:
ii  libatk1.0-0                2.14.0-1
ii  libc6                      2.19-18+deb8u2
ii  libcairo2                  1.14.0-2.1
ii  libconfig9                 1.4.9-2
ii  libfontconfig1             2.11.0-6.3
ii  libfreetype6               2.5.2-3+deb8u1
ii  libfuse2                   2.9.3-15+deb8u2
ii  libgdk-pixbuf2.0-0         2.31.1-2+deb8u4
ii  libglib2.0-0               2.42.1-1
ii  libgtk2.0-0                2.24.25-3
ii  libguestfs-perl            1:1.28.1-1
ii  libguestfs0                1:1.28.1-1
ii  libintl-perl               1.23-1
ii  liblzma5                   5.1.1alpha+20120614-2+b3
ii  libncurses5                5.9+20140913-1+b1
ii  libpango-1.0-0             1.36.8-3
ii  libpangocairo-1.0-0        1.36.8-3
ii  libpangoft2-1.0-0          1.36.8-3
ii  libpcre3                   2:8.35-3.3+deb8u2
ii  libreadline6               6.3-8+b3
ii  libstring-shellquote-perl  1.03-1
ii  libsys-virt-perl           1.2.9-2
ii  libtinfo5                  5.9+20140913-1+b1
ii  libvirt0                   1.2.9-9+deb8u1
ii  libwin-hivex-perl          1.3.10-2+deb8u1
ii  libxml2                    2.9.1+dfsg1-5+deb8u1

libguestfs-tools recommends no packages.

libguestfs-tools suggests no packages.

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list