Skip to content

Commit eba1fa3

Browse files
committed
add
1 parent cdb784e commit eba1fa3

File tree

1 file changed

+27
-1
lines changed
  • pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance

1 file changed

+27
-1
lines changed

pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance/guide.fr-fr.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,33 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
227227
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
228228
>>
229229
> **Via the Openstack CLI**
230-
>>
230+
>> Lister les types de volumes disponibles dans la région :
231+
>>
232+
>> ```bash
233+
>> openstack volume type list
234+
>> ```
235+
>>
236+
>> Créez un volume en spécifiant au minimum sa taille (en GB) ainsi qu’un type parmi ceux listés précédemment. Vous pouvez également indiquer un nom pour votre volume à la fin de la commande.
237+
>>
238+
>> ```bash
239+
>> openstack volume create --size 1 --type high-speed-gen2 volumeName
240+
>> ```
241+
>>
242+
>> Pour attacher un volume à une instance disponible dans la région, utilisez la commande suivante :
243+
>>
244+
>> ```bash
245+
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
246+
>>
247+
>> +-----------+-------------------------------------+
248+
>> | Field | Value |
249+
>> +-----------+-------------------------------------+
250+
>> | ID | 7d3d670f-****-****-****-60dd1e6**** |
251+
>> | Server ID | 74317f97-****-****-****-80cf2d4**** |
252+
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
253+
>> | Device | /dev/sdb |
254+
>> | Tag | None |
255+
>> +-----------+-------------------------------------+
256+
>> ```
231257
>>
232258
233259
### Configuration du nouveau disque

0 commit comments

Comments
 (0)