falsche Größe bei LVM

Post Reply
Message
Author
AL_PA

falsche Größe bei LVM

#1 Post by AL_PA »

Hallo,

ich habe LVM im Einsatz und das Filesystem online erweitert. Das Problem ist, bei der Anzeige der Volumegruppe ist der Speicher allokiert wurden, nur das Filesystem wurde nicht erweitert.

Anbei sieht man im vgdisplay, das '/dev/vg0/export' 45GB hat und beim df nur 41 GB.


# vgdisplay -v vg0
--- Volume group ---
VG Name vg0
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 256
Cur LV 2
Open LV 2
MAX LV Size 255.99 GB
Max PV 256
Cur PV 1
Act PV 1
VG Size 46.75 GB
PE Size 4 MB
Total PE 11969
Alloc PE / Size 11956 / 46.70 GB
Free PE / Size 13 / 52 MB
VG UUID 4IOBLT-yI2V-k4gi-WHgt-PyjR-UF7o-2FuqzV

--- Logical volume ---
LV Name /dev/vg0/export
VG Name vg0
LV Write Access read/write
LV Status available
LV # 1
# open 1
LV Size 45 GB
Current LE 11520
Allocated LE 11520
Allocation next free
Read ahead sectors 10000
Block device 58:0

--- Logical volume ---
LV Name /dev/vg0/mydb
VG Name vg0
LV Write Access read/write
LV Status available
LV # 2
# open 1
LV Size 1.70 GB
Current LE 436
Allocated LE 436
Allocation next free
Read ahead sectors 10000
Block device 58:2


--- Physical volumes ---
PV Name (#) /dev/sdb3 (1)
PV Status available / allocatable
Total PE / Free PE 11969 / 13

##############################################################################

# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sdb2 10490116 2256120 8233996 22% /
/dev/vg0/export 41937920 34540112 7397808 83% /export
/dev/vg0/mydb 1778428 352 1778076 1% /home/mydb
/dev/vg1/suseinstall 4160612 3349908 599352 85% /home/suse
shmfs 159772 0 159772 0% /dev/shm

###############################################################################

Das Filesystem als XFS formatiert.

Wer kann helfen ?

Christian

Re: falsche Größe bei LVM

#2 Post by Christian »

Zusätlich muss noch das Dateisystem erweitert
werden. erst unmounten, dann extendfs lvol


gruss christian

daniel

Re: falsche Größe bei LVM

#3 Post by daniel »

backup nicht vergessen!

AL_PA

Re: falsche Größe bei LVM

#4 Post by AL_PA »

Danke für Info's.

Gibt es ein JFS, welches online erweitert werden kann ?

Gruß
Oliver

Post Reply