Skip to content

Oracle Cloud

Mount an OCI Object Storage bucket on Linux with the RaiDrive CLI. Connect with an access key pair, the endpoint address and your namespace.

To get the account, keys or IDs this needs, see Before you begin in the Oracle Cloud guide for the Windows app.

raidrivecli add oracle --bucket <bucket> --object-name-space <namespace>

If you add storage with only the options shown above, you will be prompted to enter an Access Key ID, a Secret Access Key and the storage address (endpoint).

raidrivecli add oracle --bucket mybucket --object-name-space mynamespace
Access Key ID: <key>
Secret Access Key: ********
address: <address>

Alternatively, a Access Key ID or Secret Access Key can be specified as options.

raidrivecli add oracle --bucket <bucket> \
                       --object-name-space <namespace> \
                       --access-key-id <key>
raidrivecli add oracle --bucket <bucket> \
                       --object-name-space <namespace> \
                       --access-key-id <key> \
                       --secret-access-key [secret]

Warning

Shell commands are logged in history. If possible, we recommend not specifying the --secret-access-key option with a value.

If a mount directory is not specified, it will be mounted to a directory such as /mnt/oracle under /mnt. To specify the mount directory, use the --mount-path option.

raidrivecli add oracle --bucket mybucket --object-name-space mynamespace \
                       --mount-path /myservices/oracle

Additional options

--bucket <bucket>                       bucket
--endpoint <address>                    address (e.g. https://host.example.com)
--object-name-space <namespace>          namespace
--access-key-id <key>                   access key id
--secret-access-key [secret]            secret access key

See also