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

Re: [Xen-users] can not remove windows vps from hard disk


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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