Unlocking a File System

Unlock a locked File Storage file system 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 file system locks.

Required IAM Policy

To remove locks, in addition to permissions to manage the file system, you need permissions to manage locks.

To unlock a file system, you must have RESOURCE_LOCK_REMOVE permissions.

    1. Open the navigation menu and click Storage. Under File Storage, click File Systems.
    2. In the List scope section, under Compartment, select a compartment.

    3. In the list of file systems, click the name of the file system that you want to unlock.
    4. On the file system's details page, next to Resource Locking, select Remove.
  • Use the oci fs file-system remove command and required parameters to unlock a file system:

    oci fs file-system remove --file-system-id <file_system_OCID> --type <lock_type>

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the RemoveFileSystemLock operation to unlock 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.