Automatically mount an EBS volume upon starting an Amazon EC2 Linux instance

后端 未结 3 1897
你的背包
你的背包 2021-01-30 02:02

I have an EBS volume (e.g. /dev/sdf) that has been attached to an EC2 instance (which boots from a different EBS volume), and I have mounted the volume (through

3条回答
  •  星月不相逢
    2021-01-30 02:21

    Make an entry to /etc/fstab

    Entry would be like:

    /dev/sdf    /data   ext3    defaults    1 1
    

    This will automatically mount the volume during reboot.

提交回复
热议问题