You can create empty storage volumes and attach them to instances. You can even create storage volumes from existing storage volumes.
Note:
You can only run single node Oracle databases on Oracle Compute Cloud Service on OPCM using customer-owned externally connected storage over 10 GbE. The internal block storage of OPCM cannot be used for databases running on Oracle Compute Cloud Service instances.Use the following command to create a storage volume:
oracle-compute add storagevolume name size properties [--description] [--source_storagevolume_name] [--imagelist] [--imagelist_entry] [--tags] [--quota]
For more information, see CLI Reference for Oracle Compute Cloud Service.
To create a storage volume using the API, use the POST https://api.oc.example.com/storage/volume/
method.
For more information, see REST API Reference for Oracle Compute Cloud Service.