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`.
Description
Sets passphrase to an object container.
Syntax
object_container --setpassphrase --name <ObjectContainer>
Result
Enter current passphrase:
Enter new passphrase:
Re-type passphrase:
Storage Group "ObjectContainer" updated successfully.
Passphrase updated successfully.
|
NOTE:This command is valid for the Object containers created before 7.3.0 release. |
Description
Create bucket in an object_container.
Syntax
object_container --bkt-add --name <container name>
--bkt-name <bucket name>
[--enable-object-lock]
[--enable-object-versioning]
Where
--name Name of the Container
--bkt-name Name of the bucket
Result
Bucket created successfully `ObjectContainer1/bucket1`.
Description
Delete a bucket/object(s) in an object_container.
Syntax
object_container --bkt-del --name <container name>
--bkt-name <bucket name>
Where
--name Name of the container
--bkt-name Name of the bucket
Result
Removed `ObjectContainer1/bucket1/` successfully.