Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

5.194. nova volume-attach

usage: nova volume-attach <server> <volume> [<device>]
Attach a volume to a server.

Positional arguments

<server>


        Name or ID of server.

<volume>


        ID of the volume to attach.

<device>


        Name of the device e.g. /dev/vdb. Use "auto" for autoassign (if
      supported). Libvirt driver will use default device name.