The first thing to ensure is that the proper daemons for running NFS are started. If unsure, I will typically just run them when I cannot determine whether or not they are running:
$ su -
$ cd /usr/lib/nfs
$ ./mountd
$ ./nfsd
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
How to Unmount an NFS File System
Finally, let's unmount the previously mounted file system:
# umount /mnt/software
沒有留言:
張貼留言