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.
- Open the navigation menu and click Storage. Under File Storage, click File Systems.
- In the List scope section, under Compartment, select a compartment.
- Find the cloned file system that you want to detach from its parent, click the , and then click View details.
- In the File system information tab, under Clones, next to Parent file system, click Detach.
- In the Detach file system window, click 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.