Article : resize_lvm_volume

[root@stobo Tracks]# lvresize -L +5g /dev/mapper/vg_data-lvol_booksto

Extending logical volume lvol_booksto to 15.00 GB

Logical volume lvol_booksto successfully resized

[root@stobo Tracks]# resize2fs /dev/mapper/vg_data-lvol_booksto

resize2fs 1.39 (29-May-2006)

Please run 'e2fsck -f /dev/mapper/vg_data-lvol_booksto' first.

[root@stobo Tracks]# e2fsck -f /dev/mapper/vg_data-lvol_booksto

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

/dev/mapper/vg_data-lvol_booksto: 45374/1310720 files (0.4% non-contiguous), 2441258/2621440 blocks

[root@stobo Tracks]# resize2fs /dev/mapper/vg_data-lvol_booksto

resize2fs 1.39 (29-May-2006)

Resizing the filesystem on /dev/mapper/vg_data-lvol_booksto to 3932160 (4k) blocks.

The filesystem on /dev/mapper/vg_data-lvol_booksto is now 3932160 blocks long.

[root@stobo Tracks]# mount /booksto

[root@stobo Tracks]#