Possible misleading correlation on EBS documentation about blocksize and filesystems

0

I was reading the documentation on EBS volume constraints, and I ended on this section: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_constraints.html#block_size

The entire paragraph is pretty much true, mentioning that "industry default block size" is 4k and some workloads may benefit from a lower or higher blocksize. But then it shows a table, describing it as:

The following table shows storage capacity as a function of block size:

Block sizeMax volume size
4 KiB (default)16 TiB
8 KiB32 TiB
16 KiB64 TiB
32 KiB128 TiB
64 KiB (maximum)256 TiB

This make me feel as if I must have at least an 8KiB blocksize if I want to have a filesystem with more than 16TiB, which I don't think is the case for let's say Linux ext4/xfs - I tried with a couple of IO2 disks and everything just went fine.

I wonder what this table is an indication of? Am I missing something?

profile picture
已提问 5 个月前655 查看次数
1 回答
0
已接受的回答

This table is referring to volume size, the virtual hard disk device that is created by EBS and presented to your instance, which is different from the file system size which you are referring to via ext/xfs which can span multiple volumes/disks.

profile pictureAWS
专家
iBehr
已回答 5 个月前
profile picture
专家
已审核 5 个月前
  • I see your point.

    But I provisioned a single IO2 EBS volume with 20TiB, which can go as high as 64TiB for a single volume. I still cannot fathom the correlation between the block size on the left to the max volume size on the right.

    There is the "EBS block size", which is how it presents itself to the OS (descibred as "512-byte sectors" on the same link). There is the "industry default for logical data blocks", which I assume they are talking about filesystem block sizes, which as far as I know have to go hand-to-hand with the Linux Kernel page size, for instance.

    So what do they mean when they list that "The EBS-imposed limit on volume size (64 TiB) is currently equal to the maximum size enabled by 16-KiB data blocks"?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则