Re: NFSv4.x export options to mark export as case-insensitive, case-preserving? Re: LInux NFSv4.1 client and server- case insensitive filesystems supported?

Cedric Blancher
2025-09-09T16:34:36Z

On Tue, 9 Sept 2025 at 18:12, Chuck Lever <chuck.lever@oracle.com> wrote:
>
> On 9/9/25 12:06 PM, Cedric Blancher wrote:
> > Due lack of a VFS interface and the urgend use case of needing to
> > export a case-insensitive filesystem via NFSv4.x, could we please get
> > two /etc/exports options, one setting the case-insensitive boolean
> > (true, false, get-default-from-fs) and one for case-preserving (true,
> > false, get-default-from-fs)?
> >
> > So far LInux nfsd does the WRONG thing here, and exports even
> > case-insensitive filesystems as case-sensitive. The Windows NFSv4.1
> > server does it correctly.
>
> Hi Cedric,
>
> Can you send a pointer to some documentation for the Windows NFSv4.1
> implementation of this feature?

That is just ON by default for the Windows NFSv4.1 server if you
export NTFS, and OFF by default for DVDs.
We never had to change it.

https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nfsadmin
explains a bit of it, but for Windows Server 2022 and 2025 it's a bit
different. Part of the more interesting docs are behind a
paywall/Microsoft login.

FYI like NTFS, you can pass a translation file, which can be used to
do the codepoint mappings between uppercase and lowercase.

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