SERVER:
1.) Enable your NFS server on Solaris 10 with the following command:
- svcadm -v enable /network/nfs/server
- share -F nfs -o rw /home/somefolder
CLIENT:
1.) Mount the
NFS share from the server with the following command.mount -F nfs servername:/home/somefolder /mount_point
- servername:/home/somefoler - /mount_point nfs - yes rw,soft
- servername:/storedge/nfsStorage/oradata1 - /oradata nfs - yes hard,bg,proto=tcp,vers=3,suid,rsize=32768,wsize=32768,noac,forcedirectio
If you cannot enable the service. Make sure that you have the nfs package installed. you should be able to install with package management software. Or you can use the discs you installed Solaris 10 from.
If you cannot connect to the server share, make sure DNS is properly configured on the client. If the client is not using DNS simply add the IP and servername to your client's /etc/hosts file.
This can be tested by simply 'pinging' the server from the client, (# ping servername/ip)
if you are not comfortable with vi editor. Please using a GUI (gedit) editor for the vfstab file. Each bulleted entry above should be one line, do not press the return key until you have typed the full line. Do not worry if you run out of space and the screen you are using wraps the text to a new line.
No comments:
Post a Comment