Go to main content

Managing SMB File Sharing and Windows Interoperability in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

How to View the List of Mounted SMB Shares

This procedure shows how to list all of the SMB shares that are mounted on your system. The resulting list includes your mounts, other users' mounts, and multiuser mounts created by the system administrator.

  • List all SMB mounts.

    Use one of the following commands to list the mounted SMB shares:

    $ mount -v | grep 'type smbfs'
    //solarsystem/tmp on /mnt type smbfs read/write/setuid/devices/dev=5080000
      on Tue Mar 29 11:40:18 2011
    //solarsystem/files on /files type smbfs read/write/setuid/devices/dev=4800000
      on Mon Mar 28 22:17:56 2011

    Note that the mount command includes information about the mount options specified at mount time. You can also use the df command with the –F smbfs option to list the SMB mounts.

    $ df -k -F smbfs
    //solarsystem/tmp      1871312   70864 1800448     4%    /mnt
    //solarsystem/files    8067749    8017 7979055     1%    /files