Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS Mount problem

Status
Not open for further replies.

kmz

Technical User
Oct 3, 2000
22
GB
Hi,

Trying to mount files, but am getting the following error messages, the only difference between the server and client systems are that the server is HPUX 10.20 and the client server is HPUX 11.00.

nfs mount: get_fh: hp02bas:/usr/sap/trans: access denied

Would appreciate it if someonce could suggest or advise a solution, thanks.

Regards

Khurram
 
Hi Khurram,

Sounds like it may just be a permissions problem, take a look at the man page for /etc/export

[tt]man /etc/export | pg[/tt]

Mike
michael.j.lacey@ntlworld.com
 
Hi Mike,

I have already looked at the exports file, which also holds information on other systems as well. The prolem I think seems to be different versions of NFS (i.e. 2 and 3. There is suppose to be a flag which should allow NFS 3 to communicate with NFS 3. I am trying to mount from HPUX 11.00 (NFS 3) to HPUX 10.20 (NFS 2). My understanding is that the even if the permissions are different on both systems i.e. file systems to be mounted it should still work, or do bothe systems should have the same file system permissions. The command I am using is as follows:

# uname -a
HP-UX hp01base B.11.00 U 9000/800

# mount -aF nfs
nfs mount: get_fh: hp02bas:/usr/sap/trans: access denied
nfs mount: get_fh: hp02bas:/sapmnt/C11/profile: access denied
nfs mount: get_fh: hp02bas:/sapmnt/C11/interface: access denied
nfs mount: get_fh: hp02bas:/sapmnt/C11/global: access denied
nfs mount: get_fh: hp02bas:/sapmnt/C11/exe: access denied

Hope this helps, thanks.

Khurram
 
1)take a look at the mount daemond if running on the hp02bas station:
#rpcinfo -u hp02bas mountd

2)running the following command on the hp01bas, to check the exports file, if ok, maybe the problem is in the hp01bas station
#shownmount -e hp02bas
 
hi khurram

I hope You solved the problem.

If not,

try this: mount -overs=2

or upgrade Your HP-UX 10.20 patches at least to level
june '99 (this would also fix mount problems with linux)

regards oskar

OMaag@aol.com; Oskar.Maag@IMA-Abele.de

 
I know that this may sound a little too basic, but I had the exact same problem. I finally fixed it by looking at the /etc/exports file, on the server, again and deciding that I was actually trying to export a filesystem that didn't exist 'cause I misspelled it. It doesn't hurt to just make sure your exports file has the correct spelling of the path you want to export.

/actual/directory -anon=65534,access=mounting_machine_name

This will allow annon (root on the other machine) to make the connection and only from the mounting machine name or if more that one machine separated by : (colon)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top