All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Problem extending a LV
@ 2001-05-29  9:33 Carsten Balzer
  2001-05-29 17:01 ` AJ Lewis
  2001-05-29 21:10 ` Heinz J. Mauelshagen
  0 siblings, 2 replies; 8+ messages in thread
From: Carsten Balzer @ 2001-05-29  9:33 UTC (permalink / raw)
  To: linux-lvm@sistina.com

Hi

I have a strange problem with kernel 2.2.19 an lvm-tools 0.9.1_beta7.

I have a existing VG with 2 80GB disks containing one 160GB LV.
I added a additional 80GB disk and wanted to extend the LV. But that
didn't
work.

seven:/ # pvdisplay /dev/hdf1
--- Physical volume ---
PV Name               /dev/hdf1
VG Name               NVolGroup
PV Size               76.34 GB / NOT usable 3.22 MB [LVM: 306 KB]
PV#                   3
PV Status             available
Allocatable           yes
Cur LV                0
PE Size (KByte)       4096
Total PE              19541
Free PE               19541
Allocated PE          0
PV UUID               o593Dd-Uo4Z-Hv1Z-yTI0-QtYy-p0Wq-a4XL3q

seven:/ # vgdisplay
--- Volume group ---
VG Name               NVolGroup
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                256
Cur LV                1
Open LV               1
MAX LV Size           255.99 GB
Max PV                256
Cur PV                3
Act PV                3
VG Size               229 GB
PE Size               4 MB
Total PE              58623
Alloc PE / Size       39082 / 152.66 GB
Free  PE / Size       19541 / 76.33 GB
VG UUID               lHyDca-e7yA-4Rkt-keGF-uJHY-YCRk-3qqw7N

seven:/ # lvdisplay /dev/NVolGroup/nVol
--- Logical volume ---
LV Name                /dev/NVolGroup/nVol
VG Name                NVolGroup
LV Write Access        read/write
LV Status              available
LV #                   1
# open                 1
LV Size                152.66 GB
Current LE             39082
Allocated LE           39082
Stripes                2
Stripe size (KByte)    16
Allocation             next free
Read ahead sectors     120
Block device           58:0

If I try to extend the LV with:
lvextend -L+78164M /dev/NVolGroup/nVol
then I get:
lvextend -- rounding size 240119808 KB to stripe boundary size 240123904
KB
lvextend -- only 19541 free physical extents in volume group "NVolGroup"

Next try with: lvextend -l+19541 /dev/NVolGroup/nVol
lvextend -- rounding size 240119808 KB to stripe boundary size 240123904
KB
lvextend -- only 19541 free physical extents in volume group "NVolGroup"

Where is the error?

Gru�
  Carsten

--
"Who the fuck is General Failure and why is he reading my disk?"

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-05-30 10:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-29  9:33 [linux-lvm] Problem extending a LV Carsten Balzer
2001-05-29 17:01 ` AJ Lewis
2001-05-29 18:35   ` Austin Gonyou
2001-05-29 21:55     ` josv
2001-05-30  8:58       ` Tom Dawes-Gamble
2001-05-30 10:48       ` Oscar Wahlberg
2001-05-30  9:24     ` Heinz J. Mauelshagen
2001-05-29 21:10 ` Heinz J. Mauelshagen

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.