Finding and Listing Clones

Find the File Storage clones created from a specific source snapshot or parent file system.

    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, select Clones.

    You can also use Search to find the clones created from a source snapshot or parent file system. In the top navigation bar, select Search for resources, services, documentation, and Marketplace, and then select 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 or parentFileSystemId 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.