Administrator’s Command Line Guide

Table Of Contents
3.4. Managing Object Storage Buckets
3.4.1 Listing Bucket Contents
You can list bucket contents with a web browser. To do this, visit the URL that consists of the external DNS
name for the S3 endpoint that you specified when creating the S3 cluster and the bucket name. For example,
mys3storage.example.com/mybucket.
Note: You can also copy the link to bucket contents by right-clicking it in CyberDuck, and then selecting
Copy URL.
3.4.1.1 Managing Buckets from Command Line
3.4.2 Listing Object Storage Buckets
You can list all buckets in the S3 object storage with the ostor-s3-admin -c list-all-buckets command. For each
bucket, the command shows owner, creation data, versioning status, and total size (the size of all objects
stored in the bucket plus the size of all unfinished multipart uploads for this bucket). For example:
# ostor-s3-admin -c list-all-buckets
Total 3 buckets
BUCKET OWNER CREATION_DATE VERSIONING TOTAL SIZE, BYTES
bucket1 968d1a79968d1a79 2015-08-18T09:32:35.000Z none 1024
bucket2 968d1a79968d1a79 2015-08-18T09:18:20.000Z enabled 0
bucket3 968d1a79968d1a79 2015-08-18T09:22:15.000Z suspended 1024000
3.4.3 Querying Object Storage Bucket Information
You can query bucket metadata information and ACL with the ostor-s3-admin -c query-bucket-info command. For
example, for bucket1:
# ostor-s3-admin -c query-bucket-info -b bucket1
BUCKET OWNER CREATION_DATE VERSIONING TOTAL SIZE, BYTES
bucket1 968d1a79968d1a79 2015-08-18T09:32:35.000Z none 1024
BUCKET ACL GROUP GRANT READ WRITE READ_ACP WRITE_ACP S3 USER GRANT READ WRITE READ_ACP WRITE_ACP
968d1a79968d1a79 - - - - abcdabcdabcdabcd + + + +
35