Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS -how to share a directory

Status
Not open for further replies.

gfunk123

IS-IT--Management
May 22, 2001
143
GB
I am setting up some additional space on a remote server for one of the users - I am quite new to solaris and have been advised to 'create a directory , share it ready for mounting and then mount it from the client machine.

I am fine with creating the directory and even the last step of mounting the folder on the clients fs, but how the hell do I share the foder, is there a command to do this ? do I need to do this at all?.

If anybody knows the commands that would be great

thanks
 
on server
1) you edit /etc/exports and mark your directory here
2) you start portmapper
3) you start nfsd -tun 8
4) you start mountd

on client
you run

mount host:/export/name /local/path

thats it - read relevand docs (man nfsd mountd exports) if something fails as this recipe is not taken from Solaris nor SunOS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top