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/
Home Products Support Community News


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

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] howto delete a lvm with windows partition
From: "Martin Hierling" <martin@xxxxxxxxx>
Date: Tue, 8 Apr 2008 07:31:33 +0200
Delivery-date: Mon, 07 Apr 2008 22:32:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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?

regards Martin

Xen-users mailing list