Sample Header Ad - 728x90

Determine bytes per inode ratio of existing ext4 filesystem

0 votes
1 answer
185 views
I created a filesystem following this guide: https://wiki.archlinux.org/title/Ext4#Create_a_new_ext4_filesystem However it looks like I made a mistake because the ratio for /dev/sdc doesn't add up:
asdf@pve:~# df -i
Filesystem               Inodes  IUsed      IFree IUse% Mounted on
/dev/sda2            2953572160 622647 2952949513    1% /mnt/my8tb
/dev/sdb1             183148544 102711  183045833    1% /mnt/my3tb
/dev/sdc                1907840   3584    1904256    1% /mnt/my2tb
asdf@pve:~# df
Filesystem            1K-blocks       Used  Available Use% Mounted on
/dev/sda2            7814008828 5995014812 1818994016  77% /mnt/my8tb
/dev/sdb1            2883129520 1237379688 1499220196  46% /mnt/my3tb
/dev/sdc             1951774200 1277927944  576154144  69% /mnt/my2tb
I created it to be a largefile4 drive, but it didn't seem to work - [2 TB for this amount of inodes comes to around 1 MB per inode](https://www.wolframalpha.com/input?i=2+TB+%2F+1907840) . (and [again](https://www.wolframalpha.com/input?i=%28%281854082088+*+1KB%29+%2F+1907840%29+in+bytes)) I would expect ~4MB per inode in largefile4. Am I interpreting these results correctly?
Asked by Atomic Tripod (103 rep)
Oct 15, 2024, 06:15 PM
Last activity: Oct 20, 2024, 09:20 AM