Monday, September 9, 2013

NFS share between HP-UX servers

There is some different file and step to implement between HP-UX 11.23 (and lower version) and HP-UX 11.31. But here is example on HP-UX 11.31.

At source server

#vi /etc/dfs/dfstab
Insert below line into that file;
        share -F nfs -o rw <mountpoint>
#shareall -F nfs
If you want to check the status of NFS server, use below command;
#showmount -e <ip> 

At destination server

#mount -F nfs <ip host>:<mountpoint>  <mountpoint>
#vi /etc/fstab
Insert below line into that file;
      <ip>:<mountpoint> <mountpoint> nfs defaults 0 0
#mount -a

Use 'bdf' to check your mount path.

For restarting the service
# /sbin/init.d/nfs.server start
    Starting NFS SERVER subsystem 
    
    Reading in /etc/dfs/dfstab
    Starting up the mount daemon
        /usr/sbin/rpc.mountd 
    Starting up the NFS server daemon
        /usr/sbin/nfsd
      Starting up nfsmapid daemon


All is done!

No comments:

Post a Comment