linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] problems using all space in a VG
@ 2005-10-02 14:53 Elmir Jagudin
  0 siblings, 0 replies; only message in thread
From: Elmir Jagudin @ 2005-10-02 14:53 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-02 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-02 14:53 [linux-lvm] problems using all space in a VG Elmir Jagudin

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