Re: [Libguestfs] [PATCH nbdkit 1/5] vddk: Move minimum version to VDDK 6.0

2021-10-27 Thread Nikolay Ivanets
Rich, Just FYI: » The VMware policy concerning backward and forward compatibility is for VDDK to support N-2 and N+1 releases. In other words, VDDK 6.7 and all its update releases support vSphere 6.0, 6.5 (except for new features), and the next major release. From: https://vdc-download.vmware.com/

Re: [Libguestfs] Windows new Filesystem

2022-01-05 Thread Nikolay Ivanets
There is ReFS driver for Linux by Paragon: https://www.paragon-software.com/home/refs-linux/ You are unlikely to include it onto libguestfs (it is proprietary and likely there are license restrictions) but I successfully used it my own to read ReFS file system from with libguestfs. -- Mykola Iv

Re: [Libguestfs] Windows new Filesystem

2022-01-05 Thread Nikolay Ivanets
p.s. Previously you could download the driver directly from their website. Now you have to contact them. :-( -- Mykola Ivanets ср, 5 січ. 2022, 21:21 користувач Nikolay Ivanets пише: > There is ReFS driver for Linux by Paragon: > https://www.paragon-software.com/home/refs-linux/ >

Re: [Libguestfs] Windows new Filesystem

2022-01-05 Thread Nikolay Ivanets
стувач Richard W.M. Jones пише: > On Wed, Jan 05, 2022 at 09:27:34PM +0200, Nikolay Ivanets wrote: > > p.s. Previously you could download the driver directly from their > website. Now > > you have to contact them. :-( > > > > -- > > Mykola Ivanets > > >

[Libguestfs] Regression with LDM devices

2022-03-28 Thread Nikolay Ivanets
Hello This commit caused a regression with LDM devices: https://github.com/libguestfs/libguestfs/commit/86577ee3883836c1c4fff258c05261bd3858e22b 1. list-filesystems double all LDM volumes: > list-filesystems /dev/mapper/ldm_vol_AQ-W10-EFI-VM-Dg0_Volume5: ntfs /dev/sda1: ntfs /dev/sda2: vfat /dev

Re: [Libguestfs] [PATCH] df: Handle block sizes smaller than 1024 bytes (RHBZ#1525241).

2017-12-13 Thread Nikolay Ivanets
vfs. And lastly, I guess that only file systems with block size < 1024 are affected. -- Nikolay Ivanets ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs

[Libguestfs] [PATCH] test-virt-tail: Fix failing cat/test-virt-tail.sh test case

2018-01-02 Thread Nikolay Ivanets
plain why it works on your system but it might be because of number of factors: 1. Different QEMU caching policy 2. Different caching policy of underlying OS/filesytem 3. etc. -- Nikolay Ivanets Mobile: +380979184774 Skype: n_ivanets From 84ef21f752cf63991a3bb64f57f6cc7b8a92 Mon Sep

Re: [Libguestfs] [PATCH] test-virt-tail: Fix failing cat/test-virt-tail.sh test case

2018-01-12 Thread Nikolay Ivanets
d be visible to virt-tail which works in different process and also accessing the same disk. -- Nikolay Ivanets Mobile: +380979184774 Skype: n_ivanets 2018-01-03 9:06 GMT+02:00 Nikolay Ivanets : > From IRC channel: > > Can someone confirm cat/test-virt-tail.sh work

Re: [Libguestfs] Trying to mount vmdk - kernel panic not syncing: Attempted to kill init! exitcode=0x00000100

2018-01-22 Thread Nikolay Ivanets
Here is Richard's W.M. Jones answer: > This is caused by a bug in the way that supermin created symlinks > which is not compatible with the new kernel: > > 291 l bzfgrep 120777 6 0:0 -> \x1c\v > > You need to upgrade to the new supermin which fixes this. > https://www.redhat.com/archiv

Re: [Libguestfs] [RFC PATCH v1 3/3] daemon: list-filesystems: Don't list partitioned md devices

2018-01-23 Thread Nikolay Ivanets
; > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > Fedora Windows cross-compiler. Compile Windows programs, test, and > build Windows installers. Over 100 libraries supported. > http://fedoraproject.org/wiki/MinGW -- Nikolay Ivanets ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs

Re: [Libguestfs] [RFC PATCH v1 1/3] tests: md: Test guestfish list-filesystems command skipps partitioned md devices

2018-01-23 Thread Nikolay Ivanets
2018-01-23 12:11 GMT+02:00 Richard W.M. Jones : > The test is fine, but it should come after the fix in the list of > commits, otherwise you break git bisection. Got it. Is there tests naming convention? Is it OK to call it test-partitioned-md-devices.sh (for example)? -- Mykola Ivanets

Re: [Libguestfs] Trying to mount vmdk - kernel panic not syncing: Attempted to kill init! exitcode=0x00000100

2018-01-23 Thread Nikolay Ivanets
2018-01-23 13:31 GMT+02:00 James Cook : > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > libguestfs: [0ms] begin building supermin appliance > libguestfs: [0ms] run supermin > libguestfs: command: run: /usr/bin/supermin > libguestfs: command: run: \ --buil

Re: [Libguestfs] [RFC] Inconsistent output of guestfs_list_filesystems

2018-01-23 Thread Nikolay Ivanets
2018-01-23 12:11 GMT+02:00 Richard W.M. Jones : > On Tue, Jan 23, 2018 at 12:44:10AM +0200, Mykola Ivanets wrote: >> Before I rush to change something I request your comments on the subject. >> Let me know what do you think and if it does make sense. >> >> The issue: guesfs_list_filesystems is inco

Re: [Libguestfs] libguestfs operations failing

2018-02-08 Thread Nikolay Ivanets
Here is Richard's W.M. Jones answer: > This is caused by a bug in the way that supermin created symlinks > which is not compatible with the new kernel: > > 291 l bzfgrep 120777 6 0:0 -> \x1c\v > > You need to upgrade to the new supermin which fixes this. > https://www.redhat.com/archiv

Re: [Libguestfs] [PATCH v3 1/3] daemon: Reimplement 'part_get_mbr_part_type' API in OCaml.

2018-02-19 Thread Nikolay Ivanets
Richard, 1.38 is out. Can we come back and discuss these patch series? -- Mykola Ivanets 2018-02-06 10:31 GMT+02:00 Richard W.M. Jones : > On Sun, Jan 28, 2018 at 11:54:19PM +0200, Mykola Ivanets wrote: >> Instead of parsing 'parted' output OCaml implementation relies on the >> following fac

Re: [Libguestfs] [PATCH v3 1/3] daemon: Reimplement 'part_get_mbr_part_type' API in OCaml.

2018-02-20 Thread Nikolay Ivanets
2018-02-20 11:48 GMT+02:00 Richard W.M. Jones : > > Can you repost it, rebased, and taking into account the review comments > from last time. > I didn't understand, would you like to document behavior for non-MBR partitions more clearly or keep previous implementation despite MBR partition type doe

Re: [Libguestfs] [PATCH v5 2/3] daemon: list-filesystems: Don't list partitions which cannot hold file system.

2018-04-30 Thread Nikolay Ivanets
> This commit is really hard to follow. I wonder if it can be broken up > to make it easier to review. There seem to be at least two parts to > the patch: (1) Changing the way that we detect if a device contains > partitions. (2) Changing the way that we filter out LDM partitions. Agree. Splitt

[Libguestfs] Curious sgdisk behavior

2018-05-01 Thread Nikolay Ivanets
FYI Just found interesting behavior of sgdisk (it is used in daemon code for various things) which might surprise us: sgdisk won't work if it finds "valid" MBR and GPT partition tables on the disk. In this case sgdisk fails with "Invalid partition data!" message. How to reproduce (esiest way is t

Re: [Libguestfs] [PATCH libldm v2 0/1] Make libldm to parse and return volume GUID.

2018-05-10 Thread Nikolay Ivanets
I wasn't familiar with GLib used in the project and just found that resources were not properly initialized/freed. v3 fixes that. -- Mykola Ivanets ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs

Re: [Libguestfs] [PATCH] lib: Increase default memory assigned to the appliance.

2018-05-23 Thread Nikolay Ivanets
I wonder why not to set required amount of memory using guestfs_set_memsize or setting LIBGUESTFS_MEMSIZE environment variable just for this test? -- +380979184774 Mykola Ivanets ср, 23 трав. 2018 о 11:28 Pino Toscano пише: > On Wednesday, 16 May 2018 14:43:09 CEST Richard W.M. Jones w

Re: [Libguestfs] guestmount only

2018-06-29 Thread Nikolay Ivanets
>> is there any other way outside libguestfs to access the contents of the virtual machine vhd/vhdx disk ? You can do: qemu-nbd -c /dev/nbd0 /path/to/disk-image.vhd ls -1 /dev/nbd0* # to list found partitions mount /dev/nbd0pX /path/to/mountpoint # /dev/nbd0pX - partition recognized on block devic

Re: [Libguestfs] buffer overflow detected error

2018-08-18 Thread Nikolay Ivanets
Can you post libguestfs version, your OS, kernel version, JRE version and code snipped causing the issue? It might be good iddea to set debug and verbose and post full log. Also try the same with guestfish. -- Mykola Ivanets сб, 18 серп. 2018, 10:23 користувач Davone Desouza пише: > So I'm

Re: [Libguestfs] [PATCH] generator: Do not claim copyright for future years

2018-08-21 Thread Nikolay Ivanets
Doesn't it mean you have to remember changing copyright in 2019? -- Mykola Ivanets ср, 22 серп. 2018, 08:58 користувач Bernhard M. Wiedemann < bwiedem...@suse.de> пише: > This change helps to make libguestfs package build reproducible. > See https://reproducible-builds.org/ for why this is goo

Re: [Libguestfs] [PATCH] generator: Do not claim copyright for future years

2018-08-22 Thread Nikolay Ivanets
Thanks for explanation. -- Mykola Ivanets ср, 22 серп. 2018, 22:23 користувач Bernhard M. Wiedemann < bwiedem...@suse.de> пише: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2018-08-22 06:11, Nikolay Ivanets wrote: > > Doesn't it mean you have to rememb

Re: [Libguestfs] Bug Report, .vhdx file not attaching

2018-10-15 Thread Nikolay Ivanets
» cannot open '/boot/vmlinuz-4.15.0-36-generic' for reading: Permission denied Most likely Ubuntu prevents reading this file. Try to set appropriate permission (read access) for your user account. -- Mykola Ivanets пн, 15 жовт. 2018, 11:37 користувач Antoine KILZI < antoine.ki...@imt-atlantiqu

Re: [Libguestfs] Integration with muCommander

2018-11-22 Thread Nikolay Ivanets
Let me share my thoughts. > However, as one can see in the video, it takes a pretty long time to inspect > the disk (in order to find the operating system) and to mount the file > systems. Do you really need to inspect disk image BEFORE mounting file system(s)? You can do inspection on demand i

Re: [Libguestfs] Integration with muCommander

2018-11-24 Thread Nikolay Ivanets
> Well, I don't need any information about the operating system itself but > ideally, when browsing the disk image the user sees the file system(s) as if > the user would have connected (e.g., via ssh) to the guest. So let's say that > I browse a disk image with two partitions, the root that is

Re: [Libguestfs] [PATCH] v2v: don't fail when virtio-win does not have qemu-ga packages

2018-12-04 Thread Nikolay Ivanets
вт, 4 груд. 2018, 23:46 Tomáš Golembiovský користувач tgole...@redhat.com пише: > Regular virtio-win ISO does not have them and maybe never will. > May I ask why? > ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listin

Re: [Libguestfs] nbdkit, VDDK, extents, readahead, etc

2019-04-11 Thread Nikolay Ivanets
Great investigation. Thanks for sharing! -- Mykola Ivanets чт, 11 квіт. 2019, 20:56 користувач Richard W.M. Jones пише: > As I've spent really too long today investigating this, I want to > document this in a public email, even though there's nothing really > that interesting here. One thing

Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic links

2019-06-28 Thread Nikolay Ivanets
If it is one time operation you can call 'realpath' (http://libguestfs.org/guestfs.3.html#guestfs_realpath) first to resolve symlink. -- +380979184774 Mykola Ivanets пт, 28 черв. 2019 о 11:11 Chintan Patel пише: > > HI, > > I’m trying to use copu-out command to copy files from remote dis

Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic links

2019-06-28 Thread Nikolay Ivanets
> Tried to use realpath as below using target path from above return but > it's giving None > > ex. - realpath "../run/systemd/resolve/stub-resolv.conf" --> return None > > > Can you tell me how can I get the real path as without the full canonicalized > ab

Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic links

2019-06-28 Thread Nikolay Ivanets
gt; Thanks, > Chintan > ---------- > *From:* Nikolay Ivanets > *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 > f

Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic links

2019-06-28 Thread Nikolay Ivanets
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 пише: > > All API is exposed as gustfish commands > > -- > Mykola Ivanets > &

Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic links

2019-06-29 Thread Nikolay Ivanets
o -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 пише: > > > > All API is exposed as gustfish commands > > > &

Re: [Libguestfs] virt-df -a xxx.qcow2 failure, after about ten minutes , failed

2019-12-02 Thread Nikolay Ivanets
thomas, Your very first email refers to libguestsfs 1.40.2, where is libguestfs-test-tool reports refer to libguestfs 1.38.2. Anyway, can you download pre-built FIXED appliance matching your libguestfs version and try using it? Here is you can find pre-built FIXED appliances: http://download.libg

Re: [Libguestfs] [RFC] lib: allow to specify physical/logical block size for disks

2020-02-10 Thread Nikolay Ivanets
пн, 10 лют. 2020 о 10:53 Richard W.M. Jones пише: > > On Sat, Feb 08, 2020 at 01:25:28AM +0200, Mykola Ivanets wrote: > > From: Nikolay Ivanets > > > > I faced with situation where libguestfs cannot recognize partitions on a > > disk image which was partition

Re: [Libguestfs] [RFC] lib: allow to specify physical/logical block size for disks

2020-02-10 Thread Nikolay Ivanets
пн, 10 лют. 2020 о 13:43 Richard W.M. Jones пише: > > On Sat, Feb 08, 2020 at 01:25:28AM +0200, Mykola Ivanets wrote: > > From: Nikolay Ivanets > > > > I faced with situation where libguestfs cannot recognize partitions on a > > disk image which was partition

Re: [Libguestfs] [RFC] lib: allow to specify physical/logical block size for disks

2020-02-10 Thread Nikolay Ivanets
пн, 10 лют. 2020 о 14:34 Daniel P. Berrangé пише: > > On Sat, Feb 08, 2020 at 01:25:28AM +0200, Mykola Ivanets wrote: > > From: Nikolay Ivanets > > > > I faced with situation where libguestfs cannot recognize partitions on a > > disk image which was partition

Re: [Libguestfs] [RFC] lib: allow to specify physical/logical block size for disks

2020-02-10 Thread Nikolay Ivanets
пн, 10 лют. 2020 о 14:59 Richard W.M. Jones пише: > > On Mon, Feb 10, 2020 at 02:22:01PM +0200, Nikolay Ivanets wrote: > > Here are what they do stand for: > > physical_block_size: The physical block size the disk will report to > > the guest OS. For Linux this would be t

Re: [Libguestfs] [RFC] lib: allow to specify physical/logical block size for disks

2020-02-10 Thread Nikolay Ivanets
пн, 10 лют. 2020 о 15:02 Richard W.M. Jones пише: > > On Mon, Feb 10, 2020 at 02:28:08PM +0200, Nikolay Ivanets wrote: > > пн, 10 лют. 2020 о 13:43 Richard W.M. Jones пише: > > > > > > On Sat, Feb 08, 2020 at 01:25:28AM +0200, Mykola Ivanets wrote:

Re: [Libguestfs] [RFC] lib: allow to specify physical/logical block size for disks

2020-02-10 Thread Nikolay Ivanets
пн, 10 лют. 2020 о 15:48 Kevin Wolf пише: > > Am 10.02.2020 um 12:43 hat Richard W.M. Jones geschrieben: > > On Sat, Feb 08, 2020 at 01:25:28AM +0200, Mykola Ivanets wrote: > > > From: Nikolay Ivanets > > > > > > I faced with situation where libguestfs cann

Re: [Libguestfs] [PATCH v2] lib: add support for disks with 4096 bytes sector size

2020-02-11 Thread Nikolay Ivanets
вт, 11 лют. 2020 о 17:20 Richard W.M. Jones пише: > > I pushed this with some trailing whitespace fixes, and I dropped the > change to tmp/.gitignore since the test does clean up after itself. I > also fixed test-qemu-drive-with-blocksize-libvirt.sh so it doesn't > actually open /dev/sda etc on t

Re: [Libguestfs] [PATCH 2/2] firstboot: schedule firstboot as delayed task

2020-02-11 Thread Nikolay Ivanets
> What is "~dpnx0"? That is a series of substitutions of batch parameter. Here is Microsoft doc: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/call And here is more clear step-by-step explanation: https://stackoverflow.com/a/3679781/716075 -- Mykola Ivanets

Re: [Libguestfs] [PATCH v2 0/1] tools: add '--blocksize' option for C-based tools

2020-02-12 Thread Nikolay Ivanets
ср, 12 лют. 2020 о 03:02 Mykola Ivanets пише: > > From: Nikolay Ivanets > > This patch depends on changes in 'common' sub-module posted here: > https://www.redhat.com/archives/libguestfs/2020-February/msg00099.html Latest patch to common sub-module is here: https:

Re: [Libguestfs] [PATCH] make-fs: Don't use du --apparent-size to estimate input size.

2020-02-18 Thread Nikolay Ivanets
l to > actually contain the files. > > There's no really good answer here because du can't exactly do what we > want, but we can at least remove this flag. This causes much larger > estimates and therefore much larger virtual disks. > > Thanks: Nikolay Ivanets > --- > ma

Re: [Libguestfs] [PATCH] make-fs: Don't use du --apparent-size to estimate input size.

2020-02-18 Thread Nikolay Ivanets
> I think it's a difficult problem and one which won't be solved using > du. For comparison we have some nbdkit plugins for creating > filesystems and they are far more sophisticated, especially this one: > https://github.com/libguestfs/nbdkit/tree/master/plugins/floppy > > I would note that the r

Re: [Libguestfs] [PATCH commit] options: Compile blocksize code conditionally.

2020-02-25 Thread Nikolay Ivanets
пн, 24 лют. 2020 о 22:53 Richard W.M. Jones пише: > > Since the blocksize option was added since the minimum version of > libguestfs for virt-v2v, we need to make it conditional so that > virt-v2v can still be compiled with the older libguestfs. > > This commit does the minimum fix to make it buil

Re: [Libguestfs] Long running nbdkit instances seem to leak memory

2020-08-10 Thread Nikolay Ivanets
May I ask for self-education, how did you conclude memory leak, based on that, I guess, 'ps' output? -- Mykola Ivanets пн, 10 серп. 2020, 10:48 користувач Richard W.M. Jones пише: > I'm using nbdkit + the file plugin to serve NBD root filesystems for > some machines, so I get to observe how i