3.3.1 Create a File

This topic describes how to create a file in Exascale using ESCLI.

Typically, you implicitly create files in Exascale as a byproduct of performing some action with an Exascale client, such as Oracle Database. For example, when you create a database or add a file to a tablespace.

However, you can also explicitly create a file inside an Exascale vault by using ESCLI.

To create a file using ESCLI, use the mkfile command. For example:

@> mkfile @myvaultname/myfilename

As shown in the example, the simplest form of the command creates an empty file in the specified vault location.

Using other command options available with the mkfile command, you can:

  • Specify the file size.
  • Specify the file type.
  • Specify a template to apply.
  • Explicitly specify the file storage attributes. That is, the physical media type, the redundancy (mirroring) level, and the content type.