Operating System - HP-UX
1854926 Members
4997 Online
104106 Solutions
New Discussion

Re: Problems to mount NFS

 
Carles Viaplana
Valued Contributor

Problems to mount NFS

Hello,

I'm trying to mount a nfs but I get the following error:

real> $ mount -F nfs osiris:/titania /export
Permission denied
real> $

Local system and remote system are HP-UX B.11.00 U 9000/800 and filesystem on remote I want to mount is:

kbytes: 6144000
used: 2610
avail: 5757561
%used: 0%
Mounted on: /titania
type: vxfs (log,nodatainlog)

Permissions on remote and local directories are full control for everyone.

Do you have any idea what I'm doing wrong?
Thanks in advance for your help.

Regards,

Carles
4 REPLIES 4
Devender Khatana
Honored Contributor

Re: Problems to mount NFS

Hi,

Directory permissions will not count when mountinf a file system as NFS. You sould see the /etc/exports of the NFS server which is sharing this file system.

It is quite possible that the file system is only shared to limited hosts listed in /etc/exports of the NFS server.

HTH,
Devender
Impossible itself mentions "I m possible"
RAC_1
Honored Contributor

Re: Problems to mount NFS

As a normal user, you can not mount it. you need to be root and you need to have mount access for that nfs share.

What does showmount -e "nfs_server" show??
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: Problems to mount NFS

Hi Carles, Normal user can;t mount a NFS dir. You can su to root account and mount from there.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Carles Viaplana
Valued Contributor

Re: Problems to mount NFS

Hi all,

Thanks for your messages. Finally I found the error. I forgot to export filesystem from remote machine.

After to do this I'm able to mount nfs.

Thanks again for your help.
Regards,

Carles