Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Choosing optimal ext3 parameters
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
derverstand
Guru
Guru


Joined: 15 Dec 2005
Posts: 511
Location: /dev/null

PostPosted: Wed May 21, 2008 11:03 am    Post subject: Choosing optimal ext3 parameters Reply with quote

Hi,

When I make a new filesystem mkfs.ext3: what is the impact of -T largefile4 or -T news to the utilization of a filesystem? What happens, if the majority of the files is too big or too small for the selected inode ratio?

Assuming I have a lot of files ~3-7MB what would be an optimal choice?

/BR
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Wed May 21, 2008 7:56 pm    Post subject: Reply with quote

derverstand.

The -T option controls the ratio of inodes to user space in the filesystem.
Each inode needs 128 bytes and the filesystem is full either when you run out of inodes or useful space.

You have to get this right at filesystem creation time as it cannot be changed later.

read
Quote:
man mke2fs

-T news and -T largefile are two fixed values for blocks per inode. You can choose your own number too.
Each block on an ext3 filesystem is 4kB
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum