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:
- Open the navigation menu and click Storage. Under File Storage, click File Systems.
-
In the List scope section, under Compartment, select a compartment.
- Click the name of the file system that you want to delete.
-
On the file system's details page, delete all the file system's exports:
- In Exports, select the check box for all the exports listed, and then click Delete.
- When the exports are deleted, click Delete to delete the file system.
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 flags and variable options for CLI commands, see the Command Line 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.