Documentation
¶
Overview ¶
Command ec2-mount-volume prepares EBS volumes, exposed as NVMe block devices, for immediate use. It mounts each volume at the location specified in a resource tag.
It provides tag-based mapping to work around unpredictable device names. For example, an instance that mounts at boot a root volume and one data volume may encounter device names "/dev/nvme0n1" and "/dev/nvme1n1" after one boot, but reversed names after the next.
Usage:
ec2-mount-volume --help
Display the mount plan for 2 expected EBS volumes (dry run):
ec2-mount-volume --device-num 2
Mount 2 expected EBS volumes:
ec2-mount-volume --device-num 2 --force
Same as above but read mount points from EBS volume tags named "mount-point" instead of the default:
ec2-mount-volume --device-num 2 --force --tag mount-point
Same as above but wait 30 seconds instead of the default:
ec2-mount-volume --device-num 2 --force --tag mount-point --timeout 30
Click to show internal directories.
Click to hide internal directories.