similar to: Use of guestmount

Displaying 20 results from an estimated 4000 matches similar to: "Use of guestmount"

2009 Nov 13
1
guestmount symlink issues
I'm trying to use guestmount to install some kernel modules in a guest: [mbooth at mbooth linux-2.6 (amit)]$ make modules_install INSTALL_MOD_PATH=~/etch ln: creating symbolic link `/home/mbooth/etch/lib/modules/2.6.32-rc6/source': No such file or directory make: *** [_modinst_] Error 1 I think something's screwy with symlinks. In the following, /tmp/source is a symlink, and I
2010 Apr 20
1
libguestfs mounting solaris 10 ZFS guest
Not sure if this possible, but I have a KVM guest running Solaris 10 with the OS on ZFS and I am trying to use libguestfs/guestfish/guestmount to get to the VM. I am running Red Hat EL 5.4 with EPEL rpms as required. The VM is on a LV and it boots fine, but I can't seem to get the syntax correct to get libguestfs to deal with it. Guestmount seemed like the best option because it supports FUSE
2010 Dec 19
1
[ANNOUNCE] libguestfs 1.8.0 - tools for accessing and modifying VM disk images
We are pleased to announce the next stable release of libguestfs, tools and a library for accessing, creating and modifying the contents of virtual machines and disk images. Home page: http://libguestfs.org/ Binary packages for: Fedora: http://koji.fedoraproject.org/koji/packageinfo?packageID=8391 Debian: http://libguestfs.org/download/binaries/debian-packages/ Ubuntu:
2010 Apr 14
1
[PATCH] Fix build error in fuse/guestmount.c
guestmount.c: In function 'main': guestmount.c:899: error: implicit declaration of function 'setlocale' [-Wimplicit-function-declaration] guestmount.c wasn't including locale.h. --- fuse/guestmount.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fuse/guestmount.c b/fuse/guestmount.c index b4a917f..27a4cef 100644 --- a/fuse/guestmount.c +++
2019 Nov 25
2
RHEL 7 and guestmount of XFS volumes
Hi, I'm experiencing a weird behavior when tried to use guestmount with a XFS formatted volume. I have created a RHEL 8 virtual machine using libvirt. I have retrieved the disk image on a RHEL 7.7 server to mount the image root filesystem and explore it. The command returns an error message: # guestmount -a /disks/jamesdream.qcow2 -m /dev/sda1 /mnt/ libguestfs: error: mount_options: mount
2012 Apr 04
1
[PATCH] fuse: Add missing #include to guestmount.c
Fix compilation failure on F17 --- fuse/guestmount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fuse/guestmount.c b/fuse/guestmount.c index 7c5e0af..379346f 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -28,6 +28,7 @@ #include <unistd.h> #include <getopt.h> #include <signal.h> +#include <locale.h> /* We're still using some of FUSE to
2012 Jan 30
1
[PATCH] guestmount: use O_ACCMODE instead of hard coding
Change hard code 3 to O_ACCMODE. it'll be more sensible. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- fuse/guestmount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fuse/guestmount.c b/fuse/guestmount.c index bd7ba50..a9bf4e3 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -583,7 +583,7 @@ fg_open (const char *path, struct
2016 Oct 14
1
guestmount issue with change directory (cd)
Hello, I've got a strange behavior with guestmount: I've a root directory with mod/owner = drwx------ root root. I cannot change directory to it as a regular user (as normal), but I can list its content (not normally normal) and I can change directory to a subdirectory in it which is mod drwxr-xr-x. E.g: $ mkdir /tmp/mnt $ guestmount --ro -i -a test.qcow2 /tmp/mnt/ $ cd /tmp/mnt $ ls -ld
2014 Feb 06
3
Possible to speed up guestmount?
Hi, Apparently, guestmount -o allow_other -a "/path/to/raw_file" -m /dev/sda1 "/path/to/mountfolder" is much slower than kpartx -av "/path/to/raw_file" mount /dev/mapper/loop0p1 /path/to/mountfolder (Doing lots of read/write inside the image.) I thought guestmount "only" scripts the above. Seems I was wrong on that. I am currently using
2012 Apr 20
1
Cannot login after modification shadow file with guestmount
Hi. I have a VM with CentOs6.2 on KVM. I mount an image of the VM when it's not working with guestmount: root at diehard:~# guestmount -a named-centos.img -i tmp vi /etc/shadow insert comment line into the file (esc yy p 0 i # esc :wq!), save changes, unmount the image, turn on the VM, and I cannot login. I cannot login even if I recover the shadow file. root at diehard:~# guestmount
2019 Aug 01
1
guestmount mounts gets corrupted somehow? [iscsi lvm guestmount windows filesystem rsync]
Hello everybody, I been trying to debug a problem for a month now and can use some insights and advice. This is the setup, I got two linux ha storage node providing iscsi disk, the disks is mounted on two linux kvm host and one backup server. The iscsi disk has lvm on it, the logical volume groups are visible on all servers. On the backup server I have the following running: # guestmount
2011 Oct 08
2
guestmount issues with --live, but guestfish works just fine
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 at longitude ~]# virt-filesystems -d F16-rawhide/dev/sda2 /dev/sda3 [root at longitude ~]#
2017 Mar 20
2
Guestmount seems not to sync changes
Hi all, It seems guestmount always fails to flush changes to the mounted qcow2 snapshot. To reproduce this problem: 1. take an external snapshot for a qcow2 2. guestmount the snapshot 3. do some changes, for example: `echo 123 > /test; cat /test`, right now /test can be seen created and containing the right content 4. fusermount -u {mount-point} 5. virt-cat changed file, for the example
2017 Jan 10
2
ntfs-3g data deduplication support in guestmount for creating file based back-ups on visualization platform
Hello everybody, I am using libguestfs-tools version 1.28.1 in a bunch of bash scripts to make back-ups of the files on a visualisation platform. I been trying to get read access to ntfs volumes with data deduplication working. The ntfs-3g guys developed some support and I have this working when using the commands our back-up servers. However when using the guestmount tool the read suport
2018 Oct 23
1
How does guestmount actually work?
Is there any articles that explain in detail how actually guestmount works internally? My main question is how does guestfs deal with backing disk changes. So, I have a libvirt/qemu-kvm setup. Each vm has a lvm2 volume for a disk. For example, I want to mount one of these volumes and read some data. 1. I mount the volume using guestmount (guestmount --ro -d <libvirt domain> -m /dev/sda1
2009 Oct 30
2
[PATCH 0/2 v 2 FOR DISCUSSION ONLY] Add FUSE support
Second round of patches. These work so far that you can get directory listings and stuff like that ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://et.redhat.com/~rjones/libguestfs/ See what it can do:
2013 Mar 04
1
[PATCH] fuse: Add guestmount-cleanup program to handle unmounting (RHBZ#916780).
* PATCH FOR DISCUSSION ONLY - NOT TO BE APPLIED * Colin suggested something which seems eminently sensible: https://bugzilla.redhat.com/show_bug.cgi?id=916780 I've been through a couple of rounds of trying to implement this. I started with adding the option as suggested to the guestmount program, but it tended to make the guestmount program more complex. More importantly, adding the option
2017 Nov 06
1
minor usability issue: confusing error message with guestmount + fuse errors
Hello, Using older libguestfs 1.34.6-2 (from Ubuntu's standard package), I encountered this: libguestfs fails with an error, but the error code is "success": $ sudo guestmount -m /dev/sda1 --ro \ -o allow_others \ -a data.qcow2 \ /media/foo fuse: unknown option `allow_others' libguestfs: error: fuse_new:
2012 Jun 08
1
guestmount -i and xattrs
I tried to run chcon to set SELinux labels on a guestmounted dir and got: chcon: failed to change context of `authorized_keys' to `system_u:object_r:ssh_home_t:s0': Operation not supported I'm guessing that you need to pass 'seclabel' or 'user_xattr' or some such mount option to guestmount to support this. I notice you can pass such options through the -m option to
2016 Feb 23
2
Re: guestmount without fstab
[A question about whether it is possible to use guestmount on a guest which does not have /etc/fstab. I've no reproduced this because I'm CC-ing my reply to a public mailing list] It's definitely possible. I would suggest first using $ virt-filesystems -a disk.img --all --long -h to get an idea of what's inside your disk image, then you use a command such as: $ guestmount