Help with mke2fs

John Wendel jwendel10 at comcast.net
Sun Aug 19 03:14:04 UTC 2012


On 08/18/2012 05:50 PM, Roger Heflin wrote:
> On Sat, Aug 18, 2012 at 6:51 PM, John Wendel <jwendel10 at comcast.net> wrote:
>> I'm formatting a filesystem on a new 2TB disk. It will be used to store
>> video, so it will just contain a relatively few large files (200KB to 10GB).
>> So, worst case, i need 10000 inodes.
>>
>> First I used the option "-i 100000", this resulted in 20 million inodes in
>> the filesystem.
>> Next I used the option "-N 30000", this resulted in 238,000 inodes.
>>
>> Is the math broken in e2fsck, or am I doing something stupid?
>>
> There is a lower limit to how far you can go.
>
> Using -N 30000 should have got you there.
>
> The last time I messed with it (5+ years ago) the limit was 4MB/inode
> and when you gave it an N value lower than that, you got the 4MB/inode
> value.
>
> It sounds like the limit is now 8MB/inode as that would give you about
> 238k inodes on around 2TB...
Thanks! I can live with it. Just wanted to know if I was getting senile 
or what.

John




More information about the users mailing list