[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xm destroy does not delete all references


  • To: "AZZOPARDI Konrad" <azzopardi@xxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Mon, 30 Jun 2008 16:50:06 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 30 Jun 2008 13:51:05 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:references; b=hArAvHj4jfAs4359cC14JSbwPGtTjf6SiNBygPqJ2zvUCJHY8TU5wKUKhxffSiFzHU mkX8AKOpHOBmfG4KEHOao4nquc1yHZrQ6uqFD5lvi5ZuSQi9uEbQpcCgJmTBJQnS4wBU CXmfnpy+wKyx2nyBWBttZx8hDk54LyXZDDAMk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Mon, Jun 30, 2008 at 7:44 AM, AZZOPARDI Konrad <azzopardi@xxxxxxx> wrote:
Hi all,
 
I was jumpstarting a VM but somehow I had to quit installation. I did an xm destroy {name} to restart all over. Unfortunately when I tried to re-install using virt-install, I got a response :
 
Disk /dev/mapper/rootvg-secure_build is already in use by another guest!
 
How can I get rid of all references to this unwanted domU.

Take a look at the lsof command.

You should be able to us something like:

lsof | grep <your vg name>

then kill the PID that owns that file.

There was some discussion awhile back on this topic:

http://xen.markmail.org/search/?q=lsof

Cheers,
Todd


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.