The lvextend fails with error message: "Volume group "vgname" metadata archive failed" below is the example of the error
# lvextend -L +1G /dev/vgname/lvname
Couldn't create temporary archive name.
Volume group "vgname" metadata archive failed.
To solve this issue make the /etc/lvm/archive directory writable
# lvextend -L +1G /dev/vgname/lvname
Couldn't create temporary archive name.
Volume group "vgname" metadata archive failed.
To solve this issue make the /etc/lvm/archive directory writable
Since the ultimate goal was to expand the logical volume and resize the encapsulated filesystem, a one-step operation could have been used:
ReplyDeletelvextend -An -L+5G --resizefs /dev/mapper/vg08_root
[root@mstore01 opt]# lvextend -An -L+5G --resizefs /dev/ol/root
ReplyDeleteInsufficient free space: 1280 extents needed, but only 0 available