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] howto delete a lvm with windows partition

Hi,

> 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:
$ lvs | grep Win2k
  Win2kServer     Xen0 -wi-ao   8.00G

dont know what it tells me.

~ $ lsof /dev/mapper/Xen0-Win2kServer
~ $ lsof /dev/mapper/Xen0-Win2kServer1

no output!

@Tiago:
$ partx  -l /dev/mapper/Xen0-Win2kServer
# 1:         0-       -1 (        0 sectors,      0 MB)
# 2:         0-       -1 (        0 sectors,      0 MB)
# 3:         0-       -1 (        0 sectors,      0 MB)
# 4:         0-       -1 (        0 sectors,      0 MB)

$ partx  -d /dev/mapper/Xen0-Win2kServer
error deleting partition 1: BLKPG: Invalid argument

no success...

any more ideas?

regards Martin

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