Skip to contentSkip to conversation

NFSv4 needs restart (permission denied)

DISCUSSION Pierre Ossman 3 participants 4 messages Dec 3, 2004 – Dec 6, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Whenever I reboot my file server one of my clients has trouble accessing the exports. I just get permission denied. However, when I restart nfsd it works fine. The other clients have no problems mounting.

The server is a FC2 machine running 2.6.9-1.6_FC2.
The problem client is a FC3 machine running 2.6.9.
The working clients are both FC2 machines running 2.6.9-1.6_FC2.

Any ideas on what can be wrong or how I can find out what the problem is? The server does not say anything during these mount requests.

Rgds
Pierre

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 8 lines · Pierre Ossman

Whenever I reboot my file server one of my clients has trouble accessing the exports. I just get permission denied. However, when I restart nfsd it works fine. The other clients have no problems mounting.

The server is a FC2 machine running 2.6.9-1.6_FC2.
The problem client is a FC3 machine running 2.6.9.
The working clients are both FC2 machines running 2.6.9-1.6_FC2.

Quoted 5 lines

Any ideas on what can be wrong or how I can find out what the problem is? The server does not say anything during these mount requests.

Rgds
Pierre

We've had much the same problem with linux NFS servers, but not with NFSv4 - it was either NFSv3 or v2.

These are my notes on the subject:

The difficulty is that we have to exportfs -auv; exportfs -av to get mounting (both static and auto) to work. It gives "permission denied" when trying to do a static mount. getfh() was failing too, according to an strace of rpc.mountd.

Jed has an RHEL 3 server having trouble with an FC1 host.

Jed also has an RHEL 3 server having trouble with a Redhat 9 host.

Quoted 11 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
In reply to Pierre Ossman
Quoted 3 lines · Pierre Ossman

Whenever I reboot my file server one of my clients has trouble accessing the exports. I just get permission denied. However, when I restart nfsd it works fine. The other clients have no problems mounting.

NFSv4's server reboot recovery isn't really working yet--a Linux client should be able to survive a non-Linux server reboot, but if a Linux server reboots the clients its client will probably be lost. The missing piece is some code to store state about connected clients in stable storage, which we're working on right now.

--b.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#3 lore raw
Quoted 9 lines · J. Bruce Fields
Quoted 5 lines · Pierre Ossman

Whenever I reboot my file server one of my clients has trouble accessing the exports. I just get permission denied. However, when I restart nfsd it works fine. The other clients have no problems mounting.

Quoted 8 lines

NFSv4's server reboot recovery isn't really working yet--a Linux client should be able to survive a non-Linux server reboot, but if a Linux server reboots the clients its client will probably be lost. The missing piece is some code to store state about connected clients in stable storage, which we're working on right now.

The problems isn't clients reconnecting, it's new mounts after the server has rebooted.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs