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] can not remove windows vps from hard disk

To: Jingyun He <jingyun.ho@xxxxxxxxx>
Subject: Re: [Xen-users] can not remove windows vps from hard disk
From: Alain Barthe <ab266061@xxxxxxxxx>
Date: Wed, 2 Dec 2009 11:06:26 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Dec 2009 02:07:16 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ya/VHShIHGEAkBLjgnmb9AwzDl2Pb6gW4GCCl5q4KfQ=; b=szYNO0LLMQOAkSEQa7Pds9kXYsXIcdAI2OC9DM+/a41zQ+iytdeQ6dlsR9CMmaB4yJ r+B6pWxrykFy7xnIWcJXK4j+IILsl0aEQ2u5qfLmO8C1EEsDYLgmPlNq0Lm6GoJq7qTV 0C/couKwHqvGn402sdX1IgN8eQm3yjdXBZ4MQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xREC31NRqqWC4BywGXBAX75H34whXPLr3kECFAU+WxUN3UZCEiU8yrKpj0reQVdQms TQRFNzEQ6E4BCcIISdXPP6JhHCZONZCL3Pvcb9aMBa7Yd+iPtz887xynL96Ak8VIk6Lx 3Ol2eSEP9+iQht4HHEgK68dy15MWcpaUnXmbg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2f88f10c0912010243v1e9e19a3k64375de933958d55@xxxxxxxxxxxxxx>
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: <2f88f10c0912010243v1e9e19a3k64375de933958d55@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2009/12/1 Jingyun He <jingyun.ho@xxxxxxxxx>
Hello all,
I have a problem with removing the LVM partition that is used by windows vps.
When I tried to remove the LVM partition, I got the error "Can't
remove open logical volume ."

Your LV looks like still active. You can see it with the command "lvscan".
If so, you should  try "lvchange -an /dev/VolGropu00/xxx".
It could help.
 

So I run parted /dev/VolGropu00/xxx
then executed "rm 1",

I got the Error: Partition /dev/mapper/VolGroup00-xxxp1 is being used.
You must unmount it before you modify it with Parted.

Anyone can tell me how to unmount it?

Thanks.

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

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