ec2-mount-volume

command
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2019 License: MPL-2.0 Imports: 16 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL