Groups | Search | Server Info | Login | Register


Groups > alt.os.linux.mint > #43961

(resolved) Re: very odd nfs behaviour

From Mike Scott <usenet.16@scottsonline.org.uk.invalid>
Newsgroups alt.os.linux.mint, comp.os.linux.networking, comp.unix.bsd.freebsd.misc
Subject (resolved) Re: very odd nfs behaviour
Date 2025-01-27 15:41 +0000
Organization Scott family
Message-ID <vn89fh$10eh8$1@dont-email.me> (permalink)
References <vn0gn0$2ajlc$1@dont-email.me> <wwvldv0rt9i.fsf@LkoBDZeT.terraraq.uk>

Cross-posted to 3 groups.

Show all headers | View raw


[ comp.unix.bsd.freebsd.misc added ]

On 24/01/2025 17:55, Richard Kettlewell wrote:
> Mike Scott <usenet.16@scottsonline.org.uk.invalid> writes:
>> A very odd situation here.
>>
>> I have a (freebsd) server serving a tree of photos and information
>> files. It's large, and the paths quite long - whether that's relevant
>> I don't know.
> 
[ screed about file names being truncated when read over nfs ]
.......
>>
>> I'm at a loss! Can anyone suggest what's going on here please? I'm
>> sure this used to work!
> 
> Formerly, Linux NFS servers could get confused by large directories.
> https://lwn.net/Articles/544520/ is the best writeup I’ve found.
> 
> In your case the server is FreeBSD, so Linux’s historical bugs aren’t
> directly relevant, beyond highlighting that merely listing a directory
> is more complex than you might initially imagine. I’m not sure why a
> hypothetical similar bug in FreeBSD would only be visible on a subset of
> clients either.
> 


OK, I've at least found what's happened, if not the root issue. Sort of 
mea culpa, for which I apologise.

In spite of my assertion (which I should have checked and didn't), the 
mount options differed. The working machines all specified rsize=8192. 
My box was using a much larger figure, of 131072 (ie 32 * 4096).

It seems anything over 8192 causes this issue - that filenames get 
truncated.

Whether that's a linux client issue or a freebsd server issue, or the 
result of interworking, I've no idea. Nor can I imagine why it should 
happen without errors being flagged up somewhere (I checked the logs at 
both ends) -- which is nasty, because I had a system that met the specs 
and mostly worked but very occasionally (< about 1 in 100k times, I 
reckon) failed silently. Ouch.


Anyway, thanks to all for comments and advice offered. I'm back 'on the 
road'; maybe if someone else hits the same issue they'll find this thread.



-- 
Mike Scott
Harlow, England

Back to alt.os.linux.mint | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

very odd nfs behaviour Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-01-24 16:56 +0000
  Re: very odd nfs behaviour Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-01-24 17:00 +0000
  Re: very odd nfs behaviour Edmund <nomail@hotmail.com> - 2025-01-24 18:01 +0100
    Re: very odd nfs behaviour Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-01-24 17:30 +0000
  Re: very odd nfs behaviour Richard Kettlewell <invalid@invalid.invalid> - 2025-01-24 17:55 +0000
    (resolved) Re: very odd nfs behaviour Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-01-27 15:41 +0000
      Re: (resolved) Re: very odd nfs behaviour Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-27 23:24 +0000
        Re: (resolved) Re: very odd nfs behaviour Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-01-28 08:06 +0000
          Re: (resolved) Re: very odd nfs behaviour "Carlos E.R." <robin_listas@es.invalid> - 2025-01-28 12:34 +0100
          Re: (resolved) Re: very odd nfs behaviour pinnerite <pinnerite@gmail.com> - 2025-01-28 22:58 +0000
  Re: very odd nfs behaviour azigni <azigni@yahoo.com> - 2025-01-24 19:38 +0000
  Re: very odd nfs behaviour "Carlos E.R." <robin_listas@es.invalid> - 2025-01-24 22:56 +0100
    Re: very odd nfs behaviour Paul <nospam@needed.invalid> - 2025-01-24 17:34 -0500
      Re: very odd nfs behaviour "Carlos E.R." <robin_listas@es.invalid> - 2025-01-25 01:45 +0100
    Re: very odd nfs behaviour Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-01-25 17:02 +0000
  Re: very odd nfs behaviour Gordon <Gordon@leaf.net.nz> - 2025-01-24 23:59 +0000
  Re: very odd nfs behaviour "Arti F. Idiot" <addr@is.invalid> - 2025-01-24 17:13 -0700
  Re: very odd nfs behaviour Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-26 00:01 +0000
  Re: very odd nfs behaviour Grant Taylor <gtaylor@tnetconsulting.net> - 2025-01-25 20:08 -0600

csiph-web