similar to: Question about using guestfish --ro as a backup solution

Displaying 20 results from an estimated 10000 matches similar to: "Question about using guestfish --ro as a backup solution"

2013 Aug 18
2
missing mount cmd confuses guestfish
I think calling "sh" before "mount" should not confuse guestfish like that: # guestfish (1.20.4 on sles11sp3) 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> add-drive
2009 Aug 24
5
[0/5] guestfish: detect stdout-write failure
Nearly any program that writes to standard output can benefit from this sort of fix. Without it, running e.g., ./guestfish --version > /dev/full would exit successfully, even though it got ENOSPC when writing to the full device. That means regular output redirected to a file on a full partition may also fail to be written, and the error ignored. Before: $ guestfish --version >
2014 Jan 20
2
guestfish and luks-format
Is "luks-format" supposed to work with guestfish? Like guestfish <<EOF luks-format /dev/sda4 0 EOF Appearently it lacks an option to give the passphrase programmatically. Was this option skipped on purpose? Olaf
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
2013 May 14
1
guestfish runs w/ a nested guest
# Ref: http://libguestfs.org/guestfs-performance.1.html Run the below command: $ time guestfish -a /dev/null run NOTE: Discard the first few results, to get a hot cache. (Thanks Rich.) 1/ L0. with L1 running. ---------------------------------------------------------------------- $ for i in {1..10}; do time guestfish -a /dev/null run; done real 0m28.277s user 0m11.028s
2020 Apr 02
2
Can I use guestfish to benchmark qemu performance?
I come across this page libguestfs.org/guestfs-performance.1.html <http://libguestfs.org/guestfs-performance.1.html> This raises my interest. I am currently learning how to benchmark performance qemu. So here is my questions: 1. Can I use guestfish or any tools provided by libguestfs to benchmark qemu? How? (The command I use below is correct or what's the correct command to execute
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 > >
2012 Sep 13
1
guestfish(1) references non-existant tar_out/tar_in option
While creating my first guestfish script I noticed an inconsistency in the guestfish(1) man page. The option tgz-out references "tar_out", which does not exist, instead its called "tar-out". The same is true for tgz-in/tar_in. After a quick grep in the code its not clear to me how to resolve this issue. Olaf
2013 Aug 22
1
Re: missing mount cmd confuses guestfish
On Thu, Aug 22, 2013 at 02:40:27PM +0200, Olaf Hering wrote: > On Sun, Aug 18, Olaf Hering wrote: > > > > > I think calling "sh" before "mount" should not confuse guestfish like > > that: > > > > # guestfish (1.20.4 on sles11sp3) > > Doing the same, by accident, with 1.22.5 causes a crash: > > > # guestfish -r -v
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
This no going to work. AS I told you I need something under guestfish command list not from guestfs commands. Thanks, Chintan ________________________________ From: Nikolay Ivanets <stenavin@gmail.com> Sent: Friday, June 28, 2019 10:58 AM To: Chintan Patel Cc: Chintan Patel; libguestfs@redhat.com Subject: Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
guestfish --ro -a /path/to/disk run : mount /dev/your-blkdev / : download /etc/resolv.conf /path/on/host/dst.file -- +380979184774 Mykola Ivanets пт, 28 черв. 2019 о 21:29 Nikolay Ivanets <stenavin@gmail.com> пише: > > All API is exposed as gustfish commands > > -- > Mykola Ivanets > > пт, 28 черв. 2019, 21:28 користувач Chintan Patel
2015 Jul 29
1
restrict access to host from guestfish
Hi Richard, guestfish shell has an ability to execute commands on the host such as !mkdir local tgz-out /remote local/remote-data.tar.gz What is the best way to restrict access to host from guestfish ? For instance, - Allow readonly access to host.. i.e., !ls is allowed but dont allow !rm or !mkdir - commands such as tgz-out, or copy-out should be able to access just /tmp, but
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
2019 Jun 28
1
Re: Guestfish command - "copy-out" not working for symbolic links
Hi Nikolay, We use guestfish, so I preferred to use commands supported by guestfish. I tried as below but "realpath" is not working after I have the target path from symlink. --> Check if the path has a symlink. is-symlink path Ex. - is-symlink "/etc/resolv.conf" -> return true --> If it's true then get target link path readlink path ex. - readlink
2009 Sep 11
1
[PATCH] guestfish: Redirect stdout when executing remote commands
guestfish --listen necessarily redirects its stdout to /dev/null so as not to interfere with eval. The remote protocol doesn't contain any other provision for collecting stdout for the caller, so executing guestfish --remote will never generate any output. This patch fixes that by forwarding the caller's STDOUT to the listener over the unix socket connection. The listener redirects its
2011 Sep 01
3
guestfish zerofree on LVM ?
Hi- Is it safe to use the zerofree utility on an ext4 partition inside an LVM with guestfish? I know zerofree works on ext4, but I am unsure about LVM. The info page uses the syntax "zerofree <device>", so using the info page example, could I (safely) do something like the following? $ guestfish Welcome to guestfish, the libguestfs filesystem interactive shell for
2015 Nov 18
1
Re: [virt-tools-list] Paths with whitespace in guestfish
[I don't check this list for libguestfs questions, hence the late reply. There's a libguestfs mailing list: https://www.redhat.com/mailman/listinfo/libguestfs ] On Mon, Oct 12, 2015 at 08:06:03PM -0500, Robert Nichols wrote: > Is guestfish able to handle paths that include whitespace? I've > tried just about everything I can think of: > > ><fs> ls
2015 Oct 20
2
Extlinux with guestfish
Hi everyone, I'm working with libguestfs 1.30.3 on Centos 7 host. I encountered a problem when I wanted to install extlinux with guestfish as a bootloader for my guests and I always get this error: SYSLINUX 4.05 EDD 0x54f93f16 Copyright (C) 1994-2010 H. Peter Anvin et al ERROR: No configuration file found No default or UI configuration directive found! boot: _ *This is how I create the
2010 Aug 08
1
guestfish/libguestfs takes legacy qemu instead of kvm?
On Sun, Aug 08, 2010 at 12:05:58PM +0800, Kirby Zhou wrote: > guestfish takes legacy qemu instead of kvm? > ]# rpm -q libguestfs --requires | fgrep qemu > qemu-system-x86 >= 0.10.5 To make it clear, this is EPEL-5. There was some still unresolved problem with adding a dependency on KVM: https://fedorahosted.org/rel-eng/ticket/2982 As a result, we have to depend on qemu (software
2015 Oct 01
1
grub-install with guestfish
[Sending the question to the proper mailing list] On Thu, Oct 01, 2015 at 10:50:13AM +0100, slim tabka wrote: > Hello Mr Richard Jones, > > First of all, thank you for the amazing tools that you are creating. > I'm new to the virtualization and libguestfs ,so I'm hoping you can help me > to at least understand what's the problem I'm having exactly or to know if