Tuesday, February 15, 2011

Mounting of NFS File System on HP-UX 11.31 Server.


Source Server : Server whose file system you want to share
Destination Server : Server where you want to mount.

From the HP-UX 11.31 Source Server :

e.g I want to mount /stage/StageR12 on HP-UX Destination Server.

# share -F nfs -o rw /stage/StageR12/
# share -- will show which file system you want to share.
     -       /stage/StageR12 rw " "
#

# shareall

From the HP-UX 11.31 Destination Server :

# mount hostname:/stage/StageR12/ /backup/stage/
or
# mount ipaddress:/stage/StageR12/ /backup/stage/


Unmounting of NFS File System

Destination Server:

# umount /backup/stage/

  if getting error
#  umount /mountpoint    e.g # umount /backup/stage/
   umount: cannot unmount /dev/disk/disk23 : Device busy
   umount: return error 1.

 Run :

# fuser -kuc /mountpoint e.g # fuser -kuc /backup/stage/

# umount /backup/stage/

Source Server :

# unshare /stage/StageR12/

#unshareall if using shareall command on source server


6 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Thank you for sharing this procedure, it works fine

    ReplyDelete
  3. Also you need to write entry in the /etc/fstab file. So that system can mount this nfs disk after every reboot.:)

    ReplyDelete
  4. This is usually done in Linux rather than Unix and the imagery in these new media tools can be surprisingly refreshing. Togel Singapore

    ReplyDelete
  5. Of course, on the side if you rather just play for fun, you could always go on rampages in the game, where you can steal cars, get a little trigger happy, obtain wanted stars and drive the local police crazy, drive like a maniac around the city, as well as trying to get your guy killed. Bandar Q

    ReplyDelete