Deleting a File System
On Compute Cloud@Customer, you can delete a file system that doesn't have any dependencies.
You can't undo this operation. Any data in a file system is permanently deleted with the file system. You can't recover a deleted file system or its snapshots.
A file system that has an export can't be deleted. To delete the export, see Deleting an Export.
You can't delete file systems that have dependencies. For example, if you have created a snapshot of this file system and then created a new file system from the snapshot, you can't delete the source file system.
For more information, see Deleting File System Resources Overview.
-
In the Compute Cloud@Customer Console navigation menu, click File Storage, then click File Systems.
-
At the top of the page, select the compartment that contains the file system.
-
Click the Actions menu (
) for the file system and select Delete.
-
Confirm the deletion.
-
Use the oci fs file-system delete command and required parameters to delete the specified file system. Before you delete the file system, verify that no remaining export resources still reference it.
oci fs file-system delete --file-system-id<file-system_OCID>[OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the DeleteFileSystem operation to delete the specified file system. Before you delete the file system, verify that no remaining export resources still reference it.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.