Creating a File System
Create a File Storage with Lustre file system.
Prerequisites
Before you create a Lustre file system, ensure that the following prerequisites are met:
- The VCN subnet meets size requirements. For more information, see Limitations and Considerations.
- The VCN has the required security rules. For more information, see Required VCN Security Rules.
- The required Oracle Cloud Infrastructure Identity and Access Management policies are in place. For more information, see Required IAM Policy.
To create a file system, follow these steps:
Use the
oci lfs lustre-file-system createcommand and required parameters to create a file system:oci lfs lustre-file-system create [OPTIONS]Note
If you plan to specify a maintenance schedule when creating the file system, you must first use the commandoci lfs available-maintenance-schedule-start-time-collection list-available-maintenance-schedule-start-times [OPTIONS]to get the list of the available maintenance days of the week and start times. You then pass the selected value in the--maintenance-windowoption when you run the commandoci lfs lustre-file-system create [OPTIONS].For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateLustreFileSystem operation with required attributes to create a file system.
Some API usage notes:
- If you plan to specify a maintenance schedule when creating the file system, you must first call ListAvailableMaintenanceScheduleStartTimes to get the list of the available maintenance days of the week and start times. You then pass the selected value in the
maintenanceWindowattribute when you run the CreateLustreFileSystem operation. - To enable file system tiering, update the file system's
tieringConfigurationtoisEnabled. SelectpolicyModeasDEFAULTorCUSTOM. Custom mode requires validatedrules.If
tieringConfigurationis omitted when creating the file system, tiering is disabled.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
- If you plan to specify a maintenance schedule when creating the file system, you must first call ListAvailableMaintenanceScheduleStartTimes to get the list of the available maintenance days of the week and start times. You then pass the selected value in the