mount -t nfs -o <options> server-name-or-ip-address:/<file_system_to_mount> /<file_system_to_mount>
Put entry of client in /etc/exports on the nfs server
check in /var/log/messages for any errors
As you know, you can store your data in different physical storage devices, like floppies, CD-ROMs, and hard disk drives. Your hard disk or disks are also very likely split up into different partitions with different filesystems.
If you're migrating to Linux from Microsoft Windows, you're probably used to accessing all your filesystems very easily: you just boot up your puter, go to My Computer, and find all your Windows partitions there immediately. For example, if you have a second hard drive (or a second Windows partition), it automatically appears as D:\ and you can immediately access it. The same goes for floppies, CD-ROMs, digital cameras, and other storage devices - you just plug them in, and you'll be able to immediately access them. However, this isn't the case in Linux.
You're probably a bit confused at first: you put your floppy or CD into the drive and start wondering why you're not able to access it! This is because your floppies, CDs, hard disk partitions, and other storage devices must be attached to some existing directory on your system before they can be accessed. This attaching is called mounting, and the directory where the device is attached is called a mount point.
After the device is mounted, you can access the files on that device by accessing the directory where the device is attached. When you're done and want to remove the floppy or CD or other device, you need to detach, unmount, it before removing it.
MOUNT ERRORS
ERROR 1
mount <server_name>:/<directory> /<directory>
mount: 1831-010 server <server_name> not responding: RPC: 1832-019 Program not registered
mount: retrying
<server_name>:/<directory>
SOLUTION 1
run /etc/rc.nfs or reboot. then (if the mount stil fails), on the NFS client: rpcinfo -p <nfsserver> If that fails, do the same on the server, if that does show your rpc services: goto fix firewall If on the server you don't see the nfs rpc services do a:
# lssrc -a you should have at least: Subsystem Group PID Status portmap portmap 11100 active biod nfs 7230 active nfsd nfs 11632 active rpc.mountd nfs 13692 active rpc.statd nfs 10634 active rpc.lockd nfs 14452 active for NFS to work. If any of these are inoperative, start them manually (rc.nfs should have done that for you).