~]# yum install portmap (not required with NFSv4) ~]# apt-get install nfs-utils nfs-utils-lib We can install it via “ yum” ( Red Hat Linux) and “ apt-get” ( Debian and Ubuntu) package installers. We need to install NFS packages on our NFS Server as well as on NFS Client machine. Here in this tutorial, I’ll be using two servers. To setup NFS mounts, we’ll be needing at least two Linux/ Unix machines. Setup and Configure NFS Mounts on Linux Server /etc/sysconfig/nfs : Configuration file of NFS to control on which port rpc and other services are listening./etc/fstab : To mount a NFS directory on your system across the reboots, we need to make an entry in /etc/fstab./etc/exports : Its a main configuration file of NFS, all exported files and directories are defined in this file at the NFS Server end.rpc.mountd: This service is responsible for mounting and unmounting of file systems.nfs: It translates remote file sharing requests into requests on the local file system.portmap : It maps calls made from other machines to the correct RPC service (not required with NFSv4).The NFS server package includes three facilities, included in the portmap and nfs-utils packages. Can be secured with Firewalls and Kerberos.Newer version of NFS also supports acl, pseudo root mounts.No manual refresh needed for new files.Users get their data irrespective of physical location.With the help of NFS we can configure centralized storage solutions.With NFS it is not necessary that both machines run on the same OS.It uses standard client/ server architecture for file sharing between all * nix based machines.NFS allows local access to remote files.Setup NFS Server and NFS Client in Linux Benefits of NFS With the help of NFS, we can set up file sharing between Unix to Linux system and Linux to Unix system. It allows you to mount your local file systems over a network and remote hosts to interact with them as they are mounted locally on the same system. NFS ( Network File System) is basically developed for sharing of files and folders between Linux/ Unix systems by Sun Microsystems in 1980.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |