resize-logical-volume

resize-logical-volume

.. code-block:: bash

umount /AUX

lvm lvresize –size 32G /dev/mapper/vg0-aux

e2fsck -f /dev/mapper/vg0-aux

e2fsck 1.39 (29-May-2006)

Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information

resize2fs /dev/mapper/vg0-aux

resize2fs 1.39 (29-May-2006) Resizing the filesystem on /dev/mapper/vg0-aux to 8388608 (4k) blocks. The filesystem on /dev/mapper/vg0-aux is now 8388608 blocks long.

mount /AUX