Skip to contentSkip to conversation

filesystem does not reflect new LV size

linux-lvm Vladimir G. Ivanovic 1 participant 1 message Jun 6, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Joe Thornber

Resizing is always done in two steps, these steps are done in a different order depending whether you are extending or reducing.

Extending:

i) Resize the LV (lvextend)
ii) Resize the filesystem (eg, ext2resize, resize_reiserfs)

Quoted 8 lines

Reducing:

i) Resize filesystem.
ii) Resize the LV (lvreduce)

There is a tool called e2fsadm provided in LVM1 which performs both of these steps iff you are using an ext2 filesystem.

Thanks! I assume that ext2resize also works for ext3 filesystems. Do I have to do anything special about the journal file, which is a hidden inode.

--- Vladimir

--------
Vladimir G. Ivanovic http://leonora.org/~vladimir
2770 Cowper St. [email protected]
Palo Alto, CA 94306-2447 +1 650 678 8014