When trying to extend the volume it shows us the following error:
text
lvextend -l+100%FREE /dev/mapper/vg_mysql-lv_mysql
Using stripesize of last segment 64.00 KiB
Extending logical volume LV_oracle_T03_sapdata1 to 288.99 GiB
Insufficient suitable allocatable extents for logical volume lv_mysql: 1024 more requiredAt this time you cannot extend the linked logical volume to the full size of the volume group because two underlying devices are required to link the data.
We have two ways to solve this problem, add another physical volume and then extend the logical volume or use the same link parameters used in the last segment of the existing logical volume.
text
lvextend -i1 -l+100%FREE /dev/mapper/vg_mysql-lv_mysqlAn extended logical volume we resize.
text
resize2fs /dev/mapper/vg_mysql-lv_mysqlAll the best
:wq!
Comments