NetApp ONTAP Storage icon

NetApp ONTAP Storage

Manage NetApp ONTAP volumes, aggregates, snapshots, qtrees, and quotas

Volume → Mount

AI-generated

Summary

Mount a specified ONTAP volume by assigning it to a junction path within its SVM using the cluster management API.

Inputs

  • Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF to which the API calls are made.
  • Port — HTTPS port for the ONTAP REST API, defaulting to 443.
  • Volume (required) — The volume to mount, selectable either by UUID or by name. When selecting by name, specifying the SVM is required.
  • SVM — The Storage Virtual Machine containing the volume; required if the volume is specified by name to resolve the volume UUID.
  • Junction Path (required) — The mount path within the SVM where the volume will be mounted (e.g., /vol1).
  • Options — Optional settings including a comma-separated list of fields to include in the response.

Output shape

a single JSON object containing the updated volume details or job information if the mount operation is asynchronous

If the API response includes an asynchronous job, the operation polls until job completion before returning. Errors during volume resolution or API requests are returned as execution errors or in error output when continuing on fail.

Examples

Example 1: Mount a volume by name

Provide cluster host, volume name, SVM name, and junction path to mount the volume at that path.

Example 2: Mount a volume by UUID

Provide cluster host, volume UUID, and junction path; SVM is not required for UUID selection.

Links

Discussion