screwed up a drive (i think)!

Chris Murphy lists at colorremedies.com
Fri Dec 27 00:51:52 UTC 2013


On Dec 26, 2013, at 3:17 PM, bruce <badouglas at gmail.com> wrote:
> 
> Here's the output of the fdisk -l
> [root at dell-1 ~]# fdisk -l
> 
> Disk /dev/sda: 640.1 GB, 640135028736 bytes
> 255 heads, 63 sectors/track, 77825 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: 0x28000000
> 
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          64      512000   83  Linux
> Partition 1 does not end on cylinder boundary.
> /dev/sda2              64       77826   624618496   8e  Linux LVM

It is in fact showing a normal MBR with two partitions for device /dev/sda

> Disk /dev/dm-0 doesn't contain a valid partition table
> 
> Disk /dev/dm-1 doesn't contain a valid partition table
> 
> Disk /dev/dm-2 doesn't contain a valid partition table
> 
> Disk /dev/dm-3 doesn't contain a valid partition table
> 
> Disk /dev/dm-4 doesn't contain a valid partition table
> 


This is a normal message for fdisk of that era because it doesn't ignore the fact these are device mapper logical block devices, which do not normally ever have partition tables, you just format them. The /dev/dm-X designation is mapped to /dev/mapper/VGblah-LVblah. They are one in the same. There's nothing wrong here except possibly the presentation depending on the age of the tools.

Chris Murphy



More information about the users mailing list