Description
Adds a new object container
Syntax
object_container --add --name <new container name>
[--group <group name>]
[--use_http <yes|no>]
Where
--name Name of the Object Container
--group Name of the Storage Group
--use_http <yes|no>
Result
Successfully created object container `ObjectContainer1`.
Successfully started endpoint on object container `ObjectContainer1`.
Description
Updates an existing object container
Syntax
object_container --update [--use http <yes|no>]
[--quota <Quota value in GiB or TiB>]
[--use-http <yes|no>]
--name <container name>
Where
--compression_mode <fast|best> -> applicable only for Object containers created before 7.2.0 release
--quota Quota value in GiB or TiB. - -> applicable only for Object containers created before 7.2.0 release
--name Name of the Object Container
--use_http <yes|no>
Result
WARNING: IO will be stopped for the config change to take place.
Do you want to continue (yes/no) [n]? yes
Successfully updated endpoint connection for object container `ObjectContainer1`.
Description
Updates encryption settings of an object container.
Syntax
object_container --encryption --name <ObjectContainer>
[--set <ON | OFF>]
[--mode < static | internal >]
[--interval <7 days to 70 years>]
Where
--set Valid values are On and Off.
--mode Valid values are static and internal.
--interval Valid values are between 7 days to 70 years (in days).
Result
Storage Group "ObjectStorageGroup" updated successfully.
|
NOTE:This command is valid for Object containers created before 7.3.0 release. |
Description
For Object containers created before 7.2.0 release, it deletes the data and the container. For Object containers created from 7.2.0 and onwards, it deletes data in the container.
Syntax
object_container --delete_data --name <container name>
Result
Warn: All buckets and objects in object container `ObjectContainer1` will be deleted!
Do you want to continue? (yes/no) [n]? yes
Please enter the root password:
Successfully deleted all buckets and objects in object container `ObjectContainer1`.