Search This Blog

Enable NFS server -32bitclients option on Mac OS X 10.4 Tiger

 enable -32bitclients option on the NFS server can 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`

See also:




No comments:

Post a Comment