Re: [Ms-nfs41-client-devel] ANN: NFSv4.1 Windows driver binaries for Windows 10 for testing, 2023-12-30 ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 30 Dec 2023 at 22:25, Martin Wege <martin.l.wege@xxxxxxxxx> wrote:
>
> Hello,
>
> Please test the binaries
>
> Thanks,
> Martin
>
> ---------- Forwarded message ---------
> From: Roland Mainz <roland.mainz@xxxxxxxxxxx>
> Date: Sat, Dec 30, 2023 at 4:34 PM
> Subject: [Ms-nfs41-client-devel] ANN: NFSv4.1 Windows driver binaries
> for Windows 10 for testing, 2023-12-30 ...
> To: <ms-nfs41-client-devel@xxxxxxxxxxxxxxxxxxxxx>
>
>
> Hi!
>
> ----
>
> I've created a set of test binaries for the NFSv4.1 filesystem driver
> for Windows, based on https://github.com/kofemann/ms-nfs41-client
> (commit id #43852f547ce80b3b33bb05c2e993e322d2264dfa), for testing and
> feedback (download URL below).
> Please send comments, bugs, test reports, complaints etc. to
> https://sourceforge.net/projects/ms-nfs41-client/lists/ms-nfs41-client-devel
>
> # 1. Requirements:
> - Windows 10 (64bit, without SecureBoot!!)
> - Cygwin 3.5.0
> (Install in Cygwin setup.exe, Install with checkboxes "Testing" and "Sync")
>     - Packages:
>         cygwin
>         cygwin-devel
>         cygrunsrv
>         cygutils
>         cygutils-extra
>         bash
>         bzip2
>         coreutils
>         getent
>         gdb
>         grep
>         hostname
>         less
>         pax
>         pbzip2
>         procps-ng
>         sed
>         tar
>         time
>         util-linux
>         wget
>
>
> # 2. Installation (as "Administrator"):
> $ mkdir -p ~/download
> $ cd ~/download
> $ wget 'http://www.nrubsig.org/people/gisburn/work/msnfs41client/releases/testing/msnfs41client_cygwin_binaries_20231230_14h12m_git43852f5.tar.bz2'
> $ (cd / && tar -xf
> ~/download/msnfs41client_cygwin_binaries_20231230_14h12m_git43852f5.tar.bz2
> )
> $ /sbin/msnfs41client install

This fails on Windows 11, because two DLLs are missing:
VCRUNTIME140D.dll
ucrtbased.dll

Could you please package these DLLs too?

The workaround is to install Visual Studio 19.

>
>
> # 3. Deinstallation:
> $ (set -x ; cd / && tar -tf
> ~/download/msnfs41client_cygwin_binaries_20231230_14h12m_git43852f5.tar.bz2
> | while read i ; do [[ -f "$i" ]] && rm "$i" ; done)
>
>
> ##
> ## Usage
> ##
>
> # Run the NFSv4 client daemon:
> # - run this preferably as "Adminstrator", but this is not a requirement
> # - requires separate terminal
> $ /sbin/msnfs41client run_daemon

This fails because the script wants cdb.exe (is this WinDBG command
line?). I added a # to that line, and then the script runs.

It would be nice if you could add this to Cygwin cygrunserv to run
msnfs41client run_daemon as Windows service

>
> # Mount a filesystem and use it
> $ /sbin/nfs_mount -o rw N 10.49.20.110:/net_tmpfs2
> Successfully mounted '10.49.20.110@2049' to drive 'N:'
> $ cd /cygdrive/n/

This fails too, until I figured out that the Linux nfs server needs
the export line "insecure". Could you please fix this?

So after fixing all this, nfs_mount succeeded. HURRAY!!

So, permissions/ownership seems to be an issue, so I created a tmp/
dir, and did a chmod a=u tmp, so everyone can r/w to that dir. And
then Windows can even WRITE there.

Quick test, Word and Excel can read and write files.
Moving big and small files works.
Watching videos from NFS filesystem work
Overwriting/replacing files created on Linux fails with a permission
error, which is correct.
clang can compile on the NFS filesystem a hello world application
wget on NFS filesystem works

So far it looks VERY good :)
-- 
Dan





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux