Skip to main content

Mount an external disk

POST 

/disks/external/:label/mount

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request POST \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/disks/external/{label}/mount"

Mounts the disk by filesystem UUID at /mnt/disks/<label>. Nothing mounts automatically on plug-in. The boot device and array disks are refused, and so is the Unraid USB stick (unraid_stick, 409): it is only ever mounted read-only, by the migration scan.

Request​

Responses​

The mounted external disk.