Deleting a File System
Learn how to permanently delete a File Storage file system.
Caution
You can't undo this operation. Any data in a file system is permanently deleted with the file system. Snapshots of the file system are permanently deleted with the file system. You can't recover a deleted file system or its snapshots.
You can't undo this operation. Any data in a file system is permanently deleted with the file system. Snapshots of the file system are permanently deleted with the file system. You can't recover a deleted file system or its snapshots.
To delete related resources, see the following topics:
- On the File Systems list page, select the file system that you want to work with. If you need help finding the list page or the file system, see Listing File Systems.
- On the details page, select Exports.
- Select the checkbox for each export listed, and then select Delete.
- When all the exports are deleted, select Delete to delete the file system.
- If the file system has only a single clone, you can choose to detach that clone from the parent file system before deleting the parent. In the Delete file system window, select Detach clone.
- When prompted, confirm the deletion.
You can use the CLI to delete a file system if no non-deleted export resources reference it.
Use the
fs file-system delete
command and required parameters to delete a file system:oci fs file-system delete --file-system-id <file_system_OCID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the DeleteFileSystem operation to delete a file system.
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.