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] xm destroy does not delete all references

To: "AZZOPARDI Konrad" <azzopardi@xxxxxxx>
Subject: Re: [Xen-users] xm destroy does not delete all references
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type:references; bh=0R9L16LG7CuBT2qH1lkWQcJDwqlc7CGQFDeNgOMX7iI=; b=AJ6I0yE5Ep/SXPnt6PBcauIgSGTgww2U2g5APwOVbSE+ZlPHS281TQXhIfnIf+G0Qe Sse08Fj36K6N/QiLEYEjsrseiD5wYH3aAsd0aZl8gBOH3OTJ7izfMJ0dD5q/VKgxA0GP Jdirv7AorHJe1JlS+9BQ/MPaJM1vbyslzXTa4=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0K3900GA5XYE8S10@xxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <0K3900GA5XYE8S10@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>