Translations:Working with volumes/7/en

From Alliance Doc
Jump to navigation Jump to search

Mounting a volume on a VM

Attaching a volume

Managing attachments command in the Actions menu (Click for larger image)
  • Attaching is the process of associating a volume with a VM. This is analogous to inserting a USB key or plugging an external drive into your personal computer.
  • You can attach a volume from the Volumes page in the dashboard.
  • At the right-hand end of the line describing the volume is the Actions column; from the drop-down menu, select Manage Attachments.
  • In the Attach to Instance drop-down menu, select a VM.
  • Click on the blue Attach Volume button.

Attaching should complete in a few seconds. Then the volumes page will show the newly created volume attached to your selected VM on /dev/vdb or some similar location.

Formatting a newly created volume

  • DO NOT FORMAT if you are attaching an existing volume. Instead you can skip this step as the volume would have already been formatted if you had been previously using it to store data.
  • Formatting erases all existing information on a volume and therefore should be done with care.
  • Formatting is the process of preparing a volume to store directories and files.
  • Before a newly created and attached volume can be used, it must be formatted.
  • See instructions for doing this on a Linux or Windows VM.