Linux

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • extended lv doesn't show correct size

    1 answers - 2510 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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@X:~# lvdisplay
    LVM version: 2.01.15 (2005-10-16)
    Library version: 1.01.05 (2005-09-26)
    Driver version: 4.4.0
    root@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@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
    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
    root@X:~# lvdisplay site/ftp
    Logical volume
    LV Name /dev/site/ftp
    VG Name site
    LV UUID
    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
    linux-lvm mailing list
    linux-lvm (AT) redhat (DOT) com
    read the LVM HW-T at http://tldp.org/HWT/LVM-HWT/
  • No.1 | | 237 bytes | |

    Fri, Dec 30, 2005 at 11:32:02PM +0100, Willy Vanlid wrote:
    listed as 679.27 GB if I run lvmdiskscan is there anyway to fix this?
    Run with -vv and look for a line:
    /dev/site/ftp: size is
    What does it say?
    Alasdair

Re: extended lv doesn't show correct size


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Linux"

EMSDN.COM