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/
Home Products Support Community News


[Xen-users] /dev/loopX not released when domU terminates ?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] /dev/loopX not released when domU terminates ?
From: Martin Dziobek <dziobek@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Dec 2005 18:41:51 +0100
Delivery-date: Wed, 21 Dec 2005 18:17:58 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: IHR Uni Stuttgart
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello all,

I have some DomU's with root and swap images 
on files under Xen 3.0.0
Investigating some cases of boot failure of domUs,
I stumbled upon the fact that when a domU is shutdown
via xm shutdown, not all of its images are released 
from their /dev/loopX - devices.

That is, 
for i in /dev/loop*; do losetup $i; done
still shows output for that image.

It seems to me that the image mounted
first when the domU starts up is released
properly on shutdown; the second one stays
connected to its /dev/loop even after shutdown.

Bug or feature ? Or doesnt matter at all ?

Any clarification appreciated ...


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] /dev/loopX not released when domU terminates ?, Martin Dziobek <=