DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-06-11 22:28:08

djhomeless
Member
Registered: 2007-05-27
Posts: 8

NFS filename limits?

Does anyone know if there are any problems with filename lengths in NFS via OSX?

I've got fonz's nfs working via fun_plug.d and it does seem to be much faster than smb and afp. Only problem is I can't sync up any files that have long filenames...ironically enough I don't have the same problem with smb and afp and I thought NFS had longer limits.

Any ideas? smb is slow as a donkey cart.

Geoffrey

Offline

 

#2 2007-06-11 22:35:17

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: NFS filename limits?

up to 255 characters works

Offline

 

#3 2007-06-11 22:42:04

djhomeless
Member
Registered: 2007-05-27
Posts: 8

Re: NFS filename limits?

Hmm, I'm dragging a folder over, and even including the characters in the folder name I'm not going about 150. Weird that it works in Samba.

Offline

 

#4 2007-06-11 23:50:23

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: NFS filename limits?

On LInux there's a "nfsstat" program that shows what NFS version is used. Don't know if NFSv2 has smaller limits than v3. Have you checked that?

Offline

 

#5 2007-06-11 23:57:27

djhomeless
Member
Registered: 2007-05-27
Posts: 8

Re: NFS filename limits?

Do you know which flag I should set? OSX supports nfsstat but all the options I can see return a list of read/write statistics.

Offline

 

#6 2007-06-11 23:58:21

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: NFS filename limits?

Yes, but only one block has non-zero values.

Offline

 

#7 2007-06-12 00:01:27

djhomeless
Member
Registered: 2007-05-27
Posts: 8

Re: NFS filename limits?

I'm not sure if this is any use, but here is my output:

Client Info:
Rpc Counts:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create    Remove
       55         0      4827         1      2320         0         0         0
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus    Access
        0         0         3         4         0        60         0     11819
    Mknod    Fsstat    Fsinfo  PathConf    Commit
        0        93         2         0         0
Rpc Info:
TimedOut   Invalid X Replies   Retries  Requests
        0         0        11        32     19185
Cache Info:
Attr Hits    Misses Lkup Hits    Misses BioR Hits    Misses BioW Hits    Misses
    12690      2379        64      4824         0      2319         0         0
BioRLHits    Misses BioD Hits    Misses DirE Hits    Misses
       49         1         4        32         4         0

Server Info:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create    Remove
        0         0         0         0         0         0         0         0
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus    Access
        0         0         0         0         0         0         0         0
    Mknod    Fsstat    Fsinfo  PathConf    Commit
        0         0         0         0         0
Server Ret-Failed
                0
Server Faults
            0
Server Cache Stats:
   Inprog      Idem  Non-idem    Misses
        0         0         0         0
Server Write Gathering:
WriteOps  WriteRPC   Opsaved
        0         0         0

Offline

 

#8 2007-06-12 00:10:59

djhomeless
Member
Registered: 2007-05-27
Posts: 8

Re: NFS filename limits?

Hmm, the issue maybe moot. I'm just copying over some files and the speed is horrendous, slower than smb with the same sample files.

Offline

 

#9 2007-06-12 00:19:16

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: NFS filename limits?

djhomeless wrote:

Hmm, the issue maybe moot. I'm just copying over some files and the speed is horrendous, slower than smb with the same sample files.

True, could be faster (it's fast enough for my wireless connection, though). I guess kernel-based NFS will be much better. And I haven't tried NFS over TCP yet.
My nfsstat output looks a little different, maybe "nfsstat -3" shows the numbers is question...

Offline

 

#10 2007-06-12 00:20:29

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: NFS filename limits?

Btw, you should mount with "rsize=16384,wsize=16384" or larger. Also "async" option might give another speed bonus for some operations.

Offline

 

#11 2007-08-12 16:49:37

s_mario
New member
Registered: 2007-08-12
Posts: 1

Re: NFS filename limits?

fonz wrote:

Btw, you should mount with "rsize=16384,wsize=16384" or larger. Also "async" option might give another speed bonus for some operations.

Is it possible to mount with 32K rsize/wsize? This would be useful for Video-Streaming with dbox2.


Thanks!

Offline

 

#12 2007-08-13 23:53:30

mre
Member
From: LO in Germany
Registered: 2007-08-05
Posts: 21

Re: NFS filename limits?

For perfect video streaming to DBOX2 and back you must connect the DBOX2 with rsize=4096 and wsize=32768. But don't try to do other things on the NAS if you stream video, leads to video breaks.

Offline

 

#13 2007-08-22 16:03:06

Focher
Member
Registered: 2007-05-23
Posts: 35

Re: NFS filename limits?

Any luck on this problem? I experience the same issue and wonder if there is a solution.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB