Unlocking an Export
Unlock a locked File Storage export to allow deletions (in the case of a delete lock) or updates, moves, and deletions (in the case of a full lock).
Resource unlocking is available using the API only. Run the RemoveExportLock operation to remove a lock from an export. You can also override export locks.
Required IAM Policy
To remove locks, in addition to permissions to manage exports, you need permissions to manage locks.
To unlock an export, you must have RESOURCE_LOCK_REMOVE
permissions.
- Open the navigation menu and select Storage. Under File Storage, select Mount Targets.
- In the List scope section, under Compartment, select a compartment. All the file systems in the selected compartment are displayed.
- Click the name of the file system for which you want to unlock the export.
- On the file system's details page, under Resources, click Exports.
- In the Exports list, click the name of the export that you want to unlock.
- On the export's details page, next to Resource Locking, select Remove.
Use the
oci fs export remove
command and required parameters to unlock an export:oci fs export remove --export-id <export_OCID> --type <lock_type>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the RemoveExportLock operation to unlock a mount target.
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.