All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Large disk problem with LVM2...
Date: Tue, 16 Dec 2008 09:08:35 +0000	[thread overview]
Message-ID: <49477013.8090504@redhat.com> (raw)
In-Reply-To: <4946B2B8.2000801@skywaywest.com>

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.

  parent reply	other threads:[~2008-12-16  9:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-15 19:40 [linux-lvm] Large disk problem with LVM2 Greg Varga
2008-12-15 22:15 ` Greg Varga
2008-12-16  9:08 ` Bryn M. Reeves [this message]
2008-12-16 11:39   ` Greg Varga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49477013.8090504@redhat.com \
    --to=bmr@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.