6.2.6.3 mkvault
Create a vault.
Purpose
The mkvault command creates an Exascale vault.
Syntax
mkvault [@]vault [ --attributes attribute=value[,attribute=value]... ]Command Options
The options for the mkvault command
are:
-
vault: Specifies the name of the vault.
-
--attributes: Optionally specifies attributes to set.Use the
describe mkvaultcommand to see details about the vault attributes you can set. See also Describing Resources and Attributes.
Usage Notes
Note the following information when using this command:
-
Starting with Oracle Exadata System Software release 26.1.0, you can create multiple storage pools for each media type within a single Exascale cluster and you can provision a vault with a specific set of storage resources from each storage pool.
To use this capability, do not specify any resource provisioning using the
mkvaultcommand. Rather, create the vault using themkvaultcommand, and then complete provisioning by using a separatechvaultcommand for each storage pool that you want to associate with the vault.See also Provision a Vault Using Multiple Storage Pools For Each Media Type.
-
If your Exascale cluster is configured with Oracle Exadata System Software before release 26.1.0, you can specify one set of resource provisioning attributes, covering all media types, that is linked directly to the vault.
The following list describes these attributes, which may be set using the
--attributesoption. See also Provision a Vault Using Only One Storage Pool For Each Media Type.-
spaceProvEF,spaceProvHC,spaceProvXT: Provisions the vault with the specified amount of extreme flash (EF), high capacity (HC), or extended (XT) storage space. -
iopsProvEF,iopsProvHC,iopsProvXT: Provisions the vault with the specified number of IOPS from extreme flash (EF), high capacity (HC), or extended (XT) storage. -
flashCacheProv: Provisions the vault with the specified amount of flash cache space. -
flashLogProv: Boolean value (trueorfalse) indicating whether the vault is provisioned with access to Exadata Smart Flash Log. -
xrmemCacheProv: Provisions the vault with the specified amount of Exadata RDMA Memory Cache (XRMEM cache) space.Use this attribute only on systems with
HCorEFstorage, but not both. For systems withHCandEFstorage, use the following media-specific XRMEM cache provisioning attributes. -
xrmemCacheProvEF: Provisions the vault with the specified amount of XRMEM cache space associated withEFmedia. -
xrmemCacheProvHC: Provisions the vault with the specified amount of XRMEM cache space associated withHCmedia.
The following notes also apply when specifying resource provisioning attributes using the
--attributesoption:-
The default value for all resource provisioning attributes is effectively unlimited. Consequently, a vault that is created without any resource provisioning attribute settings has access to all of the resources in the Exascale cluster.
-
If you specify a value for any provisioning attributes, then the vault is limited to use the provisioned resources from the corresponding storage pools and the other storage pools are effectively disabled.
If you specify a space provisioning attribute (
spaceProvEF,spaceProvHC, orspaceProvXT) without a corresponding IOPS provisioning attribute (iopsProvEF,iopsProvHC, oriopsProvXT), then the vault can consume the specified space and use unlimited IOPS in the associated storage pool.If you specify an IOPS provisioning attribute without a corresponding space provisioning attribute, then the vault can consume unlimited space in the associated storage pool but the I/O bandwidth is limited by the IOPS provisioning attribute.
-
Prior to consumption, all provisioned resources are logically provisioned. For example, the
spaceProvHCattribute specifies the maximum amount ofHCstorage space that the vault can consume. However, physical space is only consumed when data is written to files in the vault. -
To specify an amount of space, you can:
-
Use an integer value representing the number of bytes. The maximum value is
4503599626321920. -
Specify a space value using suffixes
K,KB,M,MB,G,GB,T,TB. The suffix is not case-sensitive. -
Use
unlimitedto specify an unlimited amount of space.
-
-
To specify a number of IOPS, you can:
-
Use an integer value. The maximum value is
4294967295. -
Use
unlimitedto specify an unlimited number of IOPS.
-
-
Specifying
0(zero) as the value for a cache provisioning attribute (flashCacheProv,xrmemCacheProv,xrmemCacheProvEF, orxrmemCacheProvHC) disables use of the corresponding cache for the vault.
-
Examples
Example 6-70 Create a Vault with Unlimited Storage
The following example shows creating a vault named
my-data that has unlimited access to all of the resources in
the Exascale cluster.
@> mkvault @my-data
Parent topic: Vault Management