how to share a directory with nfs server and how client
mount the nfs share

Answers were Sorted based on User's Feedback



how to share a directory with nfs server and how client mount the nfs share..

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

how to share a directory with nfs server and how client mount the nfs share..

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

how to share a directory with nfs server and how client mount the nfs share..

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

Post New Answer

More Solaris AllOther Interview Questions

If ping command is not working then how to check the status of the server..?

2 Answers  


If you can ping a server, but can't telnet or ssh to it, whats wrong?

8 Answers   HCL,


how to know the creation time of users and creation time of zones in solaris

1 Answers  


What is the zone in DNS?

0 Answers  


What is the procedure to do kernel patching?

4 Answers   IBM,






how many layouts we have in veritas volume manager and what is the task of those layouts?

6 Answers   IBM,


What does ndd do?

2 Answers  


How to quickly mirror a volume, if the volume is empty?

4 Answers  


how can u crete snapshot

1 Answers   HCL,


how u can push the user details in NIS

2 Answers   IBM,


Difference between Console and terminal

3 Answers  


please give detail procedure how do replace failed disk under control of SVM and VxVm

3 Answers   TCS,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)