CreateFileSystem

post

/20171215/fileSystems

Create a new file system in the specified compartment and availability domain. After you create a file system, you can associate it with a mount target. Instances can then mount the file system by connecting to the mount target's IP address. You can associate a file system with more than one mount target at a time.

You can use defined tags to set a quota for the file system, change the default database record size, or specify a high performance pool for the file system backing store. Specify the OraclePCA tag namespace.

  • To set a file system quota, specify quota for the tag key. The default value of quota is 0, which means no quota is set. You can specify a quota value in gigabytes from 0 to 8000000 (8 petabytes).
  • To set a database record size, specify databaseRecordSize for the tag key. The default database record size is 131072 bytes. You can specify one of the following values (in bytes) for the value of databaseRecordSize: 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576.
  • To set the backing store pool, specify poolName for the tag key. By default, the backing store of a file system instance is the default pool of the attached ZFS Storage Appliance, specified as PCA_POOL. You can specify PCA_POOL_HIGH for the value of poolName to indicate that you want to use a high performance pool for the backing store.
  • Request

    Supported Media Types
    Header Parameters
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    • Minimum Length: 1
      Maximum Length: 64
      A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
    Body ()
    Details for creating a new file system.
    Root Schema : CreateFileSystemDetails
    Type: object
    Details for creating the file system.
    Show Source
    Nested Schema : definedTags
    Type: object
    Additional Properties Allowed
    Show Source
    Defined tags for this resource. Each key is predefined and scoped to a namespace.
    Nested Schema : freeformTags
    Type: object
    Additional Properties Allowed
    Show Source
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    Nested Schema : systemTags
    Type: object
    Additional Properties Allowed
    Show Source
    Not used by File Systems but required for SPLAT tag integration.
    Nested Schema : additionalProperties
    Type: object
    Additional Properties Allowed
    Show Source
    Key-value pair representing a defined tag key and value, scoped to a namespace.
    Nested Schema : additionalProperties
    Type: object
    The value of the tag. Only the String type is supported.
    Nested Schema : additionalProperties
    Type: object
    Additional Properties Allowed
    Show Source
    Key-value pair representing system tags' keys and values scoped to a namespace. Example: {"bar-key": "value"}
    Nested Schema : additionalProperties
    Type: object
    The value of the tag. Only string type is supported.
    Back to Top

    Response

    Supported Media Types

    200 Response

    The file system was created.
    Headers
    • For optimistic concurrency control. See if-match.
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    Body ()
    Root Schema : FileSystem
    Type: object
    An NFS file system. To allow access to a file system, add it to an export set and associate the export set with a mount target. The same file system can be in multiple export sets and associated with multiple mount targets.
    Show Source
    • Minimum Length: 1
      Maximum Length: 255
      The availability domain the file system is in. May be unset as a blank or NULL value. Example: AD-1
    • Minimum Length: 1
      Maximum Length: 255
      The OCID of the compartment that contains the file system.
    • definedTags
      Additional Properties Allowed: additionalProperties
      Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations": {"CostCenter": "42"}}
    • Minimum Length: 1
      Maximum Length: 255
      A user-friendly name. It does not need to be unique, and it is changeable. Avoid entering confidential information.
    • freeformTags
      Additional Properties Allowed: additionalProperties
      Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
    • Minimum Length: 1
      Maximum Length: 255
      The OCID of the file system.
    • Whether the file system has been cloned.
    • Whether the data has finished copying from the source to the clone. Hydration can take up to several hours to complete depending on the size of the source. The source and clone remain available during hydration, but there may be some performance impact.
    • Whether the file system can be used as a target file system for replication.
    • Minimum Length: 1
      Maximum Length: 255
      The OCID of the KMS key which is the master encryption key for the file system.
    • Additional information about the current 'lifecycleState'.
    • Allowed Values: [ "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED" ]
      The current state of the file system.
    • The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system.
    • Minimum Length: 1
      Maximum Length: 255
      The OCID of the replication target associated with the file system. Empty if the file system is not being used as target in a replication.
    • Minimum Length: 1
      Maximum Length: 255
      The OCID of the associated Filesystem Snapshot Policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
    • SourceDetails
      Source information for the file system.
    • systemTags
      Additional Properties Allowed: additionalProperties
      Not used by File Systems but required for SPLAT tag integration.
    • The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: 2016-08-25T21:10:29.600Z
    Nested Schema : definedTags
    Type: object
    Additional Properties Allowed
    Show Source
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations": {"CostCenter": "42"}}
    Nested Schema : freeformTags
    Type: object
    Additional Properties Allowed
    Show Source
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
    Nested Schema : SourceDetails
    Type: object
    Source information for the file system.
    Show Source
    • Minimum Length: 1
      Maximum Length: 255
      The OCID of the file system that contains the source snapshot of a cloned file system.
    • Minimum Length: 1
      Maximum Length: 255
      The OCID of the source snapshot used to create a cloned file system.
    Nested Schema : systemTags
    Type: object
    Additional Properties Allowed
    Show Source
    Not used by File Systems but required for SPLAT tag integration.
    Nested Schema : additionalProperties
    Type: object
    Additional Properties Allowed
    Show Source
    Key-value pair representing a defined tag key and value, scoped to a namespace. Example: {"CostCenter": "42"}
    Nested Schema : additionalProperties
    Type: object
    The value of the tag. Only the String type is supported.
    Nested Schema : additionalProperties
    Type: object
    Additional Properties Allowed
    Show Source
    Key-value pair representing system tags' keys and values scoped to a namespace. Example: {"bar-key": "value"}
    Nested Schema : additionalProperties
    Type: object
    The value of the tag. Only string type is supported.

    400 Response

    Bad Request
    Headers
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    Body ()
    Root Schema : Error
    Type: object
    The properties that define an error.
    Show Source

    401 Response

    Unauthorized
    Headers
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    Body ()
    Root Schema : Error
    Type: object
    The properties that define an error.
    Show Source

    404 Response

    Not Found
    Headers
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    Body ()
    Root Schema : Error
    Type: object
    The properties that define an error.
    Show Source

    409 Response

    Conflict
    Headers
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    Body ()
    Root Schema : Error
    Type: object
    The properties that define an error.
    Show Source

    429 Response

    Too Many Requests
    Headers
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    Body ()
    Root Schema : Error
    Type: object
    The properties that define an error.
    Show Source

    500 Response

    Internal Server Error
    Headers
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    Body ()
    Root Schema : Error
    Type: object
    The properties that define an error.
    Show Source

    Default Response

    An error has occurred.
    Headers
    • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
    Body ()
    Root Schema : Error
    Type: object
    The properties that define an error.
    Show Source
    Back to Top