Posts

Showing posts from February, 2023

Redhat Linux logical volume extension

I needed to extend a LV as it was small for what I needed to do. As you can see below, it was originally 20G in size. As root, I did the following steps: # df -h /u01 Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg00-lvU01 20G 9.1G 11G 46% /u01 1. First, I had to check for free size on the Volume Group. # vgdisplay --- Volume group --- VG Name vg00 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 8 VG Access read/write VG Status resizable MAX LV 0 Cur LV 7 Open LV 7 Max PV 0 Cur PV 1 Act PV 1 VG Size <222.02 GiB PE Size 4.00 MiB Total PE 56836 Alloc PE / Size 20480 / 80.00 GiB Free PE / Size 36356 / <142.02 GiB VG UUID poBYqN-t5P3-t6rE-UfeI-eaXj-OoMe-l1a39z 2. From above exam