[linux-lvm] extended lv doesn't show correct size
Willy Vanlid
wiva at home.se
Fri Dec 30 22:32:02 UTC 2005
Hi,
I ran lvextend on a lv to extend it from 1.1TB to 2.66TB and there where
no errors given and lvdisplay shows it as 2.66TB but now it is only
listed as 679.27 GB if I run lvmdiskscan is there anyway to fix this?
I have tried removing and adding a few extents but that doesn't change
the size.
I'll include some printouts if that can be of any help:
The lv is /dev/site/ftp and I'm running Slackware 10 with a 2.6.12.6
kernel.
Yours Sincerely
Willy Vanlid
root at X:~# lvdisplay --version
LVM version: 2.01.15 (2005-10-16)
Library version: 1.01.05 (2005-09-26)
Driver version: 4.4.0
root at X:~# lvmdiskscan
/dev/sda [ 372.61 GB]
/dev/hdc [ 189.92 GB]
/dev/mapper/swap0 [ 258.83 MB]
/dev/hda1 [ 258.83 MB]
/dev/mapper/sde1 [ 372.61 GB] LVM physical volume
/dev/hda2 [ 9.77 GB]
/dev/mapper/sdf1 [ 372.61 GB] LVM physical volume
/dev/hda3 [ 101.77 GB]
/dev/mapper/sdc1 [ 372.61 GB] LVM physical volume
/dev/mapper/hdc [ 189.92 GB] LVM physical volume
/dev/mapper/sdb1 [ 372.61 GB] LVM physical volume
/dev/mapper/sda [ 372.61 GB] LVM physical volume
/dev/mapper/sdd [ 372.61 GB] LVM physical volume
/dev/mapper/hdb [ 111.79 GB] LVM physical volume
/dev/mapper/hdd [ 189.92 GB] LVM physical volume
/dev/site/ftp [ 679.27 GB]
/dev/sdb1 [ 372.61 GB]
/dev/sdc1 [ 372.61 GB]
/dev/sdd [ 372.61 GB]
/dev/hdb [ 111.79 GB]
/dev/hdd [ 189.92 GB]
/dev/hdf [ 93.16 GB] LVM physical volume
/dev/sde1 [ 372.61 GB]
/dev/sdf1 [ 372.61 GB]
6 disks
8 partitions
6 LVM physical volume whole disks
4 LVM physical volumes
root at X:~# vgdisplay site
--- Volume group ---
VG Name site
System ID
Format lvm2
Metadata Areas 9
Metadata Sequence No 68
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 9
Act PV 9
VG Size 2.66 TB
PE Size 4.00 MB
Total PE 698182
Alloc PE / Size 698182 / 2.66 TB
Free PE / Size 0 / 0
VG UUID yX18kB-L8hl-gwD6-07c7-hfrl-kj21-YF3Nq2
root at X:~# lvdisplay site/ftp
--- Logical volume ---
LV Name /dev/site/ftp
VG Name site
LV UUID nevRwC-Dt1U-e4rg-pNFY-AqfI-8dzw-Nz3kVn
LV Write Access read/write
LV Status available
# open 1
LV Size 2.66 TB
Current LE 698182
Segments 12
Allocation inherit
Read ahead sectors 0
Block device 253:10
More information about the linux-lvm
mailing list