I try to access a NFS mount via FTP. It works but the FTP Dir listing is very slow

Posted by W0bble on Server Fault See other posts from Server Fault or by W0bble
Published on 2012-06-21T20:36:24Z Indexed on 2012/06/21 21:17 UTC
Read the original article Hit count: 179

Filed under:
|
|

I mount an NFS using this command:

mount -o rsize=8192,wsize=8192,timeo=14,intr serverip:/directory /mnt/directory

However the mount appears on the client as expected a cmd like "ls -a" work pretty fast on the nfs mount. But when I try to list the mounted directory via FTP it gets very very slow ( 1.250 bytes in 160,39s (0,01KB/s) ). But surprisingly downloading files via FTP from nfs work with normal speeds.

I tested several values for rsize and wsize parameter with no success.

Both client and server are running Debian squeeze and NFSv4

© Server Fault or respective owner

Related posts about ftp

Related posts about nfs