Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra-addon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra-sites domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the uael domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Warning: Attempt to read property "post_title" on null in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-content/plugins/elementor/core/isolation/elementor-adapter.php on line 28

Deprecated: ¡La función WP_Dependencies->add_data() ha sido llamada con un argumento que está obsoleto desde la versión 6.9.0! Los comentarios condicionales de IE los ignoran todos los navegadores compatibles. in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260
Redimensionar Disco - ERA Hosting

Redimensionar Disco

Cambiar el tamaño (redimensionar) de Home y Root en Centos 7

Consideraciones:

– Los puntos de montaje podrian ser cl-root o cl-home en lugar de centos-root o centos-home
– Si antes estaba como ext4 entonces hay que formatear /home como ext4 con mkfs.ext4

Para ext4 mejor seguir esto:

df -hT
cd /
mkdir /home2
cp -r -p /home/* /home2
umount /home
lvremove /dev/mapper/cl-home
lvextend -L 875G /dev/mapper/cl-root
resize2fs /dev/mapper/cl-root
lvcreate -L 20g -n home cl
mkfs.ext4 /dev/mapper/cl-home
mount /dev/mapper/cl-home /home
cp -r -p /home2/* /home

Otra opcion.

Ampliar disco virtual desde HyperV
Arrancar la maquina y comprobar espacio disponible con df -h
Crear un punto de restauracion en HyperV
Es necesario el compando growpart, si no lo está, hay que instalarlo con: yum install cloud-utils-growpart
Ejecutar growpart /dev/sdb 1 (o la unidad que corresponda)
Comprobar con df -h
Si no se ha ampliado, ejecutar resize2fs /dev/sdb1

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *