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-devel

Re: [Xen-devel] Fwd: file system filled, xen won't start giving confusin

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Fwd: file system filled, xen won't start giving confusing errors
From: "Guido Barosio" <gbarosio@xxxxxxxxx>
Date: Fri, 8 Jun 2007 14:30:47 -0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Ewan Mellor <ewan@xxxxxxxxxxxxx>
Delivery-date: Fri, 08 Jun 2007 10:28:52 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Fr0M2sNxjlyYc4NaSP5AGiwl0VdaPB4VLnZiwJ+wQrzPxpx6rDTb/pB6joy5zal5LExtjjNV1SxSvZ8Uygx9+6z6wOGgZwe/bRKLB5sGXbKF/eP9m9VK9Sb1YDzwq9UktKjVH43lZoqqAKppfHFewiEOBx8zbM+YK5tnBwaaYME=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VTuzpXNhHxhDBWLLqFqr2Fuq+3nXwfPv2+gTcmBhK8dAM4lunnJd2lvGWxxnJAu2e6L7lV5efZeRZWdaJP0NMQSvPBZxPbttJCD+v52LaawuYTiJ9uiAaoQ1+3gJosJNIy4G7nl4vmINeZDpdm15MJJbqpJfPJxSvR9Ci61FWfE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200706081729.21811.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f7f6b4c70706051846q7e32e9a4g46ffd0af3f3e172b@xxxxxxxxxxxxxx> <f7f6b4c70706061443p7eb630a1kf79e9432a2038b0e@xxxxxxxxxxxxxx> <200706081729.21811.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Mark,

  Thanks for your reply. We are heavily using xen @ globant, and we
are extremely happy over other products.

  I've found a sequence that I've saved for explaining in the house
the problem but I didn't save the logs nor a "df -h" screen.

  Here is what I have:

[root@xenhq01 xen]# xm create vm08_tartool.conf  vmid=8
Using config file "vm08_tartool.conf".
Error: (2, 'No such file or directory')
[root@xenhq01 xen]# stat vm08_tartool.conf
  File: `vm08_tartool.conf'
  Size: 667             Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d      Inode: 356905      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2007-06-05 22:13:05.000000000 -0300
Modify: 2007-05-22 21:40:10.000000000 -0300
Change: 2007-05-22 21:40:10.000000000 -0300
xm create /etc/xen/vm31_workflows vmid=31
[root@xenhq01 xen]# xm create vm08_tartool.conf vmid=8
Using config file "vm08_tartool.conf".
Error: (2, 'No such file or directory')
[root@xenhq01 xen]# xm create /etc/xen/vm08_tartool.conf vmid=8
Using config file "/etc/xen/vm08_tartool.conf".
Error: (2, 'No such file or directory')
[root@xenhq01 xen]# xm create vm17_CablescopeCVS vmid=17
Using config file "vm17_CablescopeCVS".
Error: (2, 'No such file or directory')

I am actually trying to replicate the case on one of the dev boxes. I
assume that tracing this starts with xm.py and the import'ed utils
through the code. That's right or a complete loose of time?

Best regards,
gb.-


On 6/8/07, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
>   We had a problem while rebooting one of our xen boxes. The case
> showed us that while trying to `xm create ...` the xm command will
> exit with "err 2, no such file or directory". But `stat vm.conf`
> showed that the file was there.
>
>   We realized that the file system was full, and removed some space.
> However, now with free space, xm refused to start domains.
>
>    The solution came by rebooting the box, and starting again the vm's by
> hand.

Well diagnosed!

>    While I reccon our foult on letting the / get filled, I don't
> understand the error message stderr'ored by xm, "no such file or
> directory". Pretty confusing.

Indeed.  I don't suppose you took a copy of the xend.log / xend-debug.log from
when the failure happened?

>     xen 3.03, dell 1950 with a big ram support and raid 1.
>
>    Is this a known problem? How can we help getting this sorted?

I don't think it was know before; thank you very much for reporting it.

I imagine Xen was trying to do some kind of IO in the process of starting the
domain, it was failing due to the filesystem being full, and it was being
misreported as "file not found".  I guess it's possible the tools were
*actually* trying (and failing silently) to create a file somewhere, and then
not being able to find it subsequently.

This should (fingers crossed) be easy to replicate, though.

Cheers,
Mark

--
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!



--
Guido Barosio
-----------------------
http://www.globant.com
guido.barosio@xxxxxxxxxxx

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

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