Thursday, February 23, 2006

Using NFS on Solaris

NFS on solaris
To start the NFS services:
$ su -
$ cd /usr/lib/nfs
$ ./mountd
$ ./nfsd

# mountd: RPC server that answers requests for NFS access information and file system mount requests
# nfsd: The daemon that handles client file system requests

Sharing A File System

The following example will share a file system /software so that others may be able to mount it:

# share /software

If I want to check all file systems being shared from my system:

# share
- /software rw ""

How to NFS A File System

Now, from another machine, I want to NFS the file system that is being shared above:

# mount -F nfs alex:/software /mnt/software

No comments: