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달 전654회 조회
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"?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인