linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Elmir Jagudin <boris@cyd.liu.se>
To: linux-lvm@redhat.com
Subject: [linux-lvm] problems using all space in a VG
Date: Sun, 02 Oct 2005 16:53:46 +0200	[thread overview]
Message-ID: <433FF47A.4020906@cyd.liu.se> (raw)

Hi,

I have a system with 2.73 TB partition on witch a VG group was created:

# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               storage0
  PV Size               2.73 TB / not usable 2.00 TB
  Allocatable           yes
  PE Size (KByte)       65536
  Total PE              44701
  Free PE               32803
  Allocated PE          11898
  PV UUID               n1wiZE-PmlM-sAaH-I8cl-ORUZ-GReQ-54xlf7

Notice that it says that 2 TB is not usable, which according to 
https://www.redhat.com/archives/linux-lvm/2005-August/msg00033.html
is a sign of lvm tools is not able to handle devices this large.

After upgrading lvm tools the pvdisplay says that all the space is 
usable. However creating LVs that total in size over 0.73 TB (2.73 - 2) 
is not possible and fails with following error messages:

# lvcreate -L 65g -n export storage0
  device-mapper ioctl cmd 9 failed: Invalid argument
  Couldn't load device 'storage0-export'.
  Failed to activate new LV.

following errors are logged in /var/log/messages:

Oct  2 17:48:35 sinclair kernel: device-mapper: device /dev/sdc1 too 
small for target
Oct  2 17:48:35 sinclair kernel: device-mapper: dm-linear: Device lookup 
failed
Oct  2 17:48:35 sinclair kernel: device-mapper: error adding target to table


Anyone knows what's going on ? How can i reclaim this 2TB of storage ?


Here follows some version details:

The VG was originaly created with following tools:

# lvm version
  LVM version:     2.00.31 (2004-12-12)
  Library version: 1.00.19-ioctl (2004-07-03)
  Driver version:  4.1.0

Since then the tools have been upgraded to following versions:

# lvm version
  LVM version:     2.01.08 (2005-03-22)
  Library version: 1.01.01 (2005-03-29)
  Driver version:  4.4.0

The upgraded pvdisplay then says:

# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               storage0
  PV Size               2.73 TB / not usable 0
  Allocatable           yes
  PE Size (KByte)       65536
  Total PE              44701
  Free PE               32803
  Allocated PE          11898
  PV UUID               n1wiZE-PmlM-sAaH-I8cl-ORUZ-GReQ-54xlf7


T.i.a,
Elmir Jagudin

                 reply	other threads:[~2005-10-02 14:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=433FF47A.4020906@cyd.liu.se \
    --to=boris@cyd.liu.se \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).