Displaying 20 results from an estimated 1000 matches similar to: "[PATCH 0/2] Add mkfs-opts API with optional arguments"
2012 Sep 04
1
virt-sparsify broken after recent changes
With 1.9.37 the following script worked fine, with 1.9.39 it fails.
Any idea what the issue is?
Olaf
...
mount -o /dev/vda1 /sysroot/
[ 1.396411] EXT4-fs (vda1): mounting ext2 file system using the ext4 subsystem
[ 1.533090] EXT4-fs (vda1): mounted filesystem without journal. Opts: (null)
guestfsd: main_loop: proc 1 (mount) took 0.45 seconds
libguestfs: recv_from_daemon: 40 bytes: 20 00
2023 Feb 12
1
Issue with downloading files whose path contains multi-byte utf-8 characters
Hey,
When downloading a file whose path contains multi-byte utf-8, libguestfs
sometimes crashes.
This reproduces when using python, and not when using guestfish.
Code to reproduce:
for i in range(2000):
g.download ('/xxx?', '/tmp/1')
#0 raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff7fac140 in <signal handler called> () at
2016 Sep 05
0
Re: guestfs_launch gets stuck
Hi Rich,
I spend several days on this issue but still cannot figure out the root
cause. Sometimes, guestfs_lauch() gets stuck, sometimes, it is ok.
I reproduced this issue using guestfish:
-bash-4.2# guestfish
Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.
Type: 'help' for help on commands
'man' to read the manual
2023 Feb 13
3
Issue with downloading files whose path contains multi-byte utf-8 characters
On Sun, Feb 12, 2023 at 03:31:08PM +0200, Yonatan Shtarkman wrote:
> Hey,
> When downloading a file whose path contains multi-byte utf-8, libguestfs
> sometimes crashes.
> This reproduces when using python, and not when using guestfish.
>
> Code to reproduce:
> for i in range(2000):
> ? ? g.download ('/xxx?', '/tmp/1')
'i' is not used inside the
2023 Feb 14
1
Issue with downloading files whose path contains multi-byte utf-8 characters
On Tue, Feb 14, 2023 at 08:02:59PM +0200, Yonatan Shtarkman wrote:
> The attached code snippet?reproduces the issue when running:
> python3 libugestfs_segfault_repro.py
>
> With:
> guestfs version: 1.48.6
> guestfs-python version: 1.48.6
Can confirm with {python3-,}libguestfs-1.51.1-1.fc39.x86_64
The stack trace is roughly the same as yours.
Rich.
> Stacktrace:
> #0
2016 Aug 05
2
Cannot guestmount a Fedora 24 XFS disk.
I seem to be having trouble using guestmount to mount a Fedora 24 disk that is using XFS. This is the error messings I get when I try:
root@cpdev-cn5:/var/lib/libvirt/images/base# guestmount --rw -a ${disk_path}/${disk_name} -m /dev/${target}1 /tmp/fedora-master/
libguestfs: error: mount_options: /dev/vda1 on /: mount: wrong fs type, bad option, bad superblock on /dev/vda1,
missing
2016 Aug 05
2
Cannot guestmount a Fedora 24 XFS disk.
I seem to be having trouble using guestmount to mount a Fedora 24 disk that is using XFS. This is the error messings I get when I try:
root@cpdev-cn5:/var/lib/libvirt/images/base# guestmount --rw -a ${disk_path}/${disk_name} -m /dev/${target}1 /tmp/fedora-master/
libguestfs: error: mount_options: /dev/vda1 on /: mount: wrong fs type, bad option, bad superblock on /dev/vda1,
missing
2016 Aug 09
0
Re: [libvirt-users] Cannot guestmount a Fedora 24 XFS disk.
The host is running Ubuntu 12.04 LTS and has the libguestfs package installed -- which, if I'm not mistaken, provides libguestfs-xfs:
https://launchpad.net/ubuntu/+source/libguestfs
Andre Goree
________________________________________
From: Richard W.M. Jones <rjones@redhat.com>
Sent: Monday, August 8, 2016 3:21 AM
To: Andre Goree
Cc: libvirt-users@redhat.com; libguestfs@redhat.com
2016 Aug 08
1
Re: Cannot guestmount a Fedora 24 XFS disk.
On Fri, Aug 05, 2016 at 02:46:11PM +0000, Andre Goree wrote:
>
> I seem to be having trouble using guestmount to mount a Fedora 24 disk that is using XFS. This is the error messings I get when I try:
>
> root@cpdev-cn5:/var/lib/libvirt/images/base# guestmount --rw -a ${disk_path}/${disk_name} -m /dev/${target}1 /tmp/fedora-master/
> libguestfs: error: mount_options: /dev/vda1 on
2016 Aug 08
1
Re: [libvirt-users] Cannot guestmount a Fedora 24 XFS disk.
On Fri, Aug 05, 2016 at 02:46:11PM +0000, Andre Goree wrote:
>
> I seem to be having trouble using guestmount to mount a Fedora 24 disk that is using XFS. This is the error messings I get when I try:
>
> root@cpdev-cn5:/var/lib/libvirt/images/base# guestmount --rw -a ${disk_path}/${disk_name} -m /dev/${target}1 /tmp/fedora-master/
> libguestfs: error: mount_options: /dev/vda1 on
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 ~]#
2012 May 13
1
guestfs_mount_local api test: have to 'mount' before calling it?
Hi
I`ve been trying this guestfs_mount_local api for quite a few days,
but still can`t get over it.
Now it seems to have enter the fuse loop but have some problems with
'mount'?
and stops at guestfs_mount_local_run(g).
Here`s corresponding code in the test program:
??
if(guestfs_mount_local(g,"/mnt/libg")==-1)
exit(EXIT_FAILURE);
else
guestfs_mount_local_run(g);
??
Below is a
2011 Dec 26
1
Another virt-p2v blew up
One day I'm going to run a virt-p2v that works to completion. But evidently not today.
The source physical machine is Windows 2003. This one copied the whole system drive and then died at the end and deleted the virtual disk it made. Here is the top and bottom of the trace log file on the conversion server. If the email garbles what I'm pasting in below, I can email the log as an
2014 Sep 28
0
Re: Why libguestfs guest exist exceptionally?
On Sun, Sep 28, 2014 at 11:04:11PM +0800, Zhi Yong Wu wrote:
> On Sun, Sep 28, 2014 at 6:48 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
> > On Sun, Sep 28, 2014 at 06:33:53PM +0800, Zhi Yong Wu wrote:
> >> On Sun, Sep 28, 2014 at 6:26 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
> >> > Which version of libguestfs is this? I think you'll
2014 Sep 09
2
Re: CoreOS support
Here it is :D
root@ny2proxd03:/var/lib/vz/images/100# virt-resize --expand /dev/sda3 vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized
Examining vm-100-disk-1.qcow2 ...
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x246f780
libguestfs: trace: add_drive "vm-100-disk-1.qcow2" "readonly:true"
libguestfs: trace:
2014 Sep 28
2
Re: Why libguestfs guest exist exceptionally?
On Sun, Sep 28, 2014 at 11:31 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
> On Sun, Sep 28, 2014 at 11:04:11PM +0800, Zhi Yong Wu wrote:
>> On Sun, Sep 28, 2014 at 6:48 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
>> > On Sun, Sep 28, 2014 at 06:33:53PM +0800, Zhi Yong Wu wrote:
>> >> On Sun, Sep 28, 2014 at 6:26 PM, Richard W.M. Jones
2013 Mar 07
3
[PATCH 0/3] protocol: Abstract out socket operations.
I've been taking a long hard look at the protocol layer. It has
evolved over a long time without any particular direction, and the
result is, to say the least, not very organized.
These patches take a first step at cleaning up the mess by abstracting
out socket operations from the rest of the code. The purpose of this
is to allow us to slot in a different connection layer under the
2014 Feb 03
2
libguestfs and zfs-fuse
I'm wondering whether or not anyone has tried to use guestmount on an
image with a ZFS partition (MBR partition table). I can't seem to find
much on the internet regarding it, but I do see hints that may lead me
to a solution. I'm under the impression that libguestfs can use what
ever is available to the kernel on the host -- in my case I have zfs-use
installed and running. I
2009 Sep 24
1
enabling more syntax-checks
The first c-set cleans up the list of excluded syntax-checks.
The second enables the sc_avoid_ctype_macros test and changes
each use of a ctype macro like isspace to c_isspace.
This makes it so such tests (often parsing-related) is locale-independent.
Otherwise, in some odd corner cases (combination of non-C locale
and perverted inputs), I suspect that libguestfs tools would mistakenly
accept
2013 Mar 07
4
[PATCH 0/4] Small refactorings of the protocol layer.
As the start of work to add remote support, I'm taking a close look at
the protocol layer in the library. These are some small cleanups.
Rich.