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

Re: [Freeipa-users] Stale NFS file handle

2012-09-12 Thread Sigbjorn Lie

What nfs version are you using? And if 4, do you use kerberos?

We are using mostly nfs 3 still, and those nfs mounts just reconnect by 
themselves up to a few minutes after the nfs server is back online.



Regards,
Siggi


On 09/12/2012 10:44 PM, george he wrote:

I think it's about half an hour.
Any ideas about the authentication failsure thing?
Thanks,
George


*From:* Sigbjorn Lie 
*To:* freeipa-users@redhat.com
*Sent:* Wednesday, September 12, 2012 3:53 PM
*Subject:* Re: [Freeipa-users] Stale NFS file handle

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



Just wait and it reconnects a while after the nfs server becomes
available again.

How long have you waited before rebooting?


Regards,
Siggi


___
Freeipa-users mailing list
Freeipa-users@redhat.com <mailto: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

Re: [Freeipa-users] Stale NFS file handle

2012-09-12 Thread george he
I think it's about half an hour.
Any ideas about the authentication failsure thing?
Thanks,
George




>
> From: Sigbjorn Lie 
>To: freeipa-users@redhat.com 
>Sent: Wednesday, September 12, 2012 3:53 PM
>Subject: Re: [Freeipa-users] Stale NFS file handle
> 
>
>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
>>
>Just wait and it reconnects a while after the nfs server becomes
available again.
>
>How long have you waited before rebooting?
>
>
>Regards,
>Siggi
>
>
>___
>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

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 
>To: "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  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

Re: [Freeipa-users] Stale NFS file handle

2012-09-12 Thread Sigbjorn Lie

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



Just wait and it reconnects a while after the nfs server becomes 
available again.


How long have you waited before rebooting?


Regards,
Siggi

___
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  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] 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