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
I recommend using an /etc/init conf file that do that:
# /etc/init/mountec2vol.conf # # description: Mounts the EBS Volume # start on net-device-up exec mount /dev/xvdf1 /myVolume`
that's all what you have to do!