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 Sun, 31 Dec 2023 at 01:05, Dan Shelton <dan.f.shelton@xxxxxxxxx> wrote:
>
> On Sat, 30 Dec 2023 at 22:25, Martin Wege <martin.l.wege@xxxxxxxxx> wrote:
[[CUT--CUT--CUT]]
> > 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
[[CUT--CUT--CUT]]
> > # 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?

Or just link them statically.

[[CUT--CUT--CUT]]
> > # 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?

Not sure whether this can be fixed at all. The nfsd server requires
that nfs clients connect from a TCP port < 1024, and Windows just
doesn't allow a bind() to a port < 1024. I had that debate with
Roland, and for now its "under investigation" what could be done.

>
> 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

BUG: Windows 11 Explorer shows  the NFS mount as "disconnected"

> So far it looks VERY good :)

Agreed.

Many thanks go to Roland Mainz and Tigran Mkrtchyan for working on this

Ced
-- 
Cedric Blancher <cedric.blancher@xxxxxxxxx>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur




[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