Operating System - HP-UX
1752505 Members
5175 Online
108788 Solutions
New Discussion юеВ

Re: nfs mount - permission denied!

 
SOLVED
Go to solution
Tingli
Esteemed Contributor

Re: nfs mount - permission denied!

Open the ports both ways.
Anoop P_2
Regular Advisor

Re: nfs mount - permission denied!

If the second 8420 has more than one LAN cards with IPs configured, put in all those IPs in the /etc/exports file against that export mount point and re export it.

I've seen earlier that some times nfs requests go out from a different lan than you think it would and errs out.
Ron Irving
Trusted Contributor

Re: nfs mount - permission denied!

I will try that...what would the syntax be?? There is actually 1 more ip address on the dr-rp8420, at 10.216.72.100.
Should have been an astronaut.
SUDHAKAR_18
Trusted Contributor
Solution

Re: nfs mount - permission denied!

On NFS server, export the file system using
#exportfs -i -o root= /
then try to mount from client system.
Ron Irving
Trusted Contributor

Re: nfs mount - permission denied!

THE FABULOUS PRIZE HAS BEEN AWARDED!!

Now...how do I make it so it mounts every time? What's the syntax for the /etc/exports?

Thank you again.
Should have been an astronaut.
Sunny123_1
Esteemed Contributor

Re: nfs mount - permission denied!

following is example of export syntax

usr/games cocoa fudge # export to only these machines
/usr -access=clients # export to my clients
/usr/local # export to the world
/usr2 -access=bison:deer:pup # export to only these machines
/var/adm -root=bison:deer # give root access only to these
/usr/new -anon=0 # give all machines root access
/usr/temp -rw=ram:alligator # export read-write only to these
/usr/bin -ro # export read-only to everyone
/usr/stuff -access=bear,anon=-2,ro # several options on one line
/usr/subnet -access=@mysubnet #use mysubent in /etc/networks
/usr/subnet1 -access=@192.5 #clients must be in the 192.5.0.0 subnet
/usr/domain -access=.myd.myc.com #clients must be in .myd.myc.com
/usr/restrict -access=-host1.myd.myc.com:sales # disallow -host1 in the sales netgroup.

Regards
Sunny
Ron Irving
Trusted Contributor

Re: nfs mount - permission denied!

Thanks, but here's my issue. UNIX lately has been giving me chest pains. My current /etc/exports file on the NFS server side contains the line:

/backup -anon=65534,access=rp8420:dr8420

It was the dr8420 that was having the problem. Would anyone know the proper line to put in that would automate that, so the chest pains will go away, and I can stop crying? ;)
Should have been an astronaut.
Sunny123_1
Esteemed Contributor

Re: nfs mount - permission denied!

Why you dont add the new line like following

/backup -anon=65534,access=rp8420:dr8420
/backup -anon=65534,access=dr8420

Regards
Sunny
Dags
Frequent Advisor

Re: nfs mount - permission denied!

/etc/fstab <- this will help you automate the mounting.
SUDHAKAR_18
Trusted Contributor

Re: nfs mount - permission denied!

Hi,

create a file which contain following lines..

exportfs -i -o root= /filesystem
exportfs -i -o root= /filesystem

then run this using sh.

then forget about the /etc/exports.
whenever U want to export the filesystem use this script.