I have a RHEL 9 with an ext4 fs
Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 1258291199 1258289152 600G 83 Linux it has been requested it be ext4 with Inodes for 100,000,000 files +
I thought I could just run mkfs.ext4 -N 2000000000 /dev/sdb1
to get more than enough inodes however when I mount the partition
mount /dev/sdb1 /fileshare
the /fileshare shows up as only 92gb
when I run mkfs.ext4 /dev/sdb1 then mount it the /fileshare shows as 560gb which is what I want how can I get a inode count that I need to accommodate that large file count (100 million to 500 million) but still have the 560gb disk size?
-N 2000000000? Your question says your target is around the 100 million mark, not the 2000 million mark - you're asking for 20x more inodes than you need