Administrator’s Command Line Guide
Table Of Contents
- Introduction
- Accessing Storage Clusters via iSCSI
- Accessing Storage Clusters via S3 Protocol
- Monitoring Storage Cluster
- Managing Storage Cluster Security
- Maximizing Storage Cluster Performance
3.5. Best Practices for Using Object Storage
3.4.3 Querying S3 Bucket Information
You can query bucket metadata information and ACL with the ostor-s3-admin query-bucket-info command.
For example, for bucket1:
# ostor-s3-admin query-bucket-info -b bucket1 -V 0100000000000002
BUCKET OWNER CREATION_DATE VERSIONING TOTAL_SIZE
bucket1 d339edcf885eeafc 2017-12-21T12:42:46.000Z none 0
ACL: d339edcf885eeafc: FULL_CONTROL
3.4.4 Changing S3 Bucket Owners
You can pass ownership of a bucket to the specified user with the ostor-s3-admin change-bucket-owner
command. For example, to make user with ID bf0b3b15eb7c9019 the owner of bucket1:
# ostor-s3-admin change-bucket-owner -b bucket1 -i bf0b3b15eb7c9019 -V 0100000000000002
Changed owner of the bucket bucket1. New owner bf0b3b15eb7c9019
3.4.5 Deleting S3 Buckets
You can delete the specified bucket with the ostor-s3-admin delete-bucket command. Deleting a bucket will
delete all objects in it (including their old versions) as well as all unfinished multipart uploads for this bucket
For example:
# ostor-s3-admin delete-bucket -b bucket1 -V 0100000000000002
Deleted bucket bucket1
3.5 Best Practices for Using Object Storage
This chapter describes recommendations on using various object storage features. These recommendations
are called to help you enable additional functionality or improve convenience or performance.
35










