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.2.1 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`.
Description
Stops and deletes an existing object_container.
Syntax
object_container --delete --name <container name>
Result
Warn: endpoint will be stopped, deleted, 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:
Warn: stopped endpoint on object container `ObjectContainer1`.
Warn: deleted endpoint on object container `ObjectContainer1`.
Container "ObjectContainer1" marked for deletion. Please run "maintenance --filesystem --reclaim_space" to recover the storage space.
Successfully deleted object container `ObjectContainer1`.