macOS NFS

Sometimes the obvious isn’t obvious.

Connecting macOS workstations to Network File System (NFS) shares is sometimes less convenient than Server Message Block (SMB/CIFS) shares.

If you’re connecting your macOS workstation to your NAS you may experience problems with flame if you are not using NFS.

Here is a reasonably simple guide for one method of enabling NFS connections from your macOS flame to your NAS.

  1. Enable a static IP address for your NAS (This is defined in your router settings)

  2. Define a shared directory on your NAS and enable NFS sharing.

  3. Edit the auto_master file:
    Open the Terminal on your macOS workstation and edit the /etc/auto_master file using a text editor like nano or vi:

    sudo nano /etc/auto_master
    

    Add a line at the end of the file to reference a new map file:

    /-    auto_nfs
    
  4. Create the auto_nfs map file:
    Create a new file called /etc/auto_nfs and define the mount points and corresponding NFS shares. For example:

    sudo nano /etc/auto_nfs
    

    Add the following lines to the file, replacing your-nfs-server and your-share with the appropriate values:

    /path/to/mount/point    -fstype=nfs,rw,nfsvers=4    nfs://your-nfs-server:/path/to/your-share
    
  5. Reload the autofs service:
    After editing the files, reload the autofs service to apply the changes:

    sudo automount -vc
    

This setup should automatically mount the NFS shares when they are accessed, but in some instances, you may need to create

/path/to/mount/point

10 Likes

EXTREMELY related..

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Unable-to-edit-etc-exports-and-auto-master-file-on-Mac-after-Flame-2023-2-updates.html

insanity…. Flame is such a convoluted ecosystems. I’ve been yelling for a decade, that it needs to behave like “just app”, similar to Nuke and ever other software out there. Resolve somehow plays nicely with the world.

3 Likes

been sitting here trying to get macos to accept that i want a larger read and writebuffer for NFS than 32K but ITS REFUSING TO LISTEN TO ME !!! :smiley:

Resolve project server setup : 10 minutes in docker

Flame Project server; a lifetime of fun

1 Like

It so needs to be this!

Those instruction don’t work. Or to rephrase, they haven’t for me for exports. I gave up trying till I had more time to investigate.

Just a heads up…

same.

also /host is protected and autodesk doesnt want me to use nfs v4 for whatever reason.

I’ve used this for years it just makes life easier.

3 Likes

Same for me.. haven’t been able to get my Mac and Linux box to ‘talk’ .. gave up, too busy to be doing the reluctant sysadmin thing.. oh.. and back in the day I had no problem getting machines to talk, even in the irix days when using sdp over infiniband.. :person_shrugging: