GNU/Linux >> Tutoriales Linux >  >> Cent OS

Cómo habilitar la extensión automática Thin LVM

Pregunta :¿Cómo habilitar la capacidad de extensión automática para un volumen LVM delgado?

De forma predeterminada, la extensión automática se establece en '100

# grep thin_pool_autoextend_threshold /etc/lvm/lvm.conf
# Configuration option activation/thin_pool_autoextend_threshold.
# thin_pool_autoextend_threshold = 70
  thin_pool_autoextend_threshold = 100

Estos ajustes implican que la función ha sido deshabilitada:

# Configuration option activation/thin_pool_autoextend_threshold.
# Auto-extend a thin pool when its usage exceeds this percent.
# Setting this to 100 disables automatic extension.

Para habilitar la extensión automática, cambie tanto el 'thin_pool_autoextend_percent ' y 'thin_pool_autoextend_threshold ' configuración:

thin_pool_autoextend_threshold = 70
thin_pool_autoextend_percent   = 20

Lo que significa que siempre que un grupo supere el 70 % de uso, se ampliará en otro 20 %. Para un grupo de 1G, el uso de 700M activará un cambio de tamaño a 1,2G. Cuando el uso supere los 840 M, el grupo se ampliará a 1,44 G, y así sucesivamente.


Cent OS
  1. Cómo habilitar IPv6 en CentOS / RHEL 7

  2. Cómo habilitar IPv6 en CentOS / RHEL 5

  3. CentOS / RHEL 7:Cómo habilitar o deshabilitar las actualizaciones automáticas (a través de packagekit)

  4. Cómo habilitar la extensión automática para un volumen LVM delgado

  5. Cómo habilitar IPv6 en CentOS/RHEL 8

Cómo habilitar/deshabilitar el inicio de sesión automático en Debian 10

Cómo habilitar/deshabilitar el inicio de sesión automático en Ubuntu 20.04 LTS

Cómo habilitar la compresión Gzip en Nginx

Cómo habilitar el repositorio EPEL en CentOS 8

Cómo habilitar el repositorio REMI en CentOS 8

¿Cómo habilitar las copias de seguridad automáticas en Plesk Control Panel?