Skip to content

Ask AI

Powered by Blaze

Answers come from E2E Cloud documentation. AI can make mistakes.

Mount a disk on an instance

View as Markdown

Mount a disk on an instance or a Virtual Machine to use it as storage that the instance reads and writes. A disk mounts on one instance at a time, once its Status is Ready, on an instance in the same project and region. See Create a disk.

Mounting on a running instance restarts it, so save your work first. A stopped instance picks up the change at its next start. On a container instance, reinstall any packages you installed by hand once it restarts.

  1. If another instance holds the disk, unmount it there first. A stopped instance keeps holding a disk until you unmount it.
  2. Open the instance’s page and select the Associated Datasets tab.
  3. Tick the disk. A disk mounts on one instance at a time, so pick one that is free.
  4. Select Update.
  5. Tick Are you sure you want to continue updating datasets? and select Update again.

To mount the disk when you create the instance, open Storage > Other storage > Datasets on the Create Instance form and pick the disk. It mounts when the instance starts. See Create an instance.

When the instance is Running again, the disk shows Mounted on the Associated Datasets tab. It appears in the instance at /datasets/<name>, where <name> is the disk’s Dataset Name, and you can read and write it. To see it, open a terminal and list the folder:

ls /datasets/<name>

A disk mounts on an instance or a Virtual Machine only. The dataset lists for Training Cluster, training job, Slurm Cluster, and model endpoint offer only Object Storage datasets, so use TIR Object Storage there. When you delete an instance, a disk mounted on it is unmounted and stays in your disk list.

To get files onto the disk, see Put data on a disk. For help with a refused mount, see Troubleshooting TIR Block Storage.

Was this page helpful?