Mac OS X Tiger NFS Server: Enable 32bitclients Option
  • Note: enable -32bitclients is to fix the problem: NFS + readdir() issues in 10.4?
  • 1. Dump the existing exports, if any, to a file. Start the Terminal application. Type the following commands at the prompt:
    • su root
    • nidump -r /exports . > ~/exportfile
    • Note that the '.' indicates the current domain.
    • This places a list of all the existing exports in a file, using a property-list notation.
  • 2. Edit the file to add new exports or modify existing exports.
    • cp ~/exportfile ~/exportfile.bkup
    • vi ~/exportfile
{
  "name" = ( "exports" );
  CHILDREN = (
    {
      "name" = ( "/Volumes/home" );
      "opts" = ( "32bitclients", "maproot=nobody" );
    }
  )
}
  • 3. Load the modified exports back into Netinfo.
    • niload -r /exports . < ~/exportfile
  • 4. If something goes drastically wrong, restore the original exports:
    • niload -r /exports . < ~/exportfile.bkup
  • 5. Restart the server. (Alternatively, if you feel lucky, use Terminal.app to start 'mountd' if it's not running, or send it a SIGHUP if it is by typing the following command:
    • kill -HUP `cat /var/run/mountd.pid`
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License