[linux-lvm] Large disk problem with LVM2...
Bryn M. Reeves
bmr at redhat.com
Tue Dec 16 09:08:35 UTC 2008
Greg Varga wrote:
> device-mapper: table: device 8:3 too small for target
> device-mapper: table: 253:7: linear: dm-linear: Device lookup failed
> device-mapper: ioctl: error adding target to table
How was the underlying device (sda) partitioned? For a device this
large, you'll need to use a GPT partition table, rather than the
traditional MSDOS MBR. Some versions of tools may allow you to create
large partitions on MSDOS which later cause problems, since the MSDOS
format is limited to 2TiB addressing.
The output of "fdisk -l /dev/sda" and "parted /dev/sda p", as well as
the content of /proc/partitions would help to confirm if this is the
> Anyone have any ideas why pvs shows the DevSize of 1.09TB?
There have been some cosmetic bugs that caused the wrong device sizes to
be reported, but this doesn't look like one of those cases - since
you're getting errors from the kernel when mapping LVs onto the
device, it really does appear that it's not as big as we're expecting.
More information about the linux-lvm