Question about debugging NFS on the Mac
Question about debugging NFS on the Mac
- Subject: Question about debugging NFS on the Mac
- From: Jeff Stripling <email@hidden>
- Date: Tue, 17 Jan 2012 19:15:08 +0000
- Thread-topic: Question about debugging NFS on the Mac
Hi, my name is Jeff Stripling and I work for Crossroads Systems in Austin, Texas. We are mostly Linux developers new to the Mac, but we are
committed to making our product work in the Mac environment and could use some expert help.
My company is developing a storage product for use with the Mac. We are
creating an "archiving" appliance, which is a combination of storage on disk
(for short term storage, really a cache) and tape (for long term archival storage). Because files are migrated to tape, we can have long delays
when retrieving the contents of a file from tape, possibly several
minutes or more.
We are using NFSv3 on our CentOS 6 box to serve shares to
the Mac, and we are seeing some problems when using the Finder to copy
files to and from our box.
Specifically, we see these problems:
* Occasionally, we get an Error -36 dialog, with different error messages.
* During transfers of large numbers of files, we see the Finder simply
stop copying files, as if the transfer was complete. When we compare
the two directories, we see that some files and directories did not get
copied. We see no error dialog in this case, the copy appears to have
worked.
We are trying this using 10.6.8 and 10.7.1 and seeing similar results.
When we setup our NFS shares, we use these advanced mount options:
dumbtimer,timeo=300,intr,hard,nolocks,locallocks,rwsize=65536,resvport
I posted originally to this thread on the developer Core OS Networking forum:
https://devforums.apple.com/thread/137972?tstart=0
Quinn "The Eskimo!" suggested I ask this list for help as well... so I am!
We have a few questions and we appreciate any help you can provide:
1. What is the best practice for debugging NFS problems on the Mac?
We have a lot of logging information on our side, but we are just now
learning the best way to get the same information out of the Mac side.
Quinn recommended we use fs_usage and dtrace to get more logging
information. We are learning those tools, but are there others?
2. Quinn suggested that the problem with files and directories
being silently skipped was because the Mac thought that it
reached the end of the directory.
Has anyone else seen the Finder simply skip directories or files
during an NFS transfer and if so, what was the source of the problem?
3. Did we make the best choice for the NFS advanced mount options?
4. Does anyone know the units on the timeo value? 'man mount_nfs'
on 10.6.8 describes the parameter but does not describe the units
5. Is it possible to have a rwsize larger than 65K? File opens and
closes are expensive for us, especially with larger files. We
would like to transfer larger chunks but it appears that the Mac
is limited to 65K at a time for NFSv3.
Thanks for any help,
Jeff Stripling
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden