Removing /dev/dm-0

  • Thread starter Thread starter caifan
  • Start date Start date
C

caifan

Guest
Hello,

I upgraded from version 1.9 to 2.0, but DID NOT REMOVE the VMs (KVM) from my second HDD.
Now when I type in fdisk -l, I get the following disks (even though there's no way for me to remove them):

/dev/dm-0
/dev/dm-1
/dev/dm-2

How can I remove the disks, which are KVM systems from the previous installation?
fdisk command wont mount the drive so I can format them and I have formatted the drive a couple of times with no success.....

any ideas???

Here is the results from the command:

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Device Boot Start End Blocks Id System
/dev/sda1 * 1 66 523264 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 66 19453 155724800 8e Linux LVM

Disk /dev/sdb: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 30394 244139773+ 83 Linux

Disk /dev/dm-0: 40.0 GB, 39996882944 bytes
255 heads, 63 sectors/track, 4862 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/dm-1: 7516 MB, 7516192768 bytes
255 heads, 63 sectors/track, 913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 94.8 GB, 94770298880 bytes
255 heads, 63 sectors/track, 11521 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
 
Last edited by a moderator:
Hi I know my issue different that what is posted here. but I am having a problem were I see my dm-0 is full.
The partition size is 95G and used size is 95G. I am not sure what I need to do in order to resolve this.

when I run df -f I see 100% used on /var/dm-0 is 100% used
 
Hi I know my issue different that what is posted here. but I am having a problem were I see my dm-0 is full.
The partition size is 95G and used size is 95G. I am not sure what I need to do in order to resolve this.

when I run df -f I see 100% used on /var/dm-0 is 100% used
Hi,
yes it's different...

Look, where you have wrote big files to "dm-0".

BTW. I assue you don't mean /var/dm-0 but /dev/dm-0??

Which filesystem is full?

Use "du -hs /*" and so on to find the big files.

And be sure to delete files only which you don't need again (or, better, where you have an backup from).

Udo