[ext2resize] ext2resize latest 2.4 kernel
Status: Inactive
Brought to you by:
adilger
From: Andrew J. <and...@ne...> - 2004-09-26 23:55:25
|
Has anyone had any luck applying the online-ext2 patch to 2.4.27 ? Looks like it broke somewhere around 2.4.21. Hunk #7 succeeded at 1726 (offset 26 lines). 1 out of 7 hunks FAILED -- saving rejects to file fs/ext3/super.c.rej patching file include/linux/ext3_fs.h Hunk #2 succeeded at 460 (offset 1 line). this is the reject file.... *************** *** 1660,1666 **** es = sbi->s_es; - if ((*flags & MS_RDONLY) != (sb->s_flags & MS_RDONLY)) { if (sbi->s_mount_opt & EXT3_MOUNT_ABORT) return -EROFS; --- 1684,1691 ---- es = sbi->s_es; + if ((*flags & MS_RDONLY) != (sb->s_flags & MS_RDONLY) || + n_blocks_count > le32_to_cpu(es->s_blocks_count)) { if (sbi->s_mount_opt & EXT3_MOUNT_ABORT) return -EROFS; Strange that in the first chunk it removes the if statement with the starting curly bracket, but the matching curly bracket is not removed. I am looking at doing an online resize on a 80GB RAID Array which hosts 5000+ clients. So getting this to work 100% is my primary goal. Thanks in advance. -- Andrew Jackson Systems Administrator NetRegistry Pty Ltd _______________________________________________ http://www.netregistry.com.au/ Tel: +61 2 96996099 | Fax: +61 2 96996088 PO Box 270 Broadway | NSW 2007, Australia Your Total Internet Business Services Provider Trusted by 10,000s of Oz Businesses Since 1997 |