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

后端 未结 3 1890
你的背包
你的背包 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:12

    It would seem that the official ec2 documentation now recommends plain old fstab entries with nofail -

    /dev/xvdf       /data   ext4    defaults,nofail        0       2
    

    ref - http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html

提交回复
热议问题