HostOnNet Blog

r1soft Failed to backup LVM/MD configuration

Looking for Linux Server Admin or WordPress Expert? We can help.

When using r1soft backup service, backup failed with error

Failed to backup LVM/MD configuration
Failed to execute command ‘lvm.static pvs -o pv_fmt,pv_uuid,dev_size,pv_name,pv_mda_free,pv_mda_size,pv_all,seg_all,pvseg_all,vg_all,lv_all –nameprefixes –noheadings –units b –nosuffix –unquoted’

This is because the /usr/sbin/r1soft/lib/lvm.static file provided with r1soft agent is not working properly. The solution is to remove it and symlink it to system lvm binary.

mv /usr/sbin/r1soft/lib/lvm.static /usr/sbin/r1soft/lib/lvm.static.back
ln -s /sbin/lvm /usr/sbin/r1soft/lib/lvm.static

See Backup

Posted in Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.