From: Greg Varga <gvarga@skywaywest.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Large disk problem with LVM2...
Date: Mon, 15 Dec 2008 15:15:59 -0700 [thread overview]
Message-ID: <4946D71F.30806@skywaywest.com> (raw)
In-Reply-To: <4946B2B8.2000801@skywaywest.com>
Another note about this...
I am able to create about a 40G logical volume but anything above 50G
fails with the below error. (Which makes sense because DevSize is
reporting that it only has 0.04 TB left.
Thanks,
--Greg
Greg Varga wrote:
> I have a 3.09TB Hardware Raid 5 drive setup with, and I have already
> used about 1TB worth of space on the volume group.
>
> Today I tried to add another 500GB logical volume and it failed with:
>
> [root@bill ~]# lvcreate -L500G -ntest VolGroup01
> device-mapper: reload ioctl failed: Invalid argument
> Aborting. Failed to activate new LV to wipe the start of it.
>
>
> dmesg shows this:
>
> 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
>
>
> I have googled for the message and have read to run pvs like:
>
> [root@bill ~]# pvs -o +dev_size
> PV VG Fmt Attr PSize PFree DevSize
> /dev/sda2 VolGroup00 lvm2 a- 99.97G 0 100.00G
> /dev/sda3 VolGroup01 lvm2 a- 3.09T 2.05T 1.09T
>
>
> So my question is, how do I fix this? I'm running the most current
> (CentOS 5.2) versions of Device-Mapper and LVM and Kernel:
>
> lvm2-2.02.32-4.el5_2.1
> lvm2-cluster-2.02.32-4.el5
> device-mapper-1.02.24-1.el5
> device-mapper-event-1.02.24-1.el5
> device-mapper-multipath-0.4.7-17.el5
> kernel-2.6.18-92.1.18.el5
>
> Anyone have any ideas why pvs shows the DevSize of 1.09TB?
>
> --Greg
>
--
----------------------------------------------------------------------
Greg Varga
Systems Engineer & Development
[ LPIC-1&2 | CCNA | MCSE | MCSA | VCP-3 ]
[ VoIP Specialist | Virtualization Specialist ]
Skyway West
Phone: (604) 482-1128
Email: gvarga@skywaywest.com
WebSite: www.skywaywest.com
----------------------------------------------------------------------
This communication contains confidential information intended only
for the person to whom it is addressed. Any unauthorized disclosure,
copying, other distribution of this communication or taking any action
on its contents is strictly prohibited. If you have received this
message in error, please notify immediately and delete this message
without reading, copying or forwarding it to anyone.
next prev parent reply other threads:[~2008-12-15 22:16 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 [this message]
2008-12-16 9:08 ` Bryn M. Reeves
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=4946D71F.30806@skywaywest.com \
--to=gvarga@skywaywest.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.