Re: Large disk problem with LVM2...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 problem.

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.

Regards,
Bryn.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux