Operating System - HP-UX
1754807 Members
3596 Online
108825 Solutions
New Discussion юеВ

Re: Ignite nfs mount Permission Denied

 
valcor
Occasional Advisor

Ignite nfs mount Permission Denied

Hello,
I am running make_net_recovery on HostB (ignite server), and I am on step "Run the Recovery UI"; it is not nfs mounting the archive directory on the client (HostA).

#/etc/exports
/var/opt/ignite/clients -anon=2
/drought/Ignite/recovery/HostA -anon=2,access=HostA

#exportfs -a

the permission on /drought/Ignite/recovery/HostA is 777 and the owner:group is bin:bin

I am able to mount the /var/opt/ignite/clients directory, but not /drought/Ignite/recovery/HostA, I get a Permission Denied error.

I stopped/started the nfs daemons on both the the client and server.

on HostA (client)
#showmount -e HostB (Ignite server)
/var/opt/ignite/clients (everyone)
/drought/Ignite/recovery/HostA HostA

I even tried to nfs mount using the ip address, no luck...

TIA
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Ignite nfs mount Permission Denied

Shalom,

Could be a hostname resolution issue.

Try changing the /etc/exports access=HostA to an IP address.

If that solves the problem you have an /etc/hosts or /etc/resolv.conf nsswitch.conf name resolution error.

I understand the need to secure the NFS server, but its not strictly necessary to put access limits on the Ignite server.

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
valcor
Occasional Advisor

Re: Ignite nfs mount Permission Denied

Hi

I changed the /etc/exports file to reflect the ip address and still getting permission denied.
I also did an nslookup and it uses the /etc/hosts file.

I do not have a /etc/resolv.conf file on my HostA (ignite server), I have one on HostB (client).

I am able to mount
/var/opt/ignite/clients
but not
/drought/Ignite/recovery/HostA
skt_skt
Honored Contributor

Re: Ignite nfs mount Permission Denied

Comapre with this.

root [/var/opt/ignite/recovery/archives] cat /etc/exports|grep -i adeda30p
/var/opt/ignite/recovery/archives/adeda30p -anon=2,access=adeda30p

root [/var/opt/ignite/recovery/archives] ls -ld /var/opt/ignite/recovery/archives/adeda30p
drwxr-xr-x 2 bin bin 96 Jul 10 22:42 /var/opt/ignite/recovery/archives/adeda30p/
root [/var/opt/ignite/recovery/archives] ls -ld /var/opt/ignite/clients
drwxr-xr-x 115 bin bin 8192 Jul 10 22:12 /var/opt/ignite/clients/

At client side

/var/opt/ignite/recovery/client_mnt on adedd13n.ami.alcoa.com:/var/opt/ignite/clients rsize=32768,wsize=32768,NFSv3 on Tue Jul 10 22:12:39 2007
/var/opt/ignite/recovery/arch_mnt on adedd13n.ami.alcoa.com:/var/opt/ignite/recovery/archives/adeda30p rsize=32768,wsize=32768,NFSv3 on Tue Jul 10 22:13:13 2007

root [/var/opt/ignite/recovery/archives] cat /etc/xtab|grep -i 30p
/var/opt/ignite/recovery/archives/adeda30p -anon=2,access=adeda30p

adedd13n is server and adeda30p is client

valcor
Occasional Advisor

Re: Ignite nfs mount Permission Denied

Thank you for all your response.

I removed the "access=HostA" from the /etc/exports file.
Once that was removed, I re-exported and then I was able to NFS mount the directory.