Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Mount helper and fstab

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Mount helper and fstab A manual mount is lost after reboot unless you persist it. Amazon Linux EFS mount helper uses amazon-efs-utils. fstab keeps the mount across reboots. yum/dnf install amazon-efs-utils → mkdir /mnt/efs → mount -t efs -o tls fs-id:/ /mnt/efs → add fstab line with _netdev. After reboot, df -h still shows /mnt/efs and the shared hello.txt.
Mount helper and fstab · Download PNG
Read card text

What this card says

Why do we need it?

A manual mount is lost after reboot unless you persist it.

What is it?

Amazon Linux EFS mount helper uses amazon-efs-utils. fstab keeps the mount across reboots.

How to do it

yum/dnf install amazon-efs-utils → mkdir /mnt/efs → mount -t efs -o tls fs-id:/ /mnt/efs → add fstab line with _netdev.

_netdev

Example

After reboot, df -h still shows /mnt/efs and the shared hello.txt.

See all AWS revision cards