11
2
I have just converted an NTFS partition to ext4, however the total space seems reduced from 421G to 415G. Where did the 6G go? And, the reserved space is grown to 199M in ext4, much larger compared to 78M in NTFS, why?
The partition is mainly used for movies/musics, so most files are very large (>10M each). I want to use ext4 file system, is there any suggestion?
mkfs.ntfs:
/dev/sdb4 421G 78M 421G 1% /mnt/mmedia
mkfs.ext4:
/dev/sdb4 415G 199M 393G 1% /mnt/mmedia
(415G - 199M == 393G ?)
It's also weird that the remaining size of ext4 is 393G, shouldn't it be 415G or 414G? What happened to the disappeared 22G? Compared to NTFS, ext4 consumed 6.6% of total space, that's really a big deal.
The question is:
- What is 6G mainly used for, for journal, for redundancy, or for indexing?
- Why the remaining space 393G not 415G? There is a 22G hole which is rather big.
- What parameters would you advice if this ext4 partition is used to store movie/music files? It's said ext4 performs better then ext3 for large partitions, is it true? I won't back to ext2 which isn't journal.
1the 6G will be for the inode lists. – Sirex – 2012-01-10T07:57:21.373
1Reserved blocks also limit the impact of a Denial Of Service attack where regular users fill up a disk to the point where log files cannot be written anymore. The reserved space will at the very least give root sufficient logs to catch the offending user. – MSalters – 2012-01-10T10:28:52.077
My /etc/mke2fs.conf speaks of "largefile" and "largefile4" parameters for -T, not "large_file". – user1338062 – 2013-04-18T06:33:29.143