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

In solaris we have 2 directories for commands. what are they..? is there any difference b/w those..?

3 Answers  


In TOP command, can you please explain what is the three numbers reported as part of the load average output "load average: 11.57, 9.84, 8.26"

2 Answers   IBM,


Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.

2 Answers   HP,


What is OBP and how u r going to access it?

3 Answers  


what are the real time issues faces normally in daily routine for a solaris admin?

3 Answers   Ericsson,






how u will recover the disk group

2 Answers   IBM,


what is daemon? NFS & NIs – Daemons?

4 Answers   IBM,


What are the two settings you can change to make a system boot faster?

3 Answers  


what is the use of /etc/path-to-inst file..?

4 Answers  


How would you freeze a service group?

1 Answers  


how to create nis master,slave,client

2 Answers   IBM,


If a user logs in to UNIX, it displays the desktop and then immediately logs you back out, what could be wrong?

2 Answers   Satyam,


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)