How to determine what parameters decides that max partition size of an OS would be like 16TB in ext3 or any of the other filesystem?
Asked
Active
Viewed 813 times
0
-
Wikipedia has information about maximum file system sizes and implementation limits. For example: [ext3](https://en.wikipedia.org/wiki/Ext3), [NTFS](https://en.wikipedia.org/wiki/NTFS) – Nayuki May 06 '15 at 16:38
1 Answers
2
It's going to be different for each type of filesystem. For ext3 and ext4, you can determine the max partition size by:
- Getting the block size with
tune2fs -l /dev/sda1 | grep 'Block size:'
- Checking for a 64bit flag on the filesystem:
tune2fs -l /dev/sda1 | grep 64bit
- If there is one, multiplying the blocksize by 264. Otherwise multiplying it by 232.
- Dividing that number by 10244 to get terabytes.

Allen Luce
- 7,859
- 3
- 40
- 53