Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

lvextend – Insufficient suitable allocatable extents for logical volume lv_mysql: 1024 more required

Leer en espanol
lvextend – Insufficient suitable allocatable extents for logical volume lv_mysql: 1024 more required

Table of contents

textlvextend -l+100%FREE /dev/mapper/vg_mysql-lv_mysql Using stripesize of last segment 64.00 KiB Extending logical volume LV_oracle_T ===

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 required

At 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_mysql

An extended logical volume we resize.

text
resize2fs /dev/mapper/vg_mysql-lv_mysql

All the best

:wq!

Comments