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

Re: [Libguestfs] CoreOS support



The options -x -v gave me an error that no such option so I ruined it with —debug option.

root ny2proxd03:/var/lib/vz/images/100# virt-resize --expand /dev/sda3 vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized --debug
command line: virt-resize --expand /dev/sda3 vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized --debug
Examining vm-100-disk-1.qcow2 ...
libguestfs: trace: add_drive "vm-100-disk-1.qcow2" "readonly:true"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive "vm-100-disk-1.qcow2.resized" "readonly:false"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
 100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ --:--
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 = -1 (error)
libguestfs: trace: blockdev_getss "/dev/sdb"
libguestfs: trace: blockdev_getss = 512
libguestfs: trace: blockdev_getsize64 "/dev/sda"
libguestfs: trace: blockdev_getsize64 = 10737418240
libguestfs: trace: blockdev_getsize64 "/dev/sdb"
libguestfs: trace: blockdev_getsize64 = 10737418240
libguestfs: trace: part_get_parttype "/dev/sda"
libguestfs: trace: part_get_parttype = "gpt"
vm-100-disk-1.qcow2 size 10737418240 bytes
vm-100-disk-1.qcow2.resized size 10737418240 bytes
partition table type: gpt
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 = -1 (error)
libguestfs: trace: vfs_type "/dev/sda1"
libguestfs: trace: vfs_type = "vfat"
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" 3
libguestfs: trace: part_get_bootable = 0
libguestfs: trace: part_get_mbr_id "/dev/sda" 3
libguestfs: trace: part_get_mbr_id = -1 (error)
libguestfs: trace: vfs_type "/dev/sda3"
libguestfs: trace: vfs_type = "ext4"
libguestfs: trace: mount_ro "/dev/sda3" "/"
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 = -1 (error)
libguestfs: trace: vfs_type "/dev/sda2"
libguestfs: trace: vfs_type = ""
libguestfs: trace: mount_ro "/dev/sda2" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: part_get_bootable "/dev/sda" 4
libguestfs: trace: part_get_bootable = 0
libguestfs: trace: part_get_mbr_id "/dev/sda" 4
libguestfs: trace: part_get_mbr_id = -1 (error)
libguestfs: trace: vfs_type "/dev/sda4"
libguestfs: trace: vfs_type = ""
libguestfs: trace: mount_ro "/dev/sda4" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: part_get_bootable "/dev/sda" 7
libguestfs: trace: part_get_bootable = 0
libguestfs: trace: part_get_mbr_id "/dev/sda" 7
libguestfs: trace: part_get_mbr_id = -1 (error)
libguestfs: trace: vfs_type "/dev/sda7"
libguestfs: trace: vfs_type = ""
libguestfs: trace: mount_ro "/dev/sda7" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: part_get_bootable "/dev/sda" 6
libguestfs: trace: part_get_bootable = 0
libguestfs: trace: part_get_mbr_id "/dev/sda" 6
libguestfs: trace: part_get_mbr_id = -1 (error)
libguestfs: trace: vfs_type "/dev/sda6"
libguestfs: trace: vfs_type = "ext4"
libguestfs: trace: mount_ro "/dev/sda6" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: statvfs "/"
libguestfs: trace: statvfs = <struct guestfs_statvfs *>
libguestfs: trace: part_get_bootable "/dev/sda" 9
libguestfs: trace: part_get_bootable = 0
libguestfs: trace: part_get_mbr_id "/dev/sda" 9
libguestfs: trace: part_get_mbr_id = -1 (error)
libguestfs: trace: vfs_type "/dev/sda9"
libguestfs: trace: vfs_type = "btrfs"
libguestfs: trace: mount_ro "/dev/sda9" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: lvs
libguestfs: trace: lvs = NULL (error)
7 partitions found
/dev/sda1:
partition data: 1 1048576-135266303 (134217728 bytes)
bootable: true
partition ID: (none)
content: filesystem vfat (133937152 bytes)
/dev/sda3:
partition data: 3 135266304-1209008127 (1073741824 bytes)
bootable: false
partition ID: (none)
content: filesystem ext4 (1056858112 bytes)
/dev/sda2:
partition data: 2 1209008128-1276116991 (67108864 bytes)
bootable: false
partition ID: (none)
content: unknown data
/dev/sda4:
partition data: 4 1276116992-2349858815 (1073741824 bytes)
bootable: false
partition ID: (none)
content: unknown data
/dev/sda7:
partition data: 7 2349858816-2416967679 (67108864 bytes)
bootable: false
partition ID: (none)
content: unknown data
/dev/sda6:
partition data: 6 2416967680-2551185407 (134217728 bytes)
bootable: false
partition ID: (none)
content: filesystem ext4 (130007040 bytes)
/dev/sda9:
partition data: 9 2551185408-10737401343 (8186215936 bytes)
bootable: false
partition ID: (none)
content: unknown data
Fatal error: exception Guestfs.Error("lvs: call launch before using this function\n(in guestfish, don't forget to use the 'run' command)")
libguestfs: trace: close

On Sep 9, 2014, at 8:03 PM, Richard W.M. Jones <rjones redhat com> wrote:

the complete, unedited output.


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