Sunday, 6 November 2022

Extending LVM logical volume when 100% utilized

 When the logical volume is 100% used and you try to extend the logical volume, you will likely encounter the following error. 


# lvextend -L+5G /dev/mapper/vgname_lvname
 Couldn't create temporary archive name.
 Volume group "vgname" metadata archive failed.

A quick way to extend even when the volume is 100% utilize is by disabling autobackup (using -An)

# lvextend -An -L+5G /dev/mapper/vgname_lvname


Until next time!!!