Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:centro:servizos:cloud:extender_lvm_de_maquina_virtual_con_espacio_libre [2018/05/31 18:21] – created fernando.guillen | en:centro:servizos:cloud:extender_lvm_de_maquina_virtual_con_espacio_libre [2018/06/01 14:26] (current) – [Redimensionado] fernando.guillen | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| - | ===== Check of the configuration ===== | + | ===== Check the configuration ===== |
| Before continuing you should confirm that the system you are working on has this configuration, | Before continuing you should confirm that the system you are working on has this configuration, | ||
| First check if you're using LVM: | First check if you're using LVM: | ||
| - | |||
| < | < | ||
| # df -h / | # df -h / | ||
| - | S.ficheros | + | Filesystem |
| / | / | ||
| </ | </ | ||
| + | '' | ||
| - | El comando '' | + | Now check the root's logical volume name. |
| - | + | ||
| - | Ahora comprueba el nombre del volumen lógico utilizando para el root. | + | |
| < | < | ||
| Line 27: | Line 24: | ||
| </ | </ | ||
| - | También comprueba el nombre del grupo de volúmenes asociado y su volumen físico. | + | Also check the associate volume group name and its physical volume. |
| < | < | ||
| # pvs | # pvs | ||
| Line 34: | Line 30: | ||
| / | / | ||
| </ | </ | ||
| + | We can see that root is in a logical volume called '' | ||
| - | Con esos comandos vemos que el root está en un volumen lógico llamado '' | + | Take into account that ''/ |
| Ten en cuenta además que en el sistema de particionado utilizado, ''/ | Ten en cuenta además que en el sistema de particionado utilizado, ''/ | ||
| - | ===== Redimensionado | + | ===== Resize |
| - | El redimensionado se puede resumir en los siguientes | + | There are 5 steps necessary: |
| - | - Extender la partición extendida | + | - Extend the extended partition |
| - | - Extender la partición lógica | + | - Extend the logical partition |
| - | - Extender el volumen físico del grupo de volúmenes | + | - Extend the physical volume of volume group '' |
| - | - Extender el volumen lógico | + | - Extend the logical volume |
| - | - Extender el sistema de archivos para que ocupe el espacio libre del volumen lógico. | + | - Extend the filesystem to fill the free space of the logical volume. |
| - | Arrancamos | + | Run '' |
| < | < | ||
| Line 68: | Line 64: | ||
| </ | </ | ||
| - | Primero hay que extender las particiones extendidas y lógica | + | First the extended and logical partitions have to be extended |
| < | < | ||
| Line 76: | Line 72: | ||
| </ | </ | ||
| - | Una vez hecho, ya fuera de parted, | + | Once done and having exited |
| < | < | ||
| Line 84: | Line 81: | ||
| </ | </ | ||
| - | Ahora extendemos el volumen lógico | + | Now we extend the logical volume |
| < | < | ||
| Line 92: | Line 89: | ||
| </ | </ | ||
| + | Finally, the filesystem is extended (//step 5//). | ||
| Por último, extendemos el sistema de archivos (//paso 5//). | Por último, extendemos el sistema de archivos (//paso 5//). | ||
| Line 101: | Line 99: | ||
| The filesystem on / | The filesystem on / | ||
| </ | </ | ||
| + | Once this is done all the free space should be assigned to the system' | ||
| - | Una vez hecho esto, todo el espacio libre debería estar ya asignado al root del sistema. | ||