Amazon Linux 2 default filesystem has switched to XFS???

0

Hello

Today i noticed that new amazon linux 2 instances are being created with XFS for the root filesystem instead of ext4:

mount | grep nvm

/dev/nvme0n1p1 on / type xfs (rw,noatime,attr2,inode64,noquota)

Is there are reason for this change? Where can i follow a release notes or a changelog
of these types of changes???
Thanks

Edited by: Kr4t0s on May 25, 2020 6:54 AM

Kr4t0s
asked 4 years ago2803 views
5 Answers
0

Amazon Linux 2 images have used XFS since sometime in 2017.

Changing the default filesystem is the kind of change we would only make on a product release boundary - say, from AL AMI to AL2. We strive to maintain as much consistency as possible throughout the life cycle of a product. AL AMI uses ext4 filesystems by default, and AL2 uses XFS, and both will continue to do so.

AWS
answered 4 years ago
0

ok i might got confused because the Amazon Linux 2 ECS AMI still uses ext4 for the rootfs. Anyway can you tell me why amazon decided to use XFS instead of ext4 for the base Amazon Linux 2 AMI?

Thanks

Kr4t0s
answered 4 years ago
0

bump, i would like to know why amazon decided to switch ext4 to xfs for amazon linux 2?
thanks

Kr4t0s
answered 4 years ago
0

Probably because XFS has much larger limits for filesystem and file sizes. I also think it supports multiple threads better than EXT4 if I recall correctly. HTH.

answered 4 years ago
0

While there's been a lot of progress on ext4 and concurrency over the years, XFS does maintain a clear advantage for a good selection of workloads. Scalability across cores and IO load is certainly a big part of it.

AWS
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions