Mostly OS X Admin Related
SMB2 and 3 Enrichment Reading
Ever since Apple announced they were replacing Apple Filing Protocol (AFP) with Server Message Block (SMB) as the default file sharing language in OS X 10.9 “Mavericks” and beyond, Mac admins have had a love and hate relationship with trying to get SMB working in their environment. A love of not having to be the odd man out in the file sharing world, and a hate of trying to make SMB perform as reliably as the well-worn AFP. If your environment is supporting Macs that use SMB servers, a handful of links should be enlightening (and required) reading regarding why performance issues exist. While these links alone won’t fix issues, they will provide insight into what’s going on:
- [Samba] Mac OS Mavericks über slow
An enlightening mailing list post from Ralph Böhme detailing the behavior of the Finder when obtaining file lists from a SMB server, as well as discussing Apple’s addition of the “AAPL” SMB2 Create Context. Ralph’s emails on the MacEnterprise Mailing List (Google Groups link for MacEnterprise Mailing list for easier reading) and other mailing lists are always worth reading.
- Ask The Expert, OneFS and the Mac: Command+K to Awesome!
An online Q and A session with Bernie Case of EMC regarding OS X interacting with EMC’s NAS products. Worth reading even if you’re not an EMC customer.
- vfs_fruit (better Samba/Netatalk integration)
“Starting with Samba 4.2 a new VFS module called vfs_fruit (instead of vfs_apple) will be available to Samba that will address the most common challenges accessing the same set of data from OS X clients via AFP and SMB: File/record locking, encoding quirks introduced by Apple and especially access to Finder metadata and ressource forks.” Note Samba 4.2 was released on March 4, 2015.
If your current file sharing vendor doesn’t support a feature like “vfs_fruit” (the last bullet above), use the above links to write a feature request for your vendor. In our case, we submitted a NetApp feature request (FPVR-00046972, feel free to add the voice of your organization!) to implement the “AAPL” SMB2 Create Context as discussed in the SMB2 source for OS X 10.9 Mavericks and OS X 10.10 Yosemite.