Unlocking a Mount Target
Unlock a locked File Storage mount target to allow deletions (in the case of a delete lock) or updates, moves, and deletions (in the case of a full lock).
You can also override mount target locks.
Required IAM Policy
To remove locks, in addition to permissions to manage the mount target, you need permissions to manage locks.
To unlock a mount target, you must have RESOURCE_LOCK_REMOVE
permissions.
- Open the navigation menu and click Storage. Under File Storage, click Mount Targets.
-
In the List scope section, under Compartment, select a compartment.
- In the list of mount targets, click the name of the mount target that you want to unlock.
- On the mount target's details page, next to Resource Locking, select Remove.
Use the
oci fs mount-target remove
command and required parameters to unlock a mount target:oci fs mount-target remove --mount-target-id <mount_target_OCID> --type <lock_type>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the RemoveMountTargetLock 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.