Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:services:server_services:gwdg_cloud_server:volumes_manual [2021/05/20 08:59]
ssadegh [Manage an existing volume]
en:services:server_services:gwdg_cloud_server:volumes_manual [2021/05/20 13:19]
ssadegh [Manage an existing volume]
Line 35: Line 35:
 </WRAP><WRAP column half> {{ :en:services:server_services:gwdg_cloud_server:new:volume_manage_list.png?direct&200 |}} </WRAP></WRAP> </WRAP><WRAP column half> {{ :en:services:server_services:gwdg_cloud_server:new:volume_manage_list.png?direct&200 |}} </WRAP></WRAP>
 <WRAP Group> <WRAP column half> To attach or detach a Volume to or from an instance, the **Manage Attachments** option should be used.  <WRAP Group> <WRAP column half> To attach or detach a Volume to or from an instance, the **Manage Attachments** option should be used. 
 +</WRAP><WRAP column half>  </WRAP></WRAP>
  
 +<WRAP Group> <WRAP column half>
 To attach a volume to a running instance, the following steps should be fulfilled: To attach a volume to a running instance, the following steps should be fulfilled:
  
Line 42: Line 44:
   * You can optionally change the device name.   * You can optionally change the device name.
   * Click "Attach Volume".   * Click "Attach Volume".
-  * Connect to your instance and run "//fdisk -l//" to verify if the volume is attached.+  * Connect to your instance and run "//sudo fdisk -l//" to verify if the volume is attached.
   * If the volume is new (has not been attached to another instance before) you will see a message in the output of previous command indicating that the disk doesn't contain a valid partition table.   * If the volume is new (has not been attached to another instance before) you will see a message in the output of previous command indicating that the disk doesn't contain a valid partition table.
-  * To format your device, execute:  "//fdisk /dev/vdc//"  (/dev/vdc should be replaced by your device name if it is different)+  * To format your device, execute: "//sudo mkfs -t ext3  /dev/vdc//"  (/dev/vdc should be replaced by your device name if it is different) 
 +  * Create a directory for mounting the new storage volume: "//sudo mkdir /mnt/my-volume//"
 +  * Mount the new volume: "//sudo mount /dev/vdc /mnt/data-store//"
  
 </WRAP><WRAP column half> {{ :en:services:server_services:gwdg_cloud_server:new:volume_attach.png?direct&400 |}} </WRAP></WRAP> </WRAP><WRAP column half> {{ :en:services:server_services:gwdg_cloud_server:new:volume_attach.png?direct&400 |}} </WRAP></WRAP>
 +
 +<WRAP Group> <WRAP column half>
 +To detach a volume from an instance, the following steps should be fulfilled:
 +
 +  * Select "Manage Attachment" of a volume with "In-use" status.
 +  * Click "Detach Volume" of intended instance.
 +  * Confirm displayed message.
 +
 +</WRAP><WRAP column half> {{ :en:services:server_services:gwdg_cloud_server:new:volume_detach.png?direct&400 |}} </WRAP></WRAP>