NFS SOlaris 10

por | 27 noviembre, 2008

1. enable NFS server by running the following: svcadm -v enable -r network/nfs/server

2. Run the following command will not persist over reboots.

share -F nfs -o rw /webpool

To persist over reboots, add an entry to /etc/dfs/dfstab

/etc/dfs/dfstab" 13 lines, 430 characters

# Place share(1M) commands here for automatic execution
# on entering init state 3.
# Issue the command 'svcadm enable network/nfs/server' to
# run the NFS daemon processes and the share commands, after adding
# the very first entry to this file.
# share [-F fstype] [ -o options] [-d ""]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2

share -F nfs -o rw /webpool/nas

to verify share exports



3. Run the following command to mount from the client side:

mount -F nfs server:/webpool /mountpoint

Sample /etc/vfstab File – (Solaris)