I have two solaris server :
1) 192.168.10.101
2) 192.168.10.102
I want to share /data from 192.168.10.101 to /data on 192.168.10.102 :
@192.168.10.101 :
– Command to sharing /data folder with read and write access :
bash-3.2# share -F nfs -o rw /data
– Change permission for /data, i want to share it to all person on my server environtment :
bash-3.2# chmod -R 777 /data
– Enabling the NFS server :
bash-3.2# svcadm -v enable -r network/nfs/server
@192.168.10.102 :
-Now we need to mounting the NFS server shared folder :
bash-3.2# mount -F nfs 192.168.10.101:/data /data
-Check the new mounted shared folder:
bash-3.2# df -kh
Result : 192.168.10.101:/data 29G 8.0G 21G 28% /data
-Make it permanent, put the newline in the bottom, and save it :
bash-3.2# vi /etc/vfstab
192.168.10.101:/data – /data nfs – yes rw,soft
-Test the vfstab :
bash-3.2# umount /data
bash-3.2# mount -a
bash-3.2# df -khresult : 192.168.10.101:/data 29G 8.0G 21G 28% /data
Ok that’s it how to make sharing folder on solaris 10.
You must be logged in to post a comment.