Listing Mount Targets

List the mount targets that provide access to File Storage file systems.

You can use the Console to list mount targets exporting a specific file system. Use the API or CLI to list all mount targets in a compartment.
    1. Open the navigation menu and click Storage. Under File Storage, click Mount Targets.
    2. In the List scope section, under Compartment, select a compartment.

      The Console displays a list of mount targets that have already been created in the compartment, if any.

  • Use the fs mount-target list command and required parameters to list mount targets:

    oci fs mount-target list --availability-domain <target_availability_domain> --compartment-id <target_compartment_OCID>

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

  • Run the ListMountTargets operation to list mount targets.

    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.