Skip to content

Commit ca84fb3

Browse files
committed
feat(block storage increasing size): add explanations about how see disk size .. warning ..
1 parent 39a9135 commit ca84fb3

File tree

2 files changed

+154
-0
lines changed

2 files changed

+154
-0
lines changed

pages/public_cloud/compute/increase_the_size_of_an_additional_disk/guide.en-gb.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ excerpt: 'Find out how to increase the size of an additional volume and enlarge
44
updated: 2022-03-29
55
---
66

7+
<style>
8+
details>summary {
9+
color:rgb(33, 153, 232) !important;
10+
cursor: pointer;
11+
}
12+
details>summary::before {
13+
content:'\25B6';
14+
padding-right:1ch;
15+
}
16+
details[open]>summary::before {
17+
content:'\25BC';
18+
}
19+
</style>
20+
721
## Objective
822

923
If you have reached the maximum capacity on your additional disk, you can add more storage by increasing its size.
@@ -21,6 +35,68 @@ If you have reached the maximum capacity on your additional disk, you can add mo
2135

2236
The following steps presume that you have configured an additional disk according to [our guide](/pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance).
2337

38+
## Monitoring Disk Usage Before Resizing
39+
40+
> [!warning]
41+
>
42+
> We recommend that you always maintain 20% free space on your storage volumes. This ensures optimum performance and avoids the risk of system degradation or failure when the volume reaches its maximum capacity.
43+
>
44+
45+
To ensure that you resize your disk at the right moment, it is essential to monitor disk usage regularly. Below are quick tutorials for both Windows and Linux to help you track disk space and anticipate when an upgrade is needed.
46+
47+
> [!tabs]
48+
> On Windows
49+
>> /// details | **Using Command Prompt**
50+
>>
51+
>> Open Command Prompt (Win + R → cmd → Enter).
52+
>>
53+
>> Run the following command:
54+
>>
55+
>> ```bash
56+
>> wmic logicaldisk get name, size, freespace
57+
>> ```
58+
>>
59+
>> This will display the free space and total size of each disk.
60+
>>
61+
>> ///
62+
>>
63+
>> /// details | **Using PowerShell**
64+
>>
65+
>> Open PowerShell as Administrator.
66+
>>
67+
>> Run the following command:
68+
>>
69+
>> ```bash
70+
>> Get-PSDrive | Where-Object {$_.Free -ne $null} | Select-Object Name, Used, Free
71+
>> ```
72+
>>
73+
>> This will show the used and available disk space.
74+
>>
75+
>> ///
76+
>>
77+
> On Linux
78+
>> /// details | **Using 'df' command**
79+
>>
80+
>> To check overall disk usage, run:
81+
>>
82+
>> ```bash
83+
>> df -h
84+
>> ```
85+
>>
86+
>> This will display disk usage in a human-readable format.
87+
>>
88+
>> ///
89+
>>
90+
>> /// details | **Using 'lsblk ' command**
91+
>>
92+
>> To view disk partitions and their sizes:
93+
>>
94+
>> ```bash
95+
>> lsblk
96+
>> ```
97+
>>
98+
>> ///
99+
24100
### Modifying the size of the disk
25101
26102
Log in to the [OVHcloud Control Panel](/links/manager) and open your `Public Cloud`{.action} project. Then click on `Block Storage`{.action} in the left-hand menu.
@@ -156,5 +232,6 @@ The resized volume now includes the additional disk space.
156232
## Go further
157233
158234
[Creating and configuring an additional disk on an instance](/pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance)
235+
[Change your block storage volume type](/pages/public_cloud/compute/switch_volume_type)
159236
160237
Join our [community of users](/links/community).

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

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ excerpt: "Découvrez comment augmenter la taille d'un volume supplémentaire et
44
updated: 2022-03-29
55
---
66

7+
<style>
8+
details>summary {
9+
color:rgb(33, 153, 232) !important;
10+
cursor: pointer;
11+
}
12+
details>summary::before {
13+
content:'\25B6';
14+
padding-right:1ch;
15+
}
16+
details[open]>summary::before {
17+
content:'\25BC';
18+
}
19+
</style>
20+
721
## Objectif
822

923
Si vous avez atteint la capacité maximale de votre disque supplémentaire, vous pouvez ajouter du stockage en augmentant sa taille.
@@ -21,6 +35,68 @@ Si vous avez atteint la capacité maximale de votre disque supplémentaire, vous
2135

2236
Les étapes suivantes supposent que vous avez déjà configuré un disque supplémentaire selon les intrusctions de [notre guide](/pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance).
2337

38+
## Monitorer l'utilisation du disque avant le redimensionnement
39+
40+
> [!warning]
41+
>
42+
> Il est recommandé de toujours maintenir 20% d'espace libre sur vos volumes de stockage. Cela permet d'assurer des performances optimales et d'éviter des risques de dégradation ou de panne du système lorsque le volume atteint sa capacité maximale.
43+
>
44+
45+
Pour vous assurer de redimensionner votre disque au bon moment, il est essentiel de surveiller régulièrement l'utilisation du disque. Vous trouverez ci-dessous des tutoriels rapides pour Windows et Linux qui vous aideront à surveiller l'espace disque et à anticiper le moment où une mise à niveau est nécessaire.
46+
47+
> [!tabs]
48+
> Pour Windows
49+
>> /// details | **Utilision du Command Prompt**
50+
>>
51+
>> Ouvrir le Command Prompt (Win + R → cmd → Enter).
52+
>>
53+
>> Exécutez la commande suivante:
54+
>>
55+
>> ```bash
56+
>> wmic logicaldisk get name, size, freespace
57+
>> ```
58+
>>
59+
>> L'espace libre et la taille totale de chaque disque s'affichent.
60+
>>
61+
>> ///
62+
>>
63+
>> /// details | **Utilisation de PowerShell**
64+
>>
65+
>> Ouvrir le PowerShell en tant qu'Administrateur.
66+
>>
67+
>> Exécutez la commande suivante:
68+
>>
69+
>> ```bash
70+
>> Get-PSDrive | Where-Object {$_.Free -ne $null} | Select-Object Name, Used, Free
71+
>> ```
72+
>>
73+
>> L'espace disque utilisé et l'espace disque disponible s'affichent.
74+
>>
75+
>> ///
76+
>>
77+
> On Linux
78+
>> /// details | **Utilisation de la commande 'df'**
79+
>>
80+
>> Pour vérifier l'utilisation globale du disque, exécutez la commande
81+
>>
82+
>> ```bash
83+
>> df -h
84+
>> ```
85+
>>
86+
>> Cette fonction affiche l'utilisation du disque dans un format lisible par l'homme.
87+
>>
88+
>> ///
89+
>>
90+
>> /// details | **Utilisation de la commande 'lsblk'**
91+
>>
92+
>> Pour afficher les partitions du disque et leur taille :
93+
>>
94+
>> ```bash
95+
>> lsblk
96+
>> ```
97+
>>
98+
>> ///
99+
24100
### Modifier la taille du disque
25101
26102
Connectez-vous à votre [espace client OVHcloud](https://www.ovh.com/auth?onsuccess=https%3A%2F%2Fwww.ovh.com%2Fmanager%2Fpublic-cloud&ovhSubsidiary=fr) et ouvrez votre projet `Public Cloud`{.action}. Cliquez ensuite sur `Block Storage`{.action} dans le menu de gauche.
@@ -162,5 +238,6 @@ Le volume redimensionné inclut désormais l'espace disque supplémentaire.
162238
## Aller plus loin
163239

164240
[Créer et configurer un disque additionnel sur une instance](/pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance)
241+
[Modifier un Volume Block Storage](/pages/public_cloud/compute/switch_volume_type)
165242

166243
Échangez avec notre [communauté d'utilisateurs](/links/community).

0 commit comments

Comments
 (0)