3.9.1.3 Modify a Volume

An Exascale block volume is an arbitrary-sized allocation of storage space, which can be used as an Exascale Direct Volume (EDV) attachment.

To modify an existing Exascale block volume, use the ESCLI chvolume command and specify:

  • The volume identifier.

    You can use the lsvolume command to find the identifier for each volume.

  • The attributes that you want to change.

    You can use the describe chvolume command to see details about the volume attributes you can change. See also Describing Resources and Attributes.

For example, the following command sets the size of the specified volume to 200 GB:

@> chvolume vol0002_50e52177583f4be4bad68ac20b65001e --attributes size=200g

A volume can have up to two owners. To modify volume ownership, you can add or remove one volume owner at a time. To add a volume owner, specify owners=+user-ID as an attribute setting. To remove a volume owner, use owners=-user-ID.

For example:

  • The following command adds peter as an owner of the specified volume:

    @> chvolume vol0002_50e52177583f4be4bad68ac20b65001e --attributes owners=+peter
  • The following command removes dave as an owner of the specified volume:

    @> chvolume vol0002_50e52177583f4be4bad68ac20b65001e --attributes owners=-dave