I used this EFS walkthrough to mount my EFS and enable writable per-user subdirectories on my EC2 instance.
According to the documentation, All files and subdirectories the user creates in their home directory are then created on the Amazon EFS file system
. But when I look through the user directories in /mnt
, they do not all contain the files and subdirectories that are in the corresponding user home directories.
How can I ensure that what's on the EFS is the same as what's in the users' home directory? Because if I unmount and remount the EFS, I will lose data.