search for: pahom

Displaying 20 results from an estimated 24 matches for "pahom".

Did you mean: pahome
2017 Jul 25
2
build from github source
...uestfs cd libguestfs ./autogen.sh make I installed the lib I didn't have it and everything is ok untill I enter *make* I got error message: > CCLD libguestfs.la > ar: `u' modifier ignored since `D' is the default (see `U') > make[3]: Leaving directory '/home/pahome/git/libguestfs/lib' > make[2]: Leaving directory '/home/pahome/git/libguestfs/lib' > Making all in docs > make[2]: Entering directory '/home/pahome/git/libguestfs/docs' > make[2]: Nothing to be done for 'all'. > make[2]: Leaving directory '/home/pahom...
2008 Dec 02
6
repeatable crash on RELENG7
While trying to speed up nanobsd builds, I mounted /usr/obj on a ramdisk and found my box crashing. Thinking it might be hardware, I tried a separate machine, but with the same results. I have 4G of ram (i386). Am I just running out of some kernel memory ? If so, is there anything I can adjust to prevent this, yet still use mfs in this way ? mdconfig -a -t malloc -s 1800M newfs /dev/md0
2017 Jul 30
0
Re: cannot find any suitable libguestfs supermin
2017-07-29 20:17 GMT+08:00 lampahome <pahome.chen@mirlab.org>: > > > 2017-07-29 18:00 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: >> >> > I download the newset package and extract in my >> > path(/share/CACHEDEV1_DATA/appliance/) and set env >> > It doesn't work. >&g...
2017 Jul 29
2
Re: cannot find any suitable libguestfs supermin
2017-07-29 18:00 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > > > I download the newset package and extract in my > > path(/share/CACHEDEV1_DATA/appliance/) and set env > > It doesn't work. > > and I run the libugestfs-test-tool: > > Please don't provide partial information. Include the command you > type and *all* the output, without
2017 Jul 12
1
questions about python examples
I followed the examples 1 and 2 in http://libguestfs.org/guestfs-python.3.html I create disk img by example 1 and use example 2 to inspect the img. I got error in the line: > g.inspect_os() : no operating systems found. how could fix it? any examples to create os in python?
2017 Jul 13
1
compression method for qcow2?
I found guestfs_compress_out do the compression to gzip, bzip2, compress...etc. I want to compress qcow2, and I found details about qcow2 compression in https://people.gnome.org/~markmc/qcow-image-format.html The QCOW format supports compression by allowing each cluster to be > independently compressed with zlib. Can I do that with guestfs_compress_out?
2017 Jul 19
1
Is thread-safe for pread_device in python?
I want to test performance on reading one 1GB qcow2 file in python I create multiple threads and read the qcow2 file by pread_device function in python. And these threads share the same guest handler and device Is pread_device thread-safe? My result always shows pread_device can't get reply and corrupted
2017 Jul 25
2
Re: build from github source
...install libyajl2 apt-get install libyajl2-dev apt-get install libyajl2-dbg and rebuild again: > ./configure > make still the same errors happened anyone has the same issue? 2017-07-25 18:27 GMT+08:00 Cedric Bosdonnat <cbosdonnat@suse.com>: > On Tue, 2017-07-25 at 17:42 +0800, lampahome wrote: > > why is undefined reference to 'yajl_tree_parse', I already install it > from https://github.com/lloyd/yajl > > First thing I see is that it hasn't been installed to a place mentioned in > your > LD_LIBRARY_PATH, or not discovered at configure time. Since...
2017 Jul 27
2
performance between guestfish and qemu-nbd
I can mount qcow2 img to nbd devices through guestfish or qemu-nbd I'm curious about which performance is better?
2017 Jul 28
2
where to create localenv?
I don't want prefix 'git' and I watched this http://libguestfs.org/guestfs-building.1.html#local-files . localenv ./autogen.sh \ -C \ --enable-werror \ "$@" but I cannot execute . localenv and I saw Note that *localenv* is included by the top Makefile (so it’s a Makefile fragment). But if it is also sourced by your *localconfigure* script then it is used as
2017 Jul 28
1
why I don't have guestfish(executable file) after building form github
I followed the guildline in http://libguestfs.org/guestfs-building.1.htm ./autogen.sh > make But I didn't see any executable file. I only see /fish/guestfish and /bash/guestfish the first one seems like a script.
2017 Jul 31
2
read/write performance through mount point by guestmount
I create a *4x256GB-SSD RAID0(/dev/md1)* and I test the performance through fio. fio config: ioengine=libaiodirect=1time_basedruntime=120ramp_time=30size=100g The sequential read/write performance is: > > *read: 2000MB/swrite: 1800MB/s* Now I make a ext4 on the RAID0(/dev/md1) and mount on /home/. ANd I create a 100G-disk.qcow2 by guestfish. > $guestfish > ><fish>:
2017 Jul 31
0
Re: read/write performance through mount point by guestmount
...guestfish, the same condition happenes? I mean the insane number of layers and the performance 2017-07-31 16:52 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > On Mon, Jul 31, 2017 at 09:49:00AM +0100, Richard W.M. Jones wrote: > > On Mon, Jul 31, 2017 at 12:20:10PM +0800, lampahome wrote: > > > I mount the disk.qcow2 on the /home/test/, and create a 50GB file. > > > > Mount the disk how? > > OK, subject says using guestmount. > > I'm surprised the slowdown isn't more than 95%. It's using FUSE which > goes through an insane num...
2017 Aug 03
0
Re: read/write performance through mount point by guestmount
2017-07-31 18:57 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > 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 perform...
2019 Aug 08
2
[Bug] Cannot create file but read/write is ok
> > > First, this is useless: 'public = yes' (which is really 'guest ok = > yes') for two reasons, you also have 'valid users = ppp', so only 'ppp' > can connect, but even if that wasn't there, it wouldn't allow guest > access because you do not have 'map to guest = bad user' in [global]. > > As for '%g', have you
2019 Aug 08
2
[Bug] Cannot create file but read/write is ok
> > > and clean my glasses ;-) > > I totally misread '%U:%g@%I' > > %U session username > > %g primary group name of %u. > > Notice the difference in case of '%U' & '%u' > > Try '%G' instead, this is the primary group name of %U. > > I fix it to %U|%G|%I still failed. It always shows input/output
2019 Aug 08
2
[Bug] Cannot create file but read/write is ok
> > It is a possibility that your users primary group doesn't exist on the > computer where you are mounting from. > > It also might help if you say what your clients are, the users primary > group only really makes sense from a Windows machine, where it should be > 'Domain Users' (if a domain joined computer), or 'Users' if not. From a > Unix client,
2019 Aug 08
2
[Bug] Cannot create file but read/write is ok
> > > That doesn't show the users primary group, you need the output of > 'getent passwd ppp' > > getent passwd ppp ppp:x:1000:1000:ppp,,,:/home/ppp:/bin/bash
2017 Jul 12
3
any read/write raw image function or API in Python?
I know there's lots of functions that can access/modify the internal fs of img or qcow2 through libguestfs. I want to know is there any library can modify the raw/qcow2 image directly in Python? For example, there's function called read_qcow2(), and I can know the content of tmp.qcow2 through the function read_qcow2().
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 commands you are trying? We migh...