[linux-lvm] Error: Doesn't contain a valid partition table

James Hawtin oolon at ankh.org
Mon Oct 29 14:08:57 UTC 2012


This is to be expected. because it is possible to have partition tables on
logical volumes created by LVM. if you don't like this use the "filter"
line in /etc/lvm/lvm.conf to include/exclude what you want to be searched.
This is also useful if you want to exclude multipathed/mirrored devices.

James

> Dear All,
>
> I am trying to build a new linux VM using RHEL6.2. I have created the
> partitions using lvm. Everything works fine, but when I execute "fdisk -l"
> I am getting the below errors. Is this expected? If so, how to fix the
> errors?
>
> Disk /dev/mapper/vg00-root doesn't contain a valid partition table
> Disk /dev/mapper/vg00-opt doesn't contain a valid partition table
> Disk /dev/mapper/vg00-tmp doesn't contain a valid partition table
> Disk /dev/mapper/vg00-var doesn't contain a valid partition table
> Disk /dev/mapper/vg00-usr doesn't contain a valid partition table
> Disk /dev/mapper/vg00-home doesn't contain a valid partition table
>
> Complete output of fdisk -l is given below:
>
> Disk /dev/sda: 26.8 GB, 26843545600 bytes
> 64 heads, 32 sectors/track, 25600 cylinders
> Units = cylinders of 2048 * 512 = 1048576 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x7bed667d
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        1026     1050608   83  Linux
> /dev/sda2            1027        3076     2099200   82  Linux swap /
> Solaris
> /dev/sda3            3077       25600    23064576   8e  Linux LVM
>
> Disk /dev/sdb: 53.7 GB, 53687091200 bytes
> 64 heads, 32 sectors/track, 51200 cylinders
> Units = cylinders of 2048 * 512 = 1048576 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0xd5310289
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1       51200    52428784   8e  Linux LVM
>
> Disk /dev/mapper/vg00-root: 1073 MB, 1073741824 bytes
> 255 heads, 63 sectors/track, 130 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/mapper/vg00-root doesn't contain a valid partition table
>
> Disk /dev/mapper/vg00-opt: 1073 MB, 1073741824 bytes
> 255 heads, 63 sectors/track, 130 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/mapper/vg00-opt doesn't contain a valid partition table
>
> Disk /dev/mapper/vg00-tmp: 2147 MB, 2147483648 bytes
> 255 heads, 63 sectors/track, 261 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/mapper/vg00-tmp doesn't contain a valid partition table
>
> Disk /dev/mapper/vg00-var: 3221 MB, 3221225472 bytes
> 255 heads, 63 sectors/track, 391 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/mapper/vg00-var doesn't contain a valid partition table
>
> Disk /dev/mapper/vg00-usr: 4294 MB, 4294967296 bytes
> 255 heads, 63 sectors/track, 522 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/mapper/vg00-usr doesn't contain a valid partition table
>
> Disk /dev/mapper/vg00-home: 1073 MB, 1073741824 bytes
> 255 heads, 63 sectors/track, 130 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/mapper/vg00-home doesn't contain a valid partition table
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/





More information about the linux-lvm mailing list