cc_staff
172
edits
No edit summary |
No edit summary |
||
Line 72: | Line 72: | ||
==Mounting a Volume on a VM== <!--T:14--> | ==Mounting a Volume on a VM== <!--T:14--> | ||
===Attaching a Volume=== | |||
[[File:Manage_attachments_EN.png|400px|thumb| Managing attachments command in Actions menu (Click for larger image)]] | [[File:Manage_attachments_EN.png|400px|thumb| Managing attachments command in 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." | * 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. | * In the "Attach To Instance" drop-down menu, select a VM. | ||
Line 79: | Line 81: | ||
Attaching should complete in a few seconds. Then the Volumes page will show the newly created volume attached to your selected VM on <code>/dev/vdb</code> or some similar location. | Attaching should complete in a few seconds. Then the Volumes page will show the newly created volume attached to your selected VM on <code>/dev/vdb</code> or some similar location. | ||
===Formatting a newly created Volume=== | ===Formatting a newly created Volume=== | ||
* '''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. | * Before a newly created and attached volume can be used, it must be formatted. | ||
* Formatting erases all existing information on a volume and therefore should be done with care. | * Formatting erases all existing information on a volume and therefore should be done with care. | ||
* See instructions for doing this on a [[Using a new empty volume on a Linux VM|Linux]] or [[Using a new empty volume on a Windows VM|Windows]] VM. | * See instructions for doing this on a [[Using a new empty volume on a Linux VM|Linux]] or [[Using a new empty volume on a Windows VM|Windows]] VM. | ||
===Mounting a Volume=== | ===Mounting a Volume=== | ||
* Mounting is the process of mapping the volume's directory and file structure logically within the VM's directory and file structure. | * '''Mounting''' is the process of mapping the volume's directory and file structure logically within the VM's directory and file structure. | ||
* To mount the volume, use a command similar to <code>[name@server ~]$ sudo mount /dev/vdb1 /mnt</code> depending on the device name, disk layout, and the desired mount point in your filesystem. | * To mount the volume, use a command similar to <code>[name@server ~]$ sudo mount /dev/vdb1 /mnt</code> depending on the device name, disk layout, and the desired mount point in your filesystem. | ||
This command makes the volume's directory and file structure available under the VM's /mnt directory. | This command makes the volume's directory and file structure available under the VM's /mnt directory. |