View previous topic :: View next topic |
Author |
Message |
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Wed May 21, 2008 11:03 am Post subject: Choosing optimal ext3 parameters |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54834 Location: 56N 3W
|
Posted: Wed May 21, 2008 7:56 pm Post subject: |
|
|
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
-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 |
|
|
|