1752815 Members
6043 Online
108789 Solutions
New Discussion юеВ

NFS Mount

 
SOLVED
Go to solution
Philemon_2
Frequent Advisor

NFS Mount

Hi All,

I need to nfs mount /Backup folder to few servers(nearly 5servers)Please help me how.

Thanks,
Phil
2 REPLIES 2
Matti_Kurkela
Honored Contributor
Solution

Re: NFS Mount

Please read and understand the NFS Services Administrator's Guide for your OS version:

HP-UX 11.11 and older:
http://docs.hp.com/en/5992-0715/index.html

HP-UX 11.23:
http://docs.hp.com/en/5992-0714/index.html

HP-UX 11.31:
http://docs.hp.com/en/B1031-90061/index.html


In a nutshell:

NFS works with numeric UIDs and GIDs, not by user and group names. If maintaining correct file ownerships is important to you, you should make sure your users have identical UIDs and GIDs in all servers participating in the NFS. You can do it manually, if you don't have many users, but it's tedious and error-prone: in a large environment, a centralized user database (like LDAP or NIS) is practically a necessity.

If you use hostnames in NFS configuration files, make sure your NFS server can resolve the names of your NFS clients, and vice versa.

If you use DNS for hostname resolution, remember that getting the IP address for a hostname and getting the hostname for an IP address are two different DNS lookups which must usually be configured separately. Both must work.

The server that has the actual storage for your /Backup directory will be the NFS server. It must have the NFS server-side network services running, and it must export the directory to the other server.

Important configuration files for the NFS server: /etc/rc.config.d/nfsconf, /etc/exports

The other servers will be NFS clients. They must have the NFS client-side network services running, and must be configured to mount the filesystem from the NFS server.

Important configuration files for the NFS clients: /etc/rc.config.d/nfsconf, /etc/fstab

MK
MK
Basheer_2
Trusted Contributor

Re: NFS Mount

Hello Phil,

Matti has given all the info, but sometimes we need to do quickly.

for examples.
man exports
man exportfs

1) vi /etc/exports
2) add your mounts
3) exportfs -av

from another server
mount server:/mount-dir /mount-point


add them to /etc/fstab for reboots