Attach & Mount EBS Volume

description

This page shows how to attach and mount a volume to an instance in the cluster

command-line

>>> ./EHPC-Client --volume-attach-mount OPTIONS
All parameters should be in format parameter=valie
Options:
        --mountPoint              Volume mount Point
        --volume-id               ID of Volume to mount
        --instance-id             ID of instance to mount volume to
        --device                  Device at which the volume will be attached
        --format,-f               format [Y/N],required for new volumes,default=N
        --domain,-d               URL of the cluster main node

Example 1

Attach vol-e27bb58a to i-121c2e5b as /dev/sdm on /vol6 and format the volume

./EHPC-Client --volume-attach-mount --mountPoint=/vol6 --instance-id=i-121c2e5b --volume-id=vol-e27bb58a --format=Y --device=/dev/sdm -d=ec2........com

Output

DONE

Table Of Contents

Previous topic

Delete Volume

Next topic

Attach & Mount EBS Volumes to all nodes

This Page