0

I have a Debian server (which is a AWS EC2 Instance) and I have multiple AWS volumes attached to the server, which are all mounted in /mnt. However if I ever reboot the server (which happens whenever I create an AMI image), when it reboots all the drives are no longer mounted. I can easily remount them but I am a little concerned that it may get rebooted by someone else in the future so I was wondering if there was a way to automate the mounting.

ingh.am
  • 273
  • 3
  • 15

2 Answers2

4

This is configured in /etc/fstab using the auto option.

ceejayoz
  • 32,910
  • 7
  • 82
  • 106
4

Check out the /etc/fstab file. man fstab for more information about setting it up.

Michael Pobega
  • 934
  • 5
  • 12