similar to: Possible to speed up guestmount?

Displaying 20 results from an estimated 3000 matches similar to: "Possible to speed up guestmount?"

2014 Feb 06
0
Re: Possible to speed up guestmount?
On Thu, Feb 06, 2014 at 02:53:05AM +0000, Patrick Schleizer wrote: > 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
2013 May 24
1
Failed to create /dev/loop0p* entries for partitions inside loopback devices
centos 6 failed to create entries under /dev for newly created loopback devices. Any one know why? and how to fix/workaround it? The steps to duplicate is pretty simple dd if=/dev/zero of=/tmp/deleteme bs=1M count=100 losetup /dev/loop0 /tmp/deleteme fdisk /dev/loop0?? ## created partitions 1, 2, etc. fdisk -l /dev/loop0? ## confirmed that the partitions do exist mkfs.ext3 /dev/loop0p1 ## failed
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 +++
2011 Mar 25
2
guestmount support for acls/xattrs
Hello, I have a vmdk having an LV with an ext3 FS where some files have extended attributes and acls set. These do not appear set while accessing them when mounted using guestmount. I do not know if it is easy or difficult to implement this, so I'd like to take your opinion. what I did was changed the default mount options in daemon/mount.c from "ro" to
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 Jul 09
4
[PATCH 0/4] Provide guestmount --pid-file and document possible race when unmounting FUSE filesystems.
The full description of this bug is here: https://bugzilla.redhat.com/show_bug.cgi?id=838592 and the effect it has on OpenStack is described here: https://bugzilla.redhat.com/show_bug.cgi?id=835466#c9 Rich.
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
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
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 Jul 31
2
Re: read/write performance through mount point by guestmount
On Mon, Jul 31, 2017 at 06:52:28PM +0800, lampahome wrote: > if I mount through guestfs library in python or guestfish, the same > condition happenes? > > I mean the insane number of layers and the performance No. The layers are only present because guestmount uses FUSE. libguestfs itself performs very well if you are careful to use it in the correct way. The architecture of
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
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
2011 May 17
1
Use of guestmount
23:43 < belegdol> I am trying to mount my windows guest using 23:43 < belegdol> guestmount -d windows -i --trace --ro /mnt/loop 23:43 < belegdol> but then I cannot access whatever is in /mnt/loop 23:43 < belegdol> I get access denied 23:43 < belegdol> or nautilus says unknown file type 23:44 < belegdol> http://fpaste.org/cIDV/ All I can tell from the paste is
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:
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
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
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
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 ~]#