[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: resize2fs on LVM2 on hardware RAID5



# mke2fs /dev/vg00/backups -O resize_inode
# tune2fs -j /dev/vg00/backups
# lvextend -L 65G /dev/vg00/backups
# resize2fs /dev/vg00/backups 65G
resize2fs 1.40-WIP (14-Nov-2006)
Resizing the filesystem on /dev/vg00/backups to 17039360 (4k) blocks.
The filesystem on /dev/vg00/backups is now 17039360 blocks long.

So that works indeed!
Bummer, that means that I *do* have to have some downtime to recreate
al my fs with the -O resize_inode option :(

Pim

On 2/2/07, Pim Bliek <pim.bliek@gmail.com> wrote:
# ext2online -v /dev/vg00/backup 60G
ext2online v1.1.19 - 2001/03/18 for EXT2FS 0.5b
new filesystem size 15728640
using 0 reserved group descriptor blocks
ext2online: ext2_ioctl: Inappropriate ioctl for device

ext2online: unable to resize /dev/mapper/vg00-backup


So ext2online doesn't work either...
I am going to try to create a new fs with the -O option and see how that goes...

Pim

>
> It works here.
> Anyway try the other command : ext2online
>
>




Reply to: