DevTech101

DevTech101
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Mounting SMB / CIFS Shares in Solaris 11

Today I came across the need to mount a CIFS share on a Solaris server. The first thing you got a do, is set a user / password, you can do so by running the below.
smbadm show-shares -t nas1.domain.com -u admin1
Next, lest enable the SMB SMF service.
svcadm enable -r network/smb/client
Now, lets explorer the available shares.
smbadm show-shares -t -u admin1 nas1.domain.com
Enter password: 
SHARE               DESCRIPTION
share1
share2
[..] snip
Now, lets mount one of the shares.
mount -F smbfs //nas1.domain.com/share1 /mnt1

# Optional options you can specify 
mount -F smbfs [-o user=username,domain=domain-name,...] //server/share mount-point
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: