On Wed, Jan 05, 2022 at 04:37:42PM +0100, Gottschalk wrote:
Hi Rich,
i wish you a happy new year and health.
We made a recovery from a VMware VM with a Windows 2019 Server.
Guestfish lists a filesystem ReFs which is not mountable in guestfish version 1.36..13.
We are using a Ubuntu 18.04.6 LTS Operating System.
<fs> add file034000.vmdk file034000_1.vmdk add: unknown optional argument "file034000_1.vmdk" <fs> add file034000.vmdk <fs> add file034000_1.vmdk <fs> run 100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00 <fs> list-filesystems /dev/sda1: ntfs /dev/sda2: vfat /dev/sda3: unknown /dev/sda4: ntfs /dev/sda5: unknown /dev/sdb1: unknown /dev/sdb2: ReFS /dev/sdb3: unknown <fs> mount /dev/sdb2 / libguestfs: error: mount: /dev/sdb2 on / (options: ''): mount: /sysroot: unknown filesystem type 'ReFS'. <fs>
Have you any idea?
Sadly no one to my knowledge has written a ReFS driver for Linux at all. If you can find one it should be possible (in fact, easy) to make libguestfs use it, but without one it's not possible as far as I know. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
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 Ivanets ср, 5 січ. 2022, 21:15 користувач Richard W.M. Jones <rjones@redhat.com> пише:
On Wed, Jan 05, 2022 at 04:37:42PM +0100, Gottschalk wrote:
Hi Rich,
i wish you a happy new year and health.
We made a recovery from a VMware VM with a Windows 2019 Server.
Guestfish lists a filesystem ReFs which is not mountable in guestfish version 1.36..13.
We are using a Ubuntu 18.04.6 LTS Operating System.
<fs> add file034000.vmdk file034000_1.vmdk add: unknown optional argument "file034000_1.vmdk" <fs> add file034000.vmdk <fs> add file034000_1.vmdk <fs> run 100%
⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧
<fs> list-filesystems /dev/sda1: ntfs /dev/sda2: vfat /dev/sda3: unknown /dev/sda4: ntfs /dev/sda5: unknown /dev/sdb1: unknown /dev/sdb2: ReFS /dev/sdb3: unknown <fs> mount /dev/sdb2 /
00:00 libguestfs: error: mount: /dev/sdb2 on / (options: ''): mount: /sysroot: unknown filesystem type 'ReFS'.
<fs>
Have you any idea?
Sadly no one to my knowledge has written a ReFS driver for Linux at all. If you can find one it should be possible (in fact, easy) to make libguestfs use it, but without one it's not possible as far as I know.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
_______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs
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 <stenavin@gmail.com> пише:
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 Ivanets
ср, 5 січ. 2022, 21:15 користувач Richard W.M. Jones <rjones@redhat.com> пише:
On Wed, Jan 05, 2022 at 04:37:42PM +0100, Gottschalk wrote:
Hi Rich,
i wish you a happy new year and health.
We made a recovery from a VMware VM with a Windows 2019 Server.
Guestfish lists a filesystem ReFs which is not mountable in guestfish version 1.36..13.
We are using a Ubuntu 18.04.6 LTS Operating System.
<fs> add file034000.vmdk file034000_1.vmdk add: unknown optional argument "file034000_1.vmdk" <fs> add file034000.vmdk <fs> add file034000_1.vmdk <fs> run 100%
⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧
<fs> list-filesystems /dev/sda1: ntfs /dev/sda2: vfat /dev/sda3: unknown /dev/sda4: ntfs /dev/sda5: unknown /dev/sdb1: unknown /dev/sdb2: ReFS /dev/sdb3: unknown <fs> mount /dev/sdb2 /
00:00 libguestfs: error: mount: /dev/sdb2 on / (options: ''): mount: /sysroot: unknown filesystem type 'ReFS'.
<fs>
Have you any idea?
Sadly no one to my knowledge has written a ReFS driver for Linux at all. If you can find one it should be possible (in fact, easy) to make libguestfs use it, but without one it's not possible as far as I know.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
_______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs
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
ср, 5 січ. 2022, 21:21 користувач Nikolay Ivanets <stenavin@gmail.com> пише:
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.
Thanks - I didn't know aboutu this. Do you recall what they are providing? eg. Kernel module, userspace FUSE binary, etc? 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
It was a kernel module: ############################################# # # Build Paragon ReFS kernel module # paragon_refs_tar_gz=${work_dir}/Paragon-*-ReFS-Linux.tar.gz function build-paragon-refs { local paragon_refs_src_dir=${work_dir}/paragon-src-refs if [ -f ${paragon_refs_tar_gz} ]; then mkdir -p ${paragon_refs_src_dir} || error-exit tar xf ${paragon_refs_tar_gz} -C ${paragon_refs_src_dir} || error-exit ( cd ${paragon_refs_src_dir} && ./configure --with-modulename=ReFS --with-ks-dir=${kernel_src_dir} --with-kernelversion=${KERNEL_VERSION} ) || error-exit ( cd ${paragon_refs_src_dir} && make driver ) || error-exit mkdir -p ${SUPERMIN_MODULES}/kernel/fs/ReFS || error-exit cp -f ${paragon_refs_src_dir}/ReFS.ko ${SUPERMIN_MODULES}/kernel/fs/ReFS/ || error-exit depmod -a --basedir ${kernel_modules_dir} ${KERNEL_VERSION} || error-exit echo 'alias fs_ReFS ReFS' > /etc/modprobe.d/ReFS.conf || error-exit echo '/etc/modprobe.d/ReFS.conf' > ${supermin_dir}/modprobe.d-ReFS-hostfiles || error-exit fi } -- Mykola Ivanets ср, 5 січ. 2022, 21:36 користувач Richard W.M. Jones <rjones@redhat.com> пише:
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
ср, 5 січ. 2022, 21:21 користувач Nikolay Ivanets <stenavin@gmail.com> пише:
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.
Thanks - I didn't know aboutu this.
Do you recall what they are providing? eg. Kernel module, userspace FUSE binary, etc?
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
On 01/05/22 20:36, Richard W.M. Jones wrote:
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
ср, 5 січ. 2022, 21:21 користувач Nikolay Ivanets <stenavin@gmail.com> пише:
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.
Thanks - I didn't know aboutu this.
Do you recall what they are providing? eg. Kernel module, userspace FUSE binary, etc?
"Paragon" and "filesystems" definitely rings a bell... Yes: https://lwn.net/Articles/864589/ https://www.phoronix.com/scan.php?page=news_item&px=NTFS3-For-Linux-5.15 So now there's precedent for Paragon open sourcing and upstreaming a filesystem driver! They've got my respect and gratitude. Laszlo
participants (3)
-
Laszlo Ersek -
Nikolay Ivanets -
Richard W.M. Jones