Pages

Volume group "vgname" metadata archive failed

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

2 comments:

  1. Since the ultimate goal was to expand the logical volume and resize the encapsulated filesystem, a one-step operation could have been used:

    lvextend -An -L+5G --resizefs /dev/mapper/vg08_root

    ReplyDelete
  2. [root@mstore01 opt]# lvextend -An -L+5G --resizefs /dev/ol/root
    Insufficient free space: 1280 extents needed, but only 0 available

    ReplyDelete