@shinyaz

amazon-efs-utils v2.x blocks the official installer from upgrading to v3.0.0

1 min read

S3 Files requires amazon-efs-utils v3.0.0+, but the standard Amazon Linux 2023 repo only has v2.4.2. The official installer script should install v3.0.0 — but it didn't work when v2.x was already present.

On an EC2 instance where I'd previously run sudo yum install amazon-efs-utils (v2.4.2), the installer script left v2.4.2 in place. mount -t s3files failed with unknown filesystem type 's3files'.

Terminal
# With v2.x already installed
curl -s https://amazon-efs-utils.aws.com/efs-utils-installer.sh | sudo sh -s -- --install
rpm -q amazon-efs-utils
# → amazon-efs-utils-2.4.2-1.amzn2023.x86_64  ← unchanged

Running the same script on a fresh instance without efs-utils installed worked fine.

Terminal
# On a fresh instance
curl -s https://amazon-efs-utils.aws.com/efs-utils-installer.sh | sudo sh -s -- --install
rpm -q amazon-efs-utils
# → amazon-efs-utils-3.0.0-1.amzn2023.x86_64  ← OK

The installer adds a custom efs-utils yum repo that provides v3.0.0, but when v2.x from the amazonlinux repo is already installed, it appears to skip rather than upgrade. If you need S3 Files, run the installer script on a fresh instance without efs-utils pre-installed.

See Hands-on with S3 Files for the full verification.

Share this post

Shinya Tahara

Shinya Tahara

Solutions Architect @ AWS

I'm a Solutions Architect at AWS, providing technical guidance primarily to financial industry customers. I share learnings about cloud architecture and AI/ML on this site.The views and opinions expressed on this site are my own and do not represent the official positions of my employer.