Problem with EFS filesystem remount after instance stop / start

0

Hi, I have created a Linux EC2 instance and added an /dev/sdf volume. After creating a filesystem plus mount point I could run umount and then mount -a without issue. However when I shutdown the instance and later restart the filesystem is not auto-remounted. Mount -a fails with various errors about missing code-page but I can manually remount the filesystem without problems. I have followed AWS advice on configuring /etc/fstab but still have the problem - Any thoughts? Kr Ian

1 Antwort
0

Hi

I have understand that you have problem with EBS mount to the Ec2 at the specified path, I hope you have followed this link Automatically mount an attached volume after reboot

Be sure to check:

  • Backup your /etc/fstab file
  • Check the the UUID and the configuration show example below - refered from the link above
  • Filesystem type is XFS but if you want use another type
UUID=aebf131c-6957-451e-8d34-ec978d9581ae  /data  xfs  defaults,nofail  0  2
  • try a test with
sudo umount /pathof the mount/ -- after this you will be unmounted
sudo mount -a --  if you dont get errors it works 

If you check above inputs and let me know if you have issues again

profile picture
GK
beantwortet vor einem Jahr
  • Hi, many thx for your response. I have tried the above but on restart the file system fails to remount automatically. I can only think that the UUID is changing on reboot.

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