Re: mke2fs options for very large filesystems

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

 



Just as a side note but do you really want to reserve 5%
of your 2TB partition for root?

Another side question on this. Is it possible to make mkfs
accept non-integer values for the reserved percentage?
It is getting to the point these days where partitions
are getting so big that even 1% is becoming quite a waste.
However it would still be good to have some space reserved.


Andreas Dilger wrote:
On Feb 07, 2005  09:58 -0800, Jeffrey W. Baker wrote:

Wow, it takes a really long time to make a 2TB ext2fs.  Are there
better-than-default options that could be used for a large filesystem?

mke2fs 1.34 (25-Jul-2003)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
244203520 inodes, 488382016 blocks
24419100 blocks (5.00%) reserved for the super user
First data block=0
14905 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848


Yes, if you are creating larger files.  By default e2fsck assumes the average
file size is 8kB and allocates a corresponding number of inodes there.  If,
for example, you are storing lots of larger files there (digital photos, MP3s,
etc) that are in the MB range you can use "-t largefile" or "-t largefile4"
to specify an average file size of 1MB or 4MB respectively.  You can also
use -i or -N (see man page) to override the default bytes-per-inode value.
This will also speed up e2fsck noticably.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://members.shaw.ca/adilger/             http://members.shaw.ca/golinux/



------------------------------------------------------------------------

_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

_______________________________________________ Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux