Mounting/Unmounting NFS File System +HPUX
########################################
E.g.: source server: hpuxsap3; Destination
Server: hpuxsap4
Mount point which needs to be shared:
/sapmnt/hpux
Mounting of NFS File System
On source server:
1. #share –F nfs -o rw=@
i.e
share –F nfs –o rw=@hpuxsap4 /sapmnt/hpux
2. #share : will show the local resource (mount
points) available for NFS mounting
Or #showmount –e < will list all shared file
systems.>
On Destination server:
1. #mkdir
i.e
#mkdir /sapmnt/hpux
2. #mount :
i.e
#mount hpuxsap3: /sapmnt/hpux /sapmnt/hpux
Note: #cat /etc/dfs/dfstab
Unmounting of NFS File System
Destination Server:
# umount
i.e # umount /sapmnt/hpux
if getting error
# umount /mountpoint
e.g # umount /sapmnt/hpux
umount: cannot unmount /dev/disk/disk23 : Device busy
umount: return error 1.
Run :
# fuser -kuc /mountpoint
e.g # fuser -kuc /sapmnt/hpux
and then:
# umount /sapmnt/hpux
Source Server:
# unshare /sapmnt/hpux
#unshareall
NFS on 11.23/11.11
Very soon I'll post how to mount/unmount NFS on 11.23/11.11 OS
Thanks...
Kiran Jadhav
**Let's Share our knowledge**
No comments:
Post a Comment