NFS Mount 'Permission denied'

Krautkramer, John John.Krautkramer at Micrel.Com
Fri Aug 5 15:16:46 UTC 2005


Hi,

To add to this, I found by restarting the nfs process, the problem goes away. 

[krauty at hbwpe /]# service nfs restart

But when I reboot the workstation, the problem is back.

Any ideas would be greatly appreciated!

Regards,

John

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Krautkramer, John
Sent: Tuesday, August 02, 2005 10:51 AM
To: redhat-list at redhat.com
Subject: NFS Mount 'Permission denied'


Hi,

Last Friday we had a power failure. Upon rebooting computers, I find 2 of 11 can no longer mount directories on my RH 9.0 nfs server (named hbwpe). Before this all were working fine. These 2 machines can nfs mount directories on other machines but not the RH server. One of the directories is named '/scratch'.

Of the 11 machines that can mount /scratch, 8 are HPUX 10.20 machines. One of the machines that can't mount /scratch is also a HPUX 10.20 machine (IP 10.48.10.40) with the same net configuration. The other is a VMS 5.3 machine running Multinet.

After searching previous posts, I've compiled the following config info:

[krauty at hbwpe /]# ls -l
drwxrwxrwx    7 john     users        4096 Jun 24 12:27 scratch

[krauty at hbwpe /]# cat /etc/exports
/                        *(rw,sync,no_wdelay,no_subtree_check)
/scratch                 *(rw,sync,no_wdelay,no_subtree_check)

[krauty at hbwpe /]# exportfs
/scratch        <world>
/               <world>

[krauty at hbwpe /]# rpcinfo -p   (portmap, nfs, & mountd are running on both client & server)
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32768  status
    100021    1   udp  32769  nlockmgr
    100021    3   udp  32769  nlockmgr
    100021    4   udp  32769  nlockmgr
    100004    2   udp    639  ypserv
    100004    1   udp    639  ypserv
    100004    2   tcp    642  ypserv
    100004    1   tcp    642  ypserv
 600100069    1   udp    648  fypxfrd
 600100069    1   tcp    650  fypxfrd
    100007    2   udp    660  ypbind
    100007    1   udp    660  ypbind
    100007    2   tcp    663  ypbind
    100007    1   tcp    663  ypbind
    391002    2   tcp  32769  sgi_fam
    100011    1   udp    749  rquotad
    100011    2   udp    749  rquotad
    100011    1   tcp    752  rquotad
    100011    2   tcp    752  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100005    1   udp  32770  mountd
    100005    1   tcp  32770  mountd
    100005    2   udp  32770  mountd
    100005    2   tcp  32770  mountd
    100005    3   udp  32770  mountd
    100005    3   tcp  32770  mountd
    100009    1   udp    788  yppasswdd
    150001    1   udp    798  pcnfsd
    150001    2   udp    798  pcnfsd
    150001    1   tcp    802  pcnfsd
    150001    2   tcp    802  pcnfsd

On the HPUX machine (IP 10.48.10.40), I've tried specifying nfs versions 2 & 3 with:

# mount -o vers=3 hbwpe:/scratch /scratch
Permission denied

Log messages in /var/log/messages gives me:

  Aug  2 09:06:07 hbwpe rpc.mountd: authenticated mount request from 10.48.10.40:786 for /scratch (/scratch)
  Aug  2 09:06:07 hbwpe rpc.mountd: getfh failed: Operation not permitted

The RH server can nfs mount directories on the HPUX client.

Any ideas would be greatly appreciated!

Regards,

John

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list