Finding and Listing Clones
Find the File Storage clones created from a specific source snapshot or parent file system.
- Open the navigation menu and click Storage. Under File Storage, click File Systems.
- In the List scope section, under Compartment, select a compartment.
- Click the name of the file system for which you want to see clones.
- On the file system's details page, under Resources, click Clones.
You can also use Search to find the clones created from a source snapshot or parent file system. In the top navigation bar, click Search for resources, services, documentation, and Marketplace, and then click Advanced resource query. This query retrieves all clones for specific snapshot:
query filesystem resources where sourceDetails.sourceSnapshotId = '<Snapshot_OCID>'
This query retrieves all clones for a parent file system:
query filesystem resources where sourceDetails.parentFilesystemId = '<Parent_File_System_OCID>'
For more information about using search to find resources, see Overview of Search and Search Language Syntax.
Use the
fs file-system list
command and include either--source-snapshot-id
or--parent-file-system-id
to find clones created from a snapshot or file system.An example using
--source-snapshot-id
:oci fs file-system list --availability-domain <target_availability_domain> --compartment-id <target_compartment_id> --source-snapshot-id <snapshot_id>
An example using
--parent-file-system-id
:oci fs file-system list --availability-domain <target_availability_domain> --compartment-id <target_compartment_id> --parent-file-system-id <parent_file_system_id>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListFileSystems operation with the
sourceSnapshotId
orparentFileSystemId
parameter to find clones.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.