Operating System - HP-UX
1833738 Members
2795 Online
110063 Solutions
New Discussion

Re: Mounting Directory on remote host

 
SOLVED
Go to solution
Henry Chua
Super Advisor

Mounting Directory on remote host

Hi Guys,

I have a HPUX10.20b and a Sun8 system. I would like to mount a directory on Sun8 to the UX. How should I go about with it?

Say
source: /src==>"Sun's system"
to Target: /tgt ==> "UX's system"

thank q


3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Mounting Directory on remote host

Your first task is to make sure that the directory is exported on the Sun box -- this assumes you are using NFS. Man exportfs for those details.

Next, you need to mount the exported on the HP-UX box;

mkdir /mydir
chmod 755 /mydir
mount -F nfs remotehostname:/xxx/yyy/zzz /mydir

Man mount_nfs for those details.

You must have the NFS client services running on the HP box.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: Mounting Directory on remote host

Add the directory to the /etc/exports

exportfs -av

Now you can do a remote nfs mount

mount hostname://dir /local_mountpoint

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nguyen Anh Tien
Honored Contributor

Re: Mounting Directory on remote host

I recommand you use: NFS (network file server)
server source and target
client: SUN, UX

refer this doc
http://docs.hp.com/en/5991-1153/index.html


HTH
tienna
HP is simple