Hi all
I am having some trouble using the ext2online utility, I have reduced the problem down to its simplist form, and it goes soemthing like this:
Start with a regular msdos labelled disk (I have tried lvm volumes):
Command (m for help): p
Disk /dev/sdb: 18.3 GB, 18351967232 bytes 64 heads, 32 sectors/track, 17501 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System /dev/sdb1 1 17501 17921008 83 Linux
Command (m for help): w The partition table has been altered!
Calling ioctl() to re-read partition table. Syncing disks.
Create an undersized filesystem ontop:
[root@blah ~]# mke2fs /dev/sdb1 1048576 mke2fs 1.35 (28-Feb-2004) max_blocks 268435456, rsv_groups = 8192, rsv_gdb = 63 Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 131072 inodes, 262144 blocks 13107 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=268435456 8 block groups 32768 blocks per group, 32768 fragments per group 16384 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376
Writing inode tables: done inode.i_blocks = 2528, i_size = 4243456 Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 25 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [root@blah ~]# mount /dev/sdb1 /mnt
Try an online resize:
[root@blah ~]# ext2online /dev/sdb1 ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b ext2online: ext2_ioctl: Inappropriate ioctl for device
ext2online: unable to resize /dev/sdb1
I am using RedHat AS4: [root@blah ~]# uname -rsmpio Linux 2.6.9-5.ELsmp x86_64 x86_64 x86_64 GNU/Linux [root@blah ~]# rpm -qa | grep e2fs e2fsprogs-1.35-11.6.EL4 e2fsprogs-devel-1.35-11.6.EL4
Any help greatly appreciated.
Thanks
Jonathan
_______________________________________________ Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users