
Windows and Linux maximum file system sizes
Created: 2018-07-26 04:27:42 | Last modified: 2020-09-22 09:23:03Access: Read | Views: 237 | Rating: N/A | Tags: linux block size windows
This is how to view how much a filesystem can grow depending on block and or cluster sizes.
Linux
To get the block size in Linux (where /dev/sda1 is the partition you want to know the block size of)
blockdev --getbsz /dev/sda1
This will give for example 1024. That is a 1KB block size
| 1 KiB | 4 TiB |
| 2 KiB | 8 TiB |
| 4 KiB | 16 TiB |
| 8 KiB | 32 TiB |
With a 1KiB block size, the next size will be 4TB
Windows
To get the cluster size in Windows Using fsutil
Open command prompt and run the following ncommand where E: is the drive letter
fsutil fsinfo ntfsinfo E:
Look for "Bytes Per Cluster", if 4096 the block size is 4KB, if 8192 the block size is 8KB and so on.
| 1 KiB | 4 TiB |
| 2 KiB | 8 TiB |
| 4 KiB | 16 TiB |
| 8 KiB | 32 TiB |
| 16KiB | 64 TiB |
| 32KiB | 128 TiB |
| 64KiB | 256 TiB |
With a 4KiB block size, the max size will be 16TB