Skip to contentSkip to conversation

disk info

linux-lvm Valentine Kouznetsov 4 participants 6 messages Aug 6, 2003 – Aug 11, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
I'm newbie of using LVM. I'm having the following "strange" behaviour:
I can lvextend my volumes, but I cannot see the changes using df command. Actually df output is different from LV size of lvdisplay output. Is it known bug and/or I'm missing something.

My configuration:
RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from RedHat 9)

I would appreciate if you cc me to [email protected]

Thanks,
Valentine.

#1 lore raw
Quoted 5 lines · Valentine Kouznetsov

Hi,
I'm newbie of using LVM. I'm having the following "strange" behaviour:
I can lvextend my volumes, but I cannot see the changes using df command. Actually df output is different from LV size of lvdisplay output. Is it known bug and/or I'm missing something.

you have to resize the filesystem on the lvm lv
after you extended it ...

for ext2/ext3 this would be resize2fs ...

HTH,
Herbert

Quoted 17 lines

My configuration:
RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from RedHat 9)

I would appreciate if you cc me to [email protected]

Thanks,
Valentine.

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#2 lore raw

Herbert,
thanks for tip. I've look at resize2fs, but at least for ext2/ext3 I need to unmount my partition first. How about situation if root partion is on LVM and I want to resize it as well.
Thanks,
V.

Quoted 31 lines · you
Quoted 5 lines · Valentine Kouznetsov

Hi,
I'm newbie of using LVM. I'm having the following "strange" behaviour:
I can lvextend my volumes, but I cannot see the changes using df command. Actually df output is different from LV size of lvdisplay output. Is it known bug and/or I'm missing something.

you have to resize the filesystem on the lvm lv
after you extended it ...

for ext2/ext3 this would be resize2fs ...

HTH,
Herbert

Quoted 16 lines

My configuration:
RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from RedHat 9)

I would appreciate if you cc me to [email protected]

Thanks,
Valentine.

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw
Quoted 4 lines · Valentine Kouznetsov

Herbert,
thanks for tip. I've look at resize2fs, but at least for ext2/ext3 I need to unmount my partition first. How about situation if root partion is on LVM and I want to resize it as well.

there are some effords to resize a fs while mounted, but usually the procedure is the same, and you either boot from a rescue cd/floppy or a special rescue partition ...

HTH,
Herbert

Quoted 42 lines

Thanks,
V.

Quoted 7 lines · you
Quoted 5 lines · Valentine Kouznetsov

Hi,
I'm newbie of using LVM. I'm having the following "strange" behaviour:
I can lvextend my volumes, but I cannot see the changes using df command. Actually df output is different from LV size of lvdisplay output. Is it known bug and/or I'm missing something.

Quoted 24 lines

you have to resize the filesystem on the lvm lv
after you extended it ...

for ext2/ext3 this would be resize2fs ...

HTH,
Herbert

Quoted 16 lines

My configuration:
RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from RedHat 9)

I would appreciate if you cc me to [email protected]

Thanks,
Valentine.

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#4 lore raw
In reply to Valentine Kouznetsov
Quoted 6 lines · Valentine Kouznetsov

Herbert,
thanks for tip. I've look at resize2fs, but at least for ext2/ext3 I need to unmount my partition first. How about situation if root partion is on LVM and I want to resize it as well.
Thanks,
V.

well, in that case you need to boot of a floppy, cdrom or something else which provides you all the tools you need. Why on the first hand did you install root on an lvm? I for my part don't see the need. My root is about 75 mb, with everything else (/usr, /var, /home) on seperate partitions.

Quoted 40 lines · you
Quoted 7 lines · Valentine Kouznetsov
Quoted 5 lines

Hi,
I'm newbie of using LVM. I'm having the following "strange" behaviour:
I can lvextend my volumes, but I cannot see the changes using df command. Actually df output is different from LV size of lvdisplay output. Is it known bug and/or I'm missing something.

Quoted 24 lines

you have to resize the filesystem on the lvm lv
after you extended it ...

for ext2/ext3 this would be resize2fs ...

HTH,
Herbert

Quoted 16 lines

My configuration:
RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from RedHat 9)

I would appreciate if you cc me to [email protected]

Thanks,
Valentine.

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 3 lines
Regards,

Wiktor Wodecki
#5 lore raw
In reply to Valentine Kouznetsov
Quoted 4 lines · Valentine Kouznetsov

I'm newbie of using LVM. I'm having the following "strange" behaviour:
I can lvextend my volumes, but I cannot see the changes using df command. Actually df output is different from LV size of lvdisplay output. Is it known bug and/or I'm missing something.

It sounds like you're not extending the filesystem after you've extended the volume.

Signature · 2 lines
Randomly Generated Tagline:
I'm practicing assertiveness.  Do you think that's okay?