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: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] can not remove windows vps from hard disk
From: Jingyun He <jingyun.ho@xxxxxxxxx>
Date: Tue, 1 Dec 2009 14:58:17 +0100
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, Antonino Catinello <antonino@xxxxxxxxxxxx>
Delivery-date: Tue, 01 Dec 2009 05:59:33 -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=RISbybRLX9T0FIKjaYHbUIU2Ms18dXm+rNd2ojvGpdI=; b=QFHi2OvDXMvXGUeo3B50rUSIExSXHvXA5l675a3Gzwbnd/4PI8K8P/hOtzvRfehIYE VnOod7riLjj9pYTUPyQOCzbtkfhaotfmiNv+6Q6kkjPU4DbeezVnPDHJ3/flfuYZvBLh HXR9dRTzjjJCSuPGMUDIlJKD5Wd2xnOpaEE9c=
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=w38ySJA0fP4Fe9FW7dd7eTlLwIOyc4lCN0vbw47cfwob6Wh5hLxitP/zUNiRxpnqtT DpdjNq0pvNdl252f7vxP434n4tnvUFREL142gmpIyGc+bkFaoBpdEzGTdX6uQhv1+V6y aePAoXbTBHqLE5eoBW0vbfbQxd3YiKZSJgWJw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0912010550m3d511dc3r73e9f4feb09c85d1@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> <7207d96f0912010420n50f0b2edg5268d5609487b85@xxxxxxxxxxxxxx> <2f88f10c0912010452u747a2139jf7c1251b501ad0d5@xxxxxxxxxxxxxx> <635EAF8DEC6B2C44877EB577B8A7E676022B79C2A378@xxxxxxxxxxxx> <2f88f10c0912010525y2a977a0dsa27f73080cbda318@xxxxxxxxxxxxxx> <7207d96f0912010550m3d511dc3r73e9f4feb09c85d1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I had tried kpartx before, and it can not remove the partitoin entry
/dev/VolGroup00/xxxp1

actually, if we run kpartx -a /dev/VolGroup00/xxx
it will add a partition entry named /dev/VolGroup00/xxx1, but not
/dev/VolGroup00/xxxp1


On Tue, Dec 1, 2009 at 2:50 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Tue, Dec 1, 2009 at 8:25 PM, Jingyun He <jingyun.ho@xxxxxxxxx> wrote:
>> It is already stopped.
>>
>> One more thing is that,
>> In the /dev/mapper directory,
>> I have two device, one is VolGroup00-xxx,
>> another is VolGroup00-xxxp1,
>
> Ah :D
>
> My guess is somehow you've run kpartx on the LV. Try this:
> kpartx -dv /dev/VolGroup00/xxx
>
> If all goes well, it SHOULD remove the partition entries (i.e.
> /dev/mapper/VolGroup00-xxxp1). If not, and you don't have it mounted,
> it's possible that some process (qemu, or kernel process) is still
> using it.
>
> --
> Fajar
>

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