HostOnNet Blog

r1soft Failed to backup LVM/MD configuration

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