Red Hat Training

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

2.441. openstack volume set

usage: openstack volume set [-h] [--name <name>] [--size <size>]
                            [--description <description>]
                            [--property <key=value>]
                            [--image-property <key=value>] [--state <state>]
                            <volume>
Set volume properties

Positional arguments

<volume>


        Volume to modify (name or ID)

Optional arguments

-h, --help


        show this help message and exit

--name <name>


        New volume name

--size <size>


        Extend volume size in GB

--description <description>


      New volume description

--property <key=value>


      Set a property on this volume (repeat option to set
      multiple properties)

--image-property <key=value>


      Set an image property on this volume (repeat option to
      set multiple image properties)

--state <state>


        New volume state ("available", "error", "creating",
      "deleting", "in-use", "attaching", "detaching",
      "error_deleting" or "maintenance")