Displaying 20 results from an estimated 10000 matches similar to: "copy file from host to live guest (speed)"
2012 Mar 08
2
mounting using guestfish
[Please remember to post all questions on the mailing list]
On Thu, Mar 08, 2012 at 09:41:19PM +0700, Tho Huynh wrote:
> Can I mount the guest's file system into a folder/path (mountpoint)
> in the host machine using guestfish?
No, but you don't need to.
> And accessing that folder equal to accessing the guest's file
> system. What I'm trying to do is to copy a file
2017 Jul 28
1
Re: performance between guestfish and qemu-nbd
2017-07-28 0:31 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> On Fri, Jul 28, 2017 at 12:23:04AM +0800, lampahome wrote:
> > 2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> >
> > > On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote:
> > > > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd
> >
2015 Nov 06
2
Hierarchical local mount
Hello everyone!
I have to implement the functionality of mounting all VM disks/partitions.
E.g. if a VM has 2 disks of 2 partitions each (I get it from
virt-filesystems), I want to get the following structure on host node
after mount:
mnt/
------hdd0/
-------------volume1/
-------------volume2/
------hdd1/
-------------volume1/
-------------volume2/
I'd like to use guestmount due to
2015 Feb 16
2
Mounting disk images with ext2 filesystems on RHEL7
Hope someone can point me in the right direction. I don't know if what I
am trying to do should work or not.
I have 2 disk images. One is a VM with an ext2 boot filesystem and ext4
filesystems with the OS loaded. I am amble to guestmount this with no
issue and am able to see the files that are on the ext2 file system.
I can also run guestfish on the image, mount the ext2 filesystem, and
2017 Mar 29
2
libguestfs-xfs for CentOS 6
<div>Dear all,</div><div> </div><div>Does anybody know if the package libguestfs-xfs exists for CentOS 6? I faced the problem when tried to change passwd for XFS virtual machine based on ext4 CentOS 6 parent server:</div><div> </div><div><div>guestmount -a /dev/lvm/xfs.test -i /tmp/cp_mount/xfs.test</div><div>guestmount: no
2010 Sep 02
2
[PATCH] Allow manual pages and POD files to be translated.
You need to install po4a (in Fedora) to test this.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
-------------- next part --------------
>From 7ca0058ecf24b6963771d0c39fd5e2f36874eb38
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 ~]#
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 Mar 25
3
trouble compiling libguestfs 1.17.21
I downloaded the libguestfs-1.17.21.tar.gz? tarball from www.libguestfs.org
I tried to compile the package but I got this error in "make" step:
virt_df-domains.o: In function `add_domain':
/home/feeliwood/Downloads/libguestfs-1.17.21/df/domains.c:274: undefined reference to `guestfs___for_each_disk'
collect2: ld returned 1 exit status
make[2]: *** [virt-df] Error 1
make[2]:
2016 Feb 26
1
Displaying mountables in the error output of guestfish etc
Cédric pointed out this problem we have:
$ guestmount -a /var/lib/libvirt/images/sles12sp1-pv.img -m '/dev/sda1:/:subvol=.snapshots/2/snapshot:btrfs' /mnt
libguestfs: error: mount_vfs: /dev/sda1 on / (options: 'subvol=.snapshots/2/snapshot'): mount: mount(2) failed: No such file or directory
guestmount: '/dev/sda1' could not be mounted.
guestmount: Check mount(8) man page
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
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
2009 Nov 09
1
[PATCH libguestfs] fix doc typo
barely worth mentioning...
>From 459fa00dd144aef2c7287eb99354c9b39eaa62c3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Mon, 9 Nov 2009 15:09:35 +0100
Subject: [PATCH libguestfs] fix doc typo
* fuse/guestmount.pod: Avoid "the the".
---
fuse/guestmount.pod | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fuse/guestmount.pod
2010 Nov 08
1
[PATCH] fish: Add --rw option (does nothing yet).
This patch is meant for discussion of the issues involved.
I'd like to change the default for guestfish -a / -m command line
options to open read-only. This creates less opportunity to corrupt
disk images by opening them for write while another VM might be using
them.
With this patch you can specify:
guestfish --rw ...
which in itself does nothing since the default is currently
2015 Feb 17
4
Re: Mounting disk images with ext2 filesystems on RHEL7
On Mon, Feb 16, 2015 at 6:10 PM, Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Mon, Feb 16, 2015 at 06:00:06PM -0500, Leonard Basuino wrote:
> > Hope someone can point me in the right direction. I don't know if what I
> > am trying to do should work or not.
> >
> > I have 2 disk images. One is a VM with an ext2 boot filesystem and ext4
> >
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:
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
2013 May 09
1
PATCH: Allow specifying the filesystem driver for guestmount
Currently guestfish has mount-vfs, and the libguestfs API has
guestfs_mount_vfs(), but guestmount doesn't allow the user to specify
a filesystem. This patch extends the --mount argument, so you can
force an ext2 partition to mount as ext4:
guestmount -a mydisk.img -m /dev/vda:/:defaults:ext4 mountpoint
You could also use it to choose between ntfs and ntfs-3g, or between
hfsplus and the
2017 Jul 27
2
Re: performance between guestfish and qemu-nbd
2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote:
> > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd
> >
> > I'm curious about which performance is better?
>
> They do quite different things, they're not comparable.
>
> Can you specifically give the
2014 Oct 31
3
[PATCH] Fix, simplify out-of-tree build/install for bash completions
---
bash/Makefile.am | 54 +++++++++++++++---------------------------------------
1 file changed, 15 insertions(+), 39 deletions(-)
diff --git a/bash/Makefile.am b/bash/Makefile.am
index 10f0861..780da64 100644
--- a/bash/Makefile.am
+++ b/bash/Makefile.am
@@ -21,6 +21,10 @@ scripts = \
guestfish \
guestmount \
virt-alignment-scan \
+ virt-rescue \
+ virt-resize
+
+symlinks = \