NFS drops connection for medium-to-large transfers
I'm attempting to share a directory on my Linux box with my PowerBook with NFS. The Linux box has a static IP; the PowerBook is behind an AirPort, which is acting as a NAT/router on the same LAN as the Linux box (with its own static IP). By putting the AirPort's IP in the hosts.allow and exports files, it will allow me to mount the directory on the PowerBook. I can get directory listings of directories containing a handful of items and can read small files.
However, medium-to-large files and even large directory listings cause the connection to drop in one of several ways: I get "not responding" errors on the client (PowerBook) side and I'm no longer mounted, Mac OS X notices the lack of response and notifies me that I've been "disconnected" and I'm no longer mounted, or, rarely, I'll just get nothing back and stay mounted. There's nothing in /var/log/syslog on the server-side except my connection attempts. As far as I can tell, nfsd does not consume large amounts of system resources during these accesses.
I'd like to try the NFS-HOWTO's suggestion at 7.8, about mounting with the rsize and wsize options. Is this the syntax: mount -o rsize=1024,wsize=1024 hostname.org:/mount /localmount ? I don't notice a difference.
Is there anything particular about my AirPort set-up that makes this a weird thing to do?
And finally: What would you consider the best way to share files between Linux and Mac OS X? I chose NFS because Samba seemed a little round-a-bout, and scp/sftp was getting tedious. I'll also take NFS/wi-fi security complaints, if you have any.
Thanks for any assistance you can provide!