Your message dated Sun, 09 Nov 2025 16:30:12 +0100 with message-id <[email protected]> and subject line closing has caused the Debian Bug report #783038, regarding libguestfs-tools: virt-filesystems output is incorrect to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 783038: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783038 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libguestfs-tools Version: 1:1.18.1-1+deb7u3 Severity: important -- System Information: Debian Release: 7.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libguestfs-tools depends on: ii libc6 2.13-38+deb7u8 ii libconfig9 1.4.8-5 ii libguestfs-perl 1:1.18.1-1+deb7u3 ii libguestfs0 1:1.18.1-1+deb7u3 ii libintl-perl 1.20-1 ii libncurses5 5.9-10 ii libstring-shellquote-perl 1.03-1 ii libsys-virt-perl 0.9.12-2 ii libtinfo5 5.9-10 ii libvirt0 0.9.12.3-1+deb7u1 ii libwin-hivex-perl 1.3.6-2 ii libxml2 2.8.0+dfsg1-7+wheezy4 libguestfs-tools recommends no packages. libguestfs-tools suggests no packages. -- no debconf information Description of problem: virt-filesystems outputs a non-existing device: # virt-filesystems --partitions --long -a /usr/kvm/keys.qcow Name Type MBR Size Parent /dev/sda1 partition 83 254803968 /dev/sda /dev/sda2 partition 05 1024 /dev/sda /dev/sda5 partition 8e 1889533952 /dev/sda Notice above it outputs /dev/sda5 However when I try to resize it, virt-resize says that /dev/sda5 does not exist. It finds only these two partitions: 2 partitions found /dev/sda1: [..] /dev/sda2: [..] Here is the full output when trying to resize: # virt-resize -d --expand /dev/sda5 --LV-expand /dev/keys/var /usr/kvm/keys.qcow /var/keysnew.qcow2 command line: virt-resize -d --expand /dev/sda5 --LV-expand /dev/keys/var /usr/kvm/keys.qcow /var/keysnew.qcow2 Examining /usr/kvm/keys.qcow ... libguestfs: trace: add_drive_opts "/usr/kvm/keys.qcow" "readonly:true" libguestfs: trace: add_drive_opts = 0 libguestfs: trace: add_drive_opts "/var/keysnew.qcow2" "readonly:false" libguestfs: trace: add_drive_opts = 0 libguestfs: trace: launch libguestfs: trace: launch = 0 libguestfs: trace: lvm_set_filter "/dev/sda" libguestfs: trace: lvm_set_filter = 0 libguestfs: trace: available "ntfsprogs ntfs3g" libguestfs: trace: available = 0 libguestfs: trace: available "btrfs" libguestfs: trace: available = 0 libguestfs: trace: blockdev_getss "/dev/sdb" libguestfs: trace: blockdev_getss = 512 libguestfs: trace: blockdev_getsize64 "/dev/sda" libguestfs: trace: blockdev_getsize64 = 2304770048 libguestfs: trace: blockdev_getsize64 "/dev/sdb" libguestfs: trace: blockdev_getsize64 = 2576979968 libguestfs: trace: part_get_parttype "/dev/sda" libguestfs: trace: part_get_parttype = "msdos" /usr/kvm/keys.qcow size 2304770048 bytes /var/keysnew.qcow2 size 2576979968 bytes partition table type: msdos libguestfs: trace: pvs_full libguestfs: trace: pvs_full = <struct guestfs_lvm_pv_list *> libguestfs: trace: part_list "/dev/sda" libguestfs: trace: part_list = <struct guestfs_partition_list *> libguestfs: trace: part_get_bootable "/dev/sda" 1 libguestfs: trace: part_get_bootable = 1 libguestfs: trace: part_get_mbr_id "/dev/sda" 1 libguestfs: trace: part_get_mbr_id = 131 libguestfs: trace: vfs_type "/dev/sda1" libguestfs: trace: vfs_type = "ext2" libguestfs: trace: mount_ro "/dev/sda1" "/" libguestfs: trace: mount_ro = 0 libguestfs: trace: statvfs "/" libguestfs: trace: statvfs = <struct guestfs_statvfs *> libguestfs: trace: part_get_bootable "/dev/sda" 2 libguestfs: trace: part_get_bootable = 0 libguestfs: trace: part_get_mbr_id "/dev/sda" 2 libguestfs: trace: part_get_mbr_id = 5 libguestfs: trace: lvs libguestfs: trace: lvs = ["/dev/keys/home", "/dev/keys/root", "/dev/keys/swap_1", "/dev/keys/tmp", "/dev/keys/usr", "/dev/keys/var"] libguestfs: trace: vfs_type "/dev/keys/home" libguestfs: trace: vfs_type = "ext4" libguestfs: trace: mount_ro "/dev/keys/home" "/" libguestfs: trace: mount_ro = 0 libguestfs: trace: statvfs "/" libguestfs: trace: statvfs = <struct guestfs_statvfs *> libguestfs: trace: vfs_type "/dev/keys/root" libguestfs: trace: vfs_type = "ext4" libguestfs: trace: mount_ro "/dev/keys/root" "/" libguestfs: trace: mount_ro = 0 libguestfs: trace: statvfs "/" libguestfs: trace: statvfs = <struct guestfs_statvfs *> libguestfs: trace: vfs_type "/dev/keys/swap_1" libguestfs: trace: vfs_type = "swap" libguestfs: trace: mount_ro "/dev/keys/swap_1" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/keys/tmp" libguestfs: trace: vfs_type = "ext4" libguestfs: trace: mount_ro "/dev/keys/tmp" "/" libguestfs: trace: mount_ro = 0 libguestfs: trace: statvfs "/" libguestfs: trace: statvfs = <struct guestfs_statvfs *> libguestfs: trace: vfs_type "/dev/keys/usr" libguestfs: trace: vfs_type = "ext4" libguestfs: trace: mount_ro "/dev/keys/usr" "/" libguestfs: trace: mount_ro = 0 libguestfs: trace: statvfs "/" libguestfs: trace: statvfs = <struct guestfs_statvfs *> libguestfs: trace: vfs_type "/dev/keys/var" libguestfs: trace: vfs_type = "ext4" libguestfs: trace: mount_ro "/dev/keys/var" "/" libguestfs: trace: mount_ro = 0 libguestfs: trace: statvfs "/" libguestfs: trace: statvfs = <struct guestfs_statvfs *> 2 partitions found /dev/sda1: partition data: 1 1048576-255852543 (254803968 bytes) bootable: true partition ID: 0x83 content: filesystem ext2 (238787584 bytes) /dev/sda2: partition data: 2 256900096-2146435071 (1889534976 bytes) bootable: false partition ID: 0x5 content: extended partition 6 logical volumes found /dev/keys/home: content: filesystem ext4 (40614912 bytes) /dev/keys/root: content: filesystem ext4 (312752128 bytes) /dev/keys/swap_1: content: unknown data /dev/keys/tmp: content: filesystem ext4 (203916288 bytes) /dev/keys/usr: content: filesystem ext4 (829374464 bytes) /dev/keys/var: content: filesystem ext4 (345218048 bytes) surplus before --expand or --shrink: 430314496 virt-resize: error: /dev/sda5: partition not found in the source disk image (this error came from '--expand' option on the command line). Try running this command: virt-filesystems --partitions --long -a /usr/kvm/keys.qcow If reporting bugs, run virt-resize with the '-d' option and include the complete output. libguestfs: trace: close libguestfs: trace: internal_autosync libguestfs: trace: internal_autosync = 0 libguestfs: trace: kill_subprocess libguestfs: trace: kill_subprocess = 0
--- End Message ---
--- Begin Message ---X-CrossAssassin-Score: 64023
--- End Message ---

