Managing your cloud resources with OpenStack: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 71: Line 71:
Finally, click the blue "Create Volume" button.
Finally, click the blue "Create Volume" button.


==Mounting a Volume to a VM== <!--T:14-->
==Mounting a Volume on a VM== <!--T:14-->
[[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)]]
To prepare the volume you must first '''attach''' it to a running 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.
To prepare the volume you must first '''attach''' it to a running 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.
Line 80: Line 80:
* Before a newly created and attached volume can be used, it must be formatted and mounted. 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.
* Before a newly created and attached volume can be used, it must be formatted and mounted. 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.
* In order to access the volume, it must be mounted.  This is the process of mapping the volume's directory and file structure logically within the VM's directory and file structure.
* In order to access the volume, it must be mounted.  This 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>mount /dev/vdb /mnt</code> depending on the device name and the desired mount point in your filesystem.
* To mount the volume, use a command similar to <code>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.


cc_staff
172

edits

Navigation menu