Package: e2fsprogs
Version: 1.38+1.39-WIP-2005.12.31-1
Severity: minor

    [EMAIL PROTECTED] :) sudo mke2fs -O resize_inode -j /dev/pride/rt
    mke2fs 1.39-WIP (31-Dec-2005)
    /dev/pride/rt: Too many reserved group descriptor blocks while setting up 
superblock
    [EMAIL PROTECTED] :( 

  The block device in question is exactly 20GB large.  It seems I cannot
 use -O resize_inode on block devices larger than 15GB, where it
 reserves space for growing the filesystem up to 15TB.  If there is a
 limitation on how large the resize_inode can be, mkfs should probably
 just reserve as much as it can and leave it at that if the default size
 exceeds the limitation.  It attempts to reserve space so the filesystem
 can grow to 1024 times its initial size, right?

  By the way, -O resize_inode isn't mentioned in the manual page.  I've
 attached a suggested patch.

Kind regards
-- 
Tore Anderson
diff -ru e2fsprogs-1.38+1.39-WIP-2005.12.31/misc/mke2fs.8.in foo/misc/mke2fs.8.in
--- e2fsprogs-1.38+1.39-WIP-2005.12.31/misc/mke2fs.8.in	2006-01-07 03:26:38.000000000 +0100
+++ foo/misc/mke2fs.8.in	2006-01-08 23:52:15.000000000 +0100
@@ -375,6 +375,16 @@
 @[EMAIL PROTECTED] be created with the same
 @[EMAIL PROTECTED] size as the filesystems that will be using it.
 .TP
+.B resize_inode
+Reserve space so the block group descriptor table may grow in the future.
+Useful for online resizing using the
+.B ext2online
+tool.  By default it attempts to reserve enough space so that the
+filesystem may grow to 1024 times its initial size.  You may change that
+using
+.B -E resize
+though.
+.TP
 .B sparse_super
 Create a filesystem with fewer superblock backup copies
 (saves space on large filesystems).
@@ -458,4 +468,5 @@
 .BR badblocks (8),
 .BR dumpe2fs (8),
 .BR e2fsck (8),
-.BR tune2fs (8)
+.BR tune2fs (8),
+.BR ext2online (8)

Reply via email to