Operating System - HP-UX
1837245 Members
4941 Online
110115 Solutions
New Discussion

Automounting a folder from a remote server

 
SOLVED
Go to solution
Michael Gim
Advisor

Automounting a folder from a remote server

I am trying to do a automount a folder named Data on a UX workstation IP address 10.202.75.12 from a UX server IP Address 10.202.75.10.

Can anyone tell me what is the exact command line that I should add onto the etc/fstab?
3 REPLIES 3
Yogeeraj_1
Honored Contributor
Solution

Re: Automounting a folder from a remote server

hi,

On: 10.202.75.12
=================
In /etc/exports

/Data -anon=65534


On: 10.202.75.10
=================
in /etc/fstab

10.202.75.10:/Data /RemoteData nfs ro,suid 0 0

You can also do it using the SAM interface, which does all necessary modification to the required files.

BUT, don't forget about security.

hth
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Ramkumar Devanathan
Honored Contributor

Re: Automounting a folder from a remote server

Hi,

For automounts you don't normally specify entries in the /etc/fstab.

Do the following.

On the nfs server -
1. add entry for the share in the /etc/exports file - see man exports for syntax if required.
2. run exportfs -a
3. check to see if the share has been exported by running exportfs

On the nfs client -
1. in the /etc/auto_master add the following line:
/net -hosts -nosuid,soft
see man auto_master for more information and specific options.

2. probably you should (re)start your automount daemon:
/path/to/automount -f /etc/auto_master

3. check whether the exported share is available to you:
showmount -e

4. traverse to directory
/net//

5. ls
the above should list the exported mount among the various directories listed.

That should help i guess.

- ramd.
HPE Software Rocks!
Michael Gim
Advisor

Re: Automounting a folder from a remote server

Thank you all for your help. In fact my previous administrator has done a combined of both methods, but forgot to create a mount point on one of the workstation.

It is working now.