|
|
|
|
|
|
|
|
|
|
xen-users
RE: [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
|
|
|
|
|