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] /dev/loopX not released when domU terminates ?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] /dev/loopX not released when domU terminates ?
From: Till Franke <till.franke@xxxxxxxxxx>
Date: Wed, 04 Jan 2006 08:56:16 +0100
Delivery-date: Wed, 04 Jan 2006 08:02:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051221184151.0f11d798@xxxxxxxxxxxxx>
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: Novell Deutschland GmbH
References: <20051221184151.0f11d798@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050715)
Hello,

Martin Dziobek wrote:
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.

Same issue here, also when domains are migrated between servers. Sometimes the loop devices can be cleaned up (with losetup -d <loopdev>), after a while I get "ioctl: LOOP_CLR_FD: Device or resource busy" for more and more loopdevs.

Of three loop devices in use per domU, always at least one remains set up after migration finishes.

Does anyone have an idea or fix about this? XEN-7608 on SUSE Linux 10.0. And it does matter, after a while no loop devices are usable and the system has to be rebooted...

Regards,
        Till.



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

Thanks,
Martin



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

--

Till Franke              SUSE Linux GmbH          Novell
http://www.novell.com/open

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

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