how to share a directory with nfs server and how client
mount the nfs share
Answers were Sorted based on User's Feedback
Answer / norton anti virus
vi /etc/dfs/dfstab
share -F nfs /ibm
wq!
exportfs -va - to export the directory
dfshares - to see the shares
client
mount -F nfs sun1:/ibm /ibm
vi /etc/vfstab
sun1:/ibm - /ibm - nfs - - yes
wq!
df -k - to see in if its mounted
cd /ibm and see the content
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / venkat
#share /test
#vi /etc/dfs/dfstab
share -F nfs -o rw -d "home dirs" /test
:wq!
#dfshare
From clientside
#showmount -e <nfs server ip>
#mount -F nfs <nfs server ip>:/test /home
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / daves
This is incorrect for Solaris; it doesn't have the exportfs
command.
You can edit the dfstab, as shown, which will take effect at
the next boot. Run the share command as it is in the file to
share immediately. (In Solaris 10 it's not necessary to
start the NFS server daemons first.)
The mount command is correct, except that the /ibm directory
must be created on the client before the mount.
The vfstab entry is incorrect. Depending on the importance
of the share, it could be:
sun1:/ibm - /ibm nfs - yes soft,bg
| Is This Answer Correct ? | 1 Yes | 0 No |
What is cachefs?
how to take backup and restore with Ufsdump and Ufsrestore and full backup
Are kernel parameters tunable during runtime?
How to detect a newly added device if you are not able to detect the device using devfsadm?
how to see open ports?
what is a milestone and, how can we change the default milestone?
What is RPC?
what is df -kh i/o error ?How to Troubleshoot ?
In solaris we have 2 directories for commands. what are they..? is there any difference b/w those..?
What is a Split brain scenario ?
What is the difference between NFS version 2 and NFS version 3?
u have 10 solaris boxes and u have given to add 200 users? At fast how can u add the 200 users?