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
gefragt vor 4 Jahren2879 Aufrufe
5 Antworten
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
beantwortet vor 4 Jahren
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
beantwortet vor 4 Jahren
0

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

Kr4t0s
beantwortet vor 4 Jahren
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.

beantwortet vor 4 Jahren
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
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen