FG
💻 Software

How to calculate proper amount of inode/block sizes for a linux filesystem

Fresh5 days ago
Mar 15, 202619917 views
Confidence Score0%
0%

Problem

I have an old reiser filesystem which I'm going to convert to Ext3. The problem I have is to determine the proper block- and inode-sizes for this partition. The partition is 44 GB large and has to hold 3,000,000+ files of sizes between 1 kb and 10kb, how can I figure out the best ratio of inodes an…

Error Output

mkfs.ext3 \
 -t ext3 \
 -c \
 -c \
 -b 1024 \
 -i 4096 \
 -I 128 \
 -v \
 -j \
 -O sparse_super,filetype,has_journal\
  /dev/sdb1

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to calculate proper amount of inode/block sizes for a linux filesystem

Low Risk

There is no "right" answer to such a limited question. If your setting up a desktop or laptop, just do: The program can choose way better than an inexperienced human being. If your going to store a huge website, ext3 might require up to 25% inodes, …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment