Ozone2 Command Line Interface

This storage Ozone2 shell is the primary interface to interact with Ozone2 from the command line.

Volume operations

Ozone ACL limits volume creation permissions to ozone admins only.

Bash
Copy
Bash
Copy
Bash
Copy
Bash
Copy

If the volume contains any buckets or keys, we can delete the volume recursively. This will delete all keys and buckets within the volume, and then delete the volume itself. After running this command there is no way to recover deleted contents.

Bash
Copy

Bucket operation

Bash
Copy

By default, all buckets are created to support file system (FILE_SYSTEM_OPTIMIZED).

Bash
Copy
Bash
Copy

If the bucket contains any keys, we can delete the bucket recursively. This will delete all the keys within the bucket, and then the bucket itself. After running this command there is no way to recover deleted contents.

Bash
Copy

Key operation

Bash
Copy
Bash
Copy
Bash
Copy
Bash
Copy

If the key is in an FSO bucket it will be moved to the trash when deleted. Location of trash folder /<volume>/<bucket>/.Trash/<user>. If the key is in an OBS bucket it will be permanently deleted.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated