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

RE: [Xen-users] howto delete a lvm with windows partition


  • To: "Martin Hierling" <martin@xxxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
  • Date: Tue, 8 Apr 2008 10:10:42 -0400
  • Delivery-date: Tue, 08 Apr 2008 07:11:21 -0700
  • Importance: normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Priority: normal
  • Thread-index: AciZOdj6eaCYP6eiSg67psLnpUirlwASC2og
  • Thread-topic: [Xen-users] howto delete a lvm with windows partition

Martin Hierling wrote:
> 
> Hi List,
> 
> slightly OT but i have Xen and Windows running (xen 3.2.0, hvm, win
> 2k3) on top of a  lvm volume. Now i want to delete such a volume but i
> got the message:
> $ lvremove /dev/Xen0/Win2kServer
>   Can't remove open logical volume "Win2kServer"
> 
> The volume is not in use by any VM, but there is a partition table on
> it with 8Megs of free space and a ntfs partition. I also got 2
> devnodes i /dev/mapper :
> brw-r-----  1 root disk 254, 52 Mar 27 14:03 Xen0-Win2kServer
> brw-r-----  1 root disk 254, 53 Mar 27 14:03 Xen0-Win2kServer1
> 
> So how can i remove such a lvm volume?

What's the output of 'lvs'? Maybe it is open somewhere when you
think it is not. If you find it is open an 'lsof /dev/mapper'
may show you what process has it open.

-Ross



______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.


_______________________________________________
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®.