From: Wensheng Wang Subject: RE: Backend device in use after reboot Date: Thu, 10 Nov 2005 17:23:01 -0600 Message-ID: <7b22037d0511101523p13bfdbbdwcd0ee652bbed3a6e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: steved@us.ibm.com List-Id: xen-devel@lists.xenproject.org > However, when the system hangs (domU down, dom0 down, network down, can > reboot from Xen console, but that's another problem) and the system is > rebooted, I cannot destroy the LVM volumes because they are in use. No > domUs are started after the reboot. > > What is holding onto the LVM volumes? Is there a way to get them release= d? > Am I missing something? Or is this a bug? > > Thanks for any help. > > Steve D. I actually saw this too. The domains that by xendomains (that have config file in /etc/xen/auto at boot when xendomains started) will be shutdown (gracefully as appose to poweroff/destroy) during domain-0 shutdown, and will come up normally when server rebooted. However if I add a new config file to /etc/xen/auto and xm create a new domain, this domain will not be shutdown by xendomains during server shutdown, and when server come back it has trouble start this domain because it device in use( will shown can not connect to device in xend.log). Do a xm list showing this domain in r or p state. I have to xm destroy it before I can xm create it again. I say it's bug and should be fixed. xendomains should shutdown all running domainU instead of just ones it started. Wensheng Wang