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: Alain Barthe <ab266061@xxxxxxxxx>
Subject: Re: [Xen-users] can not remove windows vps from hard disk
From: Jingyun He <jingyun.ho@xxxxxxxxx>
Date: Wed, 2 Dec 2009 20:09:41 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Dec 2009 11:10:25 -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 :content-transfer-encoding; bh=JtuTJDsCifggaMw3RTzpUx4DDQr6DVjYMeiAD5m/gKY=; b=ItyikNwywE/BPt0alTkpu6CZuKMGzev0bhB8kf8Rlv3uUCTCr5DR4h1cjJZNZxbdsm aAUBlxro98ij5Fy8ukPkAJZR3xtz3hNqLyt4wryMThZnl0UIECjvfKKf40atImyy4MSp nA8ATxX4TUCCAE9iPlL+BYvO0gkO0CfKTNdTk=
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:content-transfer-encoding; b=AYf1utkuJOHrlt3xVp3ktjs2OyzixXB8DNQN4mgN6z5CJw4yBHp9Yiwun0jJweUpY7 oCZ0JEGNSBp2uf1O4u2xMO4QaCK2Y6fwpkO1fMIeVFHLV+TQ9xxLqO3mAvEhgkYFZwUu ZwdIH4/6UrMXLOUSlK5O6Aj2X96zT9HxRPp3g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <94e2f00b0912020206q5244bc5dq769f123841c8343d@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> <94e2f00b0912020206q5244bc5dq769f123841c8343d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
OK, I just run the command "dmsetup remove VolGroup00 xxx",
and after this, I can remove the LV partition successful.

My question is: is it safe to run the command "dmsetup remove VolGroup00 xxx".?

On Wed, Dec 2, 2009 at 11:06 AM, Alain Barthe <ab266061@xxxxxxxxx> wrote:
> 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