Table of Contents

EXT4 inodes

default:        inode_ratio = 16384
big:            inode_ratio = 32768
huge:           inode_ratio = 65536
news:           inode_ratio = 4096

Disk

Bus 002 Device 002: ID 0bc2:231a Seagate RSS LLC Expansion Portable

sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
sd 0:0:0:0: [sda] Attached SCSI disk

default

$ mkfs.ext4 -T default /dev/sda1

$ mount /dev/sda1 /mnt

$ df -h /mnt
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       3.6T   89M  3.4T   1% /mnt

$ df -hi /mnt
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/sda1        233M    11  233M    1% /mnt

big

$ df -hi /mnt
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/sda1        117M    11  117M    1% /mnt

huge

$ df -hi /mnt
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/sda1         59M    11   59M    1% /mnt

news

$ df -hi /mnt
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/sda1        932M    11  932M    1% /mnt
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies