WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] NFS goes down, XEN hangs

To: "Fajar A. Nugraha" <list@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] NFS goes down, XEN hangs
From: "Antonio Pina (antonio.pina)" <antonio.pina@xxxxxxxxxxx>
Date: Mon, 22 Aug 2011 09:59:25 -0300
Accept-language: pt-BR
Acceptlanguage: pt-BR
Cc:
Delivery-date: Mon, 22 Aug 2011 06:04:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAG1y0sekF92YTsQz+dxyw+WtyZAF2J=Qs__=cPBzgD=13KseBA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BEA49F2A6463A14ABAF42251D9680FA419ADA28A6B@xxxxxxxxxxxxxxxxxxxx> <CAG1y0scXrRDLPbrpDRTTL+4inN4mfY6XiG6XHznSULXAbW+3kQ@xxxxxxxxxxxxxx> <BEA49F2A6463A14ABAF42251D9680FA419ADA28A6F@xxxxxxxxxxxxxxxxxxxx> <CAG1y0sekF92YTsQz+dxyw+WtyZAF2J=Qs__=cPBzgD=13KseBA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxgdeRod7euPJ+yRlqATUomXA1DQQAVK7xw
Thread-topic: [Xen-users] NFS goes down, XEN hangs
Actually "strace w" did the trick and showed me "w" is hanging when trying to 
read from "/usr/sbin/tapdisk2" referencing "Server1".

It seems that NFS comes back online by itself (I can "ls" inside dom0, as I 
said), but not tapdisk2.

Probably tapdisk2 is the one to be blamed. 

Probably this belongs to xen-devel...

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Fajar A. Nugraha
Sent: Sunday, August 21, 2011 11:45 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] NFS goes down, XEN hangs

On Mon, Aug 22, 2011 at 9:27 AM, Antonio Pina (antonio.pina) 
<antonio.pina@xxxxxxxxxxx> wrote:
> Thank you for your answer.
>
> I understand and agree with your point but it's not the case. As soon 
> as Server1 comes back, the NFS directory becomes available again (ls 
> -l /server1 works). The CPU is low as usual and I can use some 
> commands like "xl list",

the default nfs behaviour does that

> but now other commands, like "w" I said before.

You might be able to get better help from other people with more nfs expertise. 
My best guess is that "w" is somehow trying to interact with the process 
accessing the stale nfs mount (at least "strace w"
shows it's accessing /proc/[pid]/stat), and since the process is 
uninterruptible "w" has to wait (thus the appearance of "hang").

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>