Solaris / OpenSolaris Mount Windows Shared (CIFS)

www.la‮c.iruttu‬om
Solaris / OpenSolaris Mount Windows Shared (CIFS)

To mount a Windows shared (CIFS) folder on Solaris or OpenSolaris, you will need to install the CIFS client package and use the mount command.

  1. Install the CIFS client package: You will need to install the CIFS client package in order to access Windows shared folders from Solaris. To do this, run the following command:
pkg install samba-client
  1. Create a mount point: A mount point is a directory where the shared folder will be mounted. Create a mount point by running the following command:
mkdir /path/to/mount/point

Replace /path/to/mount/point with the path to the mount point you want to create.

  1. Mount the shared folder: Use the mount command to mount the shared folder. For example:
mount -F cifs -o username=USERNAME,password=PASSWORD //server/share /path/to/mount/point

Replace USERNAME and PASSWORD with your Windows login credentials, server with the name or IP address of the Windows server, and share with the name of the shared folder. /path/to/mount/point should be the path to the mount point you created in step 2.

The shared folder should now be mounted and accessible from the mount point.

Note: These commands require root privileges to execute.

Created Time:2017-10-30 14:27:19  Author:lautturi