Detaching a Clone

Detach a File Storage clone from its parent file system.

When you detach a clone from its parent file system, any shared data on the parent file system is copied to the clone.

Because detaching a clone requires copying data, the process isn't instant. The detachment operation runs in the background and you can continue to use the file system as it's detaching. Use the file system's Clone attached status to monitor the status of the detach operation. After the detachment completes, no data is shared between the two file systems. This can result in increased disk usage on the cloned file system. For more information, see Metering and Billing.

Only certain clones can be detached, for more information, see Limitations and Considerations.

    1. On the File Systems list page, select the file system that you want to work with. If you need help finding the list page or the file system, see Listing File Systems.
    2. On the details page, under Clones, next to Parent File System, select Detach.
    3. In the Detach file system dialog box, select Detach.
  • Use the fs file-system detach command and required parameters to detach a clone from its parent file system:

    oci fs file-system detach --file-system-id <file_system_OCID>

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

  • Run the DetachClone operation with required parameters to detach a cloned a file system from its parent.

    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.