h1. Expandir lvm Crear volumen físico.
testing:~# pvcreate /dev/sda6
Physical volume "/dev/hdc1" successfully created
Extender el grupo de volúmenes. En este paso se le indica al grupo de volúmenes testing que se le agregará un nuevo volumen físico.
testing:~# vgextend testing /dev/sda6
Volume group "testing" successfully extended
Extender el volumen lógico. El siguiente comando toma el volumen storage ya existente y le agrega 0.95G de tamaño, tomados a partir de la integración del nuevo volumen físico.
testing:~# lvextend -L +0.95G /dev/mapper/nombre_lvm
  Rounding up size to full physical extent 976.00 MB
  Extending logical volume storage to 2.95 GB
  Logical volume storage successfully resized
Redimensionar el sistema de archivos. Hasta aquí está todo bien, sin embargo aún nuestro volumen no ha crecido en tamaño, según muestra la salida del comando df.
testing:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/testing-storage
                      2.0G   36M  1.9G   2% /storage

Para efectivamente expandir
testing:~# resize2fs /dev/mapper/nombre_lvm
resize2fs 1.41.3 (12-Oct-2008)
Filesystem at /dev/testing/storage is mounted on /storage; on-line resizing required
old desc_blocks = 1, new_desc_blocks = 1
Performing an on-line resize of /dev/testing/storage to 772096 (4k) blocks.
The filesystem on /dev/testing/storage is now 772096 blocks long.