mc admin account modify-storageclass

Modifies storage class parameters for an account.

The Object Store administrator runs this command to modify storage class parameters for an account.
NOTE
To modify all other account parameters, see the mc admin account modify command.

Syntax

CLI
mc admin account modify-storageclass TARGET account "key1:value1,key2:value2" [ domain=<domain_name> ]

account:
  The account whose storage class arguments need to be modified.

keys:
  quota          :  <x> (in MB)
  advisory_quota :  <y> (in MB)
  label          :  <storage_label>
  metaLabel      :  <storage_label for megta data containers>
  ecLabel        :  <storage label for ec volume>
  ec_scheme      :  <data_parity + global_parity [+local_parity]
  min_repl       :  <minimum repl factor>
  desired_repl   :  <desired repl factor>
  topology       :  <topology>
  ecTopology     :  <topology for ec volume>
  dareEnabled    :  <Data at Rest Encryption>

FLAGS:
   --json                        enable JSON lines formatted output
  --debug                       enable debug output
  --insecure                    disable SSL certificate verification
  --help, -h                    show help

Parameters

Parameter Description
TARGET The alias of a configured HPE Ezmeral Object Store deployment on which the command modifies the storage class. This parameter is mandatory.
account_name The name of the account to modify. This parameter is mandatory.
storage_class The storage parameters to be specified as key-value pairs for the account. See quota, advisory quota, label, EC scheme, minimum replication factor, and thedesired replication factor for explanations.
domain The name of the domain under which the account must be modified.
json Enables JSON formatted output.
debug Enables output for debugging.
insecure Disables SSL verification.
help Shows this help.

Example

Modify desired replication factor to 5 for the account sales in the Object Store deployment with alias salesobject:

CLI
mc admin account modify-storageclass salesobject sales "desired_repl:5"