Editing a Mount Target

Change a File Storage mount target.

You can change the display name of the mount target. You can also add a mount target to a Network Security Group, set the reported size of a file system, and tag a mount target.

Note

Changing the display name doesn't affect mounting file systems exported through the mount target.

Mount targets configuration options are also used when setting up LDAP for authorization and Kerberos authentication.

    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.
    3. Click the name of the mount target that you want to rename.
    4. On the mount target's details page, click Rename.
    5. Enter the new mount target name. Avoid entering confidential information. Then click Rename.
  • Use the fs mount-target update command and required parameters to edit a mount target:

    oci fs mount-target update --mount-target-id <mount_target_OCID> --display-name "<New Mount Target Name>" --nsg-ids '["<nsg1_OCID>", "<nsg2_OCID>"]'

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

  • Run the UpdateMountTarget operation to update a mount target.

    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.