Re: [Freeipa-users] Stale NFS file handle

2012-09-13 Thread Ondrej Valousek

You can get authentication failure if the user's home is on a NFS which is 
failing to re-mount.
The stale NFS handle usually means the NFS server changed fsid of the exported 
volume after its reboot.
This usually happens if you are exporting a LVM partition via NFS.
The workaround is to specify fsid of the exported volume manually in 
/etc/exports

HTH,
Ondrej

On 09/12/2012 08:26 PM, george he wrote:

Hello,
My ipa server and my nfs server are the same machine running centos 6.3.
The server was accidentally down and rebooted.
But then I got authentication failsure on some clients when tried to log on through gdm, and blue screen (no desktop, no panels) on some 
others.

On some clients that I was on before the server was downthe, I got Stale NFS file 
handle.
Yet on some other clients, everything is fine. All clients are running centos 
6.3, too.
Is there a way (e.g. restarting some services) to get the above problems away 
instead of rebooting the clients?
Thanks,
George


___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users
___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

[Freeipa-users] Stale NFS file handle

2012-09-12 Thread george he
Hello,
My ipa server and my nfs server are the same machine running centos 6.3.
The server was accidentally down and rebooted.
But then I got authentication failsure on some clients when tried to log on 
through gdm, and blue screen (no desktop, no panels) on some others.
On some clients that I was on before the server was downthe, I got Stale NFS 
file handle.
Yet on some other clients, everything is fine. All clients are running centos 
6.3, too.

Is there a way (e.g. restarting some services) to get the above problems away 
instead of rebooting the clients?

Thanks,
George
___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Re: [Freeipa-users] Stale NFS file handle

2012-09-12 Thread Natxo Asenjo
On Wed, Sep 12, 2012 at 8:26 PM, george he george_...@yahoo.com wrote:

 Hello,
 My ipa server and my nfs server are the same machine running centos 6.3.


try to separate those roles if you can. You can use vm's, it'll work great.


 The server was accidentally down and rebooted.
 But then I got authentication failsure on some clients when tried to log
 on through gdm, and blue screen (no desktop, no panels) on some others.
 On some clients that I was on before the server was downthe, I got Stale
 NFS file handle.
 Yet on some other clients, everything is fine. All clients are running
 centos 6.3, too.
 Is there a way (e.g. restarting some services) to get the above problems
 away instead of rebooting the clients?


you could try umounting the stale mount points in the clients with the -l
switch (lazy). It works most of the time, sometimes rebooting or resetting
is necessary. Do not change dir to the mount point because then your client
will not respond :-)

-- 
natxo
___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Re: [Freeipa-users] Stale NFS file handle

2012-09-12 Thread george he
I tried umount but without -l, it said drive busy. Next time I will try with -l.
Thanks,
George





 From: Natxo Asenjo natxo.ase...@gmail.com
To: freeipa-users@redhat.com freeipa-users@redhat.com 
Sent: Wednesday, September 12, 2012 2:43 PM
Subject: Re: [Freeipa-users] Stale NFS file handle
 

On Wed, Sep 12, 2012 at 8:26 PM, george he george_...@yahoo.com wrote:

Hello,
My ipa server and my nfs server are the same machine running centos 6.3.

try to separate those roles if you can. You can use vm's, it'll work great.
 

The server was accidentally down and rebooted.
But then I got authentication failsure on some clients when tried to log on 
through gdm, and blue screen (no desktop, no panels) on some others.
On some clients that I was on before the server was downthe, I got Stale NFS 
file handle.
Yet on some other clients, everything is fine. All clients are running centos 
6.3, too.

Is there a way (e.g. restarting some services) to get the above problems away 
instead of rebooting the clients?


you could try umounting the stale mount points in the clients with the -l 
switch (lazy). It works most of the time, sometimes rebooting or resetting is 
necessary. Do not change dir to the mount point because then your client will 
not respond :-)

-- 
natxo

___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users