Operating System - HP-UX
1752402 Members
5826 Online
108788 Solutions
New Discussion юеВ

How to Map network path in fstab in HP-UX 11.23

 
prog
Occasional Advisor

How to Map network path in fstab in HP-UX 11.23

I have two rx4640 server i want to automount one of the my /sap/mnt folder from one server to another What is the command to mount network drive.
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: How to Map network path in fstab in HP-UX 11.23

Ho,

On the client add following line to the /etc/fstab.
:/ / nfs rw 0 0

Regards,
Robert-Jan
Mustafa Gulercan
Respected Contributor

Re: How to Map network path in fstab in HP-UX 11.23

hi;
you may use like;

:/ /sap/mnt nfs rw,suid 0 0

regards,
mustafa
prog
Occasional Advisor

Re: How to Map network path in fstab in HP-UX 11.23

Hi
Thanx Both of you

Actually i don't have downtime to restart the server,
so can you tell me the command to mount remote path manualy
Mustafa Gulercan
Respected Contributor

Re: How to Map network path in fstab in HP-UX 11.23

there is no need to down server.after you edit fstab file,
just type
#mount -a

Bill Hassell
Honored Contributor

Re: How to Map network path in fstab in HP-UX 11.23

The mount command will only work if you have previously setup your NFS server and also configured your local system to use the automount features. Has this ever worked before? If not, there are a number of steps on both machines that are needed before the mount command will work.


Bill Hassell, sysadmin
Rasheed Tamton
Honored Contributor

Re: How to Map network path in fstab in HP-UX 11.23

On the source box
1.make sure that the nfs server servcies are started. If not; you have to start the nfs services.
2. vi /etc/exports file and add
/sap/mnt
3. exportfs -a (will export all the dir in /etc/exports file)
4. exportfs (will show the currently exported dirs from source box

On the client:
1. make a mount point (dir)
mkdir /tempmnt
2. mount the exported dir from the source to the client system
mount sourcebox:/sap/mnt /tempmnt


The config file: /etc/rc.config.d/nfsconf