Tiny Deathstars of Foulness

I wrote about using the smbutil for DFS in Lion awhile back. I haven’t needed to write anything else as it hadn’t changed since. The statshares option has an -m option to look at a mount path for showing the path to the mount (e.g. if the mount is called krypted this should be something like /Volumes/krypted): smbutil statshares -m /Volumes/krypted When run, you see a list of all the attributes OS X tracks for that mount path, including the name of the server, the user ID (octal), how SMB negotiated an authentication, what version of SMB is running (e.g. SMB_1), the type of share and whether signing, extended security, Unix and large files are supported. Additionally, if you’d like to see the attributes for all shares, use the -a option after statshares: smbutil statshares -a Overall, this is a nice health check type of verb to the smbutil command that can be added to any monitoring or troubleshooting workflow.

October 4th, 2015

Posted In: Mac OS X, Mac OS X Server

Tags: , , ,

  • sw~

    Kind of odd to silently edit the post based on my feedback without actually approving my comment, no?

    • krypted

      FYI, I don’t have to approve any comments. They automatically post unless Disqus marks them as spam.

  • krypted

    You actually made the comment on a different article at And I replied to the comment, found the one you were actually referring to and made the change. So no, I don’t find it odd. 😉