1847202 Members
3291 Online
110263 Solutions
New Discussion

file

 
SOLVED
Go to solution
navin
Super Advisor

file

Hello ,
I need to export a directory from a hpux server with ro and root access to a particular system. i have done this many times before..in th eprevios version..how do i do this in hpux 11.23
thanks much in advance
Learning ...
2 REPLIES 2
Cesare Salvioni
Trusted Contributor
Solution

Re: file

hi,
edit file /etc/exports and add the line:
/path_to_export -ro,root=remote_hostname

next check your server is configured as a nfs server, see the variable NFS_SERVER in file /etc/rc.config.d/nfsconf
If this variable is 1, nfs daemons should be already running, if 0 change it and run:
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start

to activate the export run exportfs -a
When you will reboot the system your exports will be available automatically.

To check what you are exporting run
exportfs

hope it helps
Ganesan R
Honored Contributor

Re: file

Hi Navin,

I don't think there is difference in 11.23 and previous versions related to /etc/exports file entry.

Put the following entry on nfs server(/etc/exports)

-ro,root=

Start the nfs services and export it.

Then mount on client and check.
Best wishes,

Ganesh.