Monday, June 24, 2013

Share Folder On Solaris For Window Purpose

In this article i will show how to share folder in Solaris and use this folder for Copy/Paste in windows , I will use NFS so you need to make sure it's already enable in Windows


  • Select Control Panel.
  • Select Programs.
  • Select Programs and Features.
  • Select Turn Windows Features on or off.
  • Select Services for NFS.
  • Select the check box Client for NFS and click OK.

Now On Solaris Side , Using Share command 

share [-F fstype] [ -o options] [-d ""] [resource]

Create Folder and use the below command to share 

share -F nfs -o rw -d "codereview dirs" /u01/Shared --> my Shared Folder


root@Host:/u01# cat /etc/dfs/sharetab 

/u01/hmmdb u01_hmmdb nfs sec=sys,rw codereview
/u01/Shared u01_Shared nfs sec=sys,rw
Now back to windows open Command Prompt "cmd"

and run the below command :

showmount -e Server-IP 

Exports list on :
/u01/Shared                        All Machines
/u01/hmmdb                         All Machines
Command to share on windows :
mount -o mtype=hard Server-IP:Path_for_share_folder name drive letter or *

mount -o mtype=hard server-ip:/u01/Shared Z:

Done

Thank you 
Osama mustafa

No comments:

Post a Comment