FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-18-2012, 11:51 PM
John Wendel
 
Default Help with mke2fs

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?

Thanks,

John

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 08-19-2012, 12:50 AM
Roger Heflin
 
Default Help with mke2fs

On Sat, Aug 18, 2012 at 6:51 PM, John Wendel <jwendel10@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...
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 08-19-2012, 03:14 AM
John Wendel
 
Default Help with mke2fs

On 08/18/2012 05:50 PM, Roger Heflin wrote:

On Sat, Aug 18, 2012 at 6:51 PM, John Wendel <jwendel10@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


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 03:29 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org