Hello all,
I am having an issue with guestmount in respect to live instances
and I was hoping someone might have an idea where I've gone wrong. The
following output is from my shell session, if there's any more
information needed please let me know and I'll happily provide it.
[root@longitude ~]# virt-filesystems -d F16-rawhide/dev/sda2
/dev/sda3
[root@longitude ~]# guestmount --live -d F16-rawhide -m /dev/sda3:/
/mnt/guestfs/
libguestfs: error: mount_options: /dev/vda3 on /: mount: /dev/vda3
already mounted or / busy
mount: according to mtab, /dev/vda3 is already mounted on /
libguestfs: error: part_to_dev: part_to_dev_stub: /dev/vda3: device not
found
libguestfs: error: check_for_daemon_cancellation_or_eof: read 0x34 from
daemon, expected 0xffffeeee
guestmount: '/dev/sda3' could not be mounted. Did you mean one of
these?
/dev/vda1 (unknown)
/dev/vda2 (unknown)
/dev/vda3 (unknown)
/dev/vda4 (unknown)
libguestfs: error: check_for_daemon_cancellation_or_eof: read 0x0 from
daemon, expected 0xffffeeee
[root@longitude ~]# guestmount --live -d F16-rawhide -m /dev/vda3:/
/mnt/guestfs/
libguestfs: error: mount_options: mount_options_stub: /dev/vda3: device
not found
libguestfs: error: unexpected procedure number (74/7)
libguestfs: error: unexpected procedure number (7/282)
[root@longitude ~]# guestmount --live -d F16-rawhide -m /dev/vda3:/ -v
/mnt/guestfs/
libguestfs: [00000ms] connecting to
/var/lib/libvirt/qemu/F16-rawhide.libguestfs
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00
00 01 1a | 00 00 00 01 | 00 12 34 02 | ...
libguestfs: error: guestfs_launch failed, unexpected initial message
from guestfsd
libguestfs: closing guestfs handle 0x1191760 (state 1)
libguestfs: sending SIGTERM to process 0
[root@longitude ~]# guestmount --live -d F16-rawhide -m /dev/vda3:/ -v
-x /mnt/guestfs/
libguestfs: trace: set_recovery_proc true
libguestfs: trace: set_recovery_proc = 0
libguestfs: trace: add_domain "F16-rawhide" "live:true"
libguestfs: trace: set_attach_method
"unix:/var/lib/libvirt/qemu/F16-rawhide.libguestfs"
libguestfs: trace: set_attach_method = 0
libguestfs: trace: add_domain = 0
libguestfs: trace: launch
libguestfs: [00000ms] connecting to
/var/lib/libvirt/qemu/F16-rawhide.libguestfs
libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
libguestfs: [00000ms] connected
libguestfs: trace: launch = 0
libguestfs: trace: mount_options "" "/dev/vda3" "/"
libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00
00 04 | 00 00 00 4a | 00 00 00 00 | ...
libguestfs: recv_from_daemon: 96 bytes: 20 00 f5 f5 | 00 00 00 04 | 00
00 00 4a | 00 00 00 01 | 00 12 34 00 | ...
libguestfs: trace: mount_options = -1 (error)
libguestfs: error: mount_options: mount_options_stub: /dev/vda3: device
not found
libguestfs: trace: list_filesystems
libguestfs: trace: list_devices
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00
00 04 | 00 00 00 07 | 00 00 00 00 | ...
libguestfs: recv_from_daemon: 168 bytes: 20 00 f5 f5 | 00 00 00 04 | 00
00 00 4a | 00 00 00 01 | 00 12 34 00 | ...
libguestfs: error: unexpected procedure number (74/7)
libguestfs: trace: list_devices = NULL (error)
libguestfs: trace: list_filesystems = NULL (error)
libguestfs: closing guestfs handle 0x6e8760 (state 2)
libguestfs: trace: internal_autosync
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00
00 04 | 00 00 01 1a | 00 00 00 00 | ...
libguestfs: recv_from_daemon: 56 bytes: 20 00 f5 f5 | 00 00 00 04 | 00
00 00 07 | 00 00 00 01 | 00 12 34 01 | ...
libguestfs: error: unexpected procedure number (7/282)
libguestfs: trace: internal_autosync = -1 (error)
libguestfs: trace: kill_subprocess
libguestfs: sending SIGTERM to process 0
libguestfs: trace: kill_subprocess = 0
[root@longitude ~]# guestfish --live -d F16-rawhide
Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.
Type: 'help' for help on commands
'man' to read the manual
'quit' to quit the shell
<fs> run
<fs> ls /
bin
boot
dev
etc
home
lib
lib64
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
<fs>
Many thanks!
-AdamM