Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-24-2004, 02:15 AM   #1
Registered: Aug 2004
Location: Germany
Distribution: Slackware 10.0
Posts: 258

Rep: Reputation: 30
How many bytes per inode?

Hi there!

When I am installing and formatting a disc as ext3 I get the question how big the inodes should be made... I choose 4096 (?) ...the default ... it works,... but

What kind of effect would it have to choose another? What do I configure with this?

Thanks, Sascha
Old 09-24-2004, 02:28 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Basically, if you are going to have a lot of small files on your filesystem, choose a small number of bytes per inode. Otherwise the default will work fine.

Basically, each file requires 1 inode (this holds the metadata such as permissions and the list of physical disk blocks the file is stored on) + whatever data blocks the file uses. So if you have a bunch of small files, you risk exhausting the inodes before the filesystem is actually full space-wise, which is bad, since no free inodes means no new files can be created. The larger your inodes, the fewer there will be, but the more data about the file (i.e. bigger block lists) can be held in each inode.
Old 09-24-2004, 02:36 AM   #3
Registered: Aug 2004
Location: Germany
Distribution: Slackware 10.0
Posts: 258

Original Poster
Rep: Reputation: 30
Thanks ...

So it will not make any feelable changes to the performance?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TX bytes vs. httpd bytes ovrload Linux - Networking 3 10-12-2005 04:19 PM
How to retrieve bytes sent AzidStar Linux - Networking 5 03-01-2005 03:25 AM
inode muthiahm Linux - Newbie 2 06-11-2004 04:00 PM
about inode eshwar_ind Programming 3 04-24-2004 02:39 PM
why did this inode change? jlangelier Linux - Security 1 08-10-2003 09:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration