Linux operating systems

Resolving Linux image backup errors

You can resolve Linux® image backup errors by performing specific steps, depending on the type of error that occurs.

About this task

The following error was generated during image backup:
paris:#dsmc b image /dev/system/lv01
Backup Image Function Invoked.
ANS1228E Sending of object '/dev/system/lv01' failed
ANS1584E Error loading system library 'libdevmapper.so' 
required for image operations for LVM2 volumes.
ANS1813E Image Backup processing of '/dev/system/lv01' 
finished with failures.
Total number of objects inspected: 1
Total number of objects backed up: 0
Total number of objects updated: 0
Total number of objects rebound: 0
Total number of objects deleted: 0
Total number of objects expired: 0
Total number of objects failed: 1
Total number of bytes transferred: 0 B
Data transfer time: 0.00 sec
Network data transfer rate: 0.00 KB/sec
Aggregate data transfer rate: 0.00 KB/sec
Objects compressed by: 0%
Elapsed processing time: 00:00:29
paris# cat dsmerror.log
11/15/2006 13:07:53 ANS1228E Sending of object 
'/dev/system/lv01' failed
11/15/2006 13:07:56 ANS1584E Error loading system 
library 'libdevmapper.so' required for 
image operations for LVM2 volumes.
11/15/2006 13:07:56 ANS1813E Image Backup processing 
of '/dev/system/lv01' finished 
with failures.
For this error, ensure that the system has the correct version of the library device mapper installed. Perform the following steps to determine the installed version:

Procedure

  1. Issue the # DMSETUP VERSION command. The output is similar to the following output:
    Library version: 1.00.09-ioctl (2004-03-31)
    Driver version: 4.4.0

    or

    Issue the following command to determine the version using the rpm:
    # rpm -q -a |grep device-mapper
    The output is similar to the following output:
    device-mapper-1.00.09-17.5
    The library version must be Version 1.01 or later.
  2. Verify the installation after the upgrade.
    # rpm -Uvh device-mapper-1.01.01-1.6.i586.rpm
    Preparing... ########################################### [100%]
    1:device-mapper ########################################### [100%]
    # rpm -q -a |grep device-mapper
    device-mapper-1.01.01-1.6
    You can also check the /lib directory to see that the correct versions are installed. A system with the correct levels would have the following information:
    # ls -l /lib/libdev*
    lrwxrwxrwx 1 root root 20 Jul 5 11:42 /lib/libdevmapper.so 
    ->libdevmapper.so.1.01
    -rwxr-xr-x 1 root root 24490 May 23 2005 /lib/libdevmapper.so.1.00
    -rwxr-xr-x 1 root root 28216 May 23 2005 /lib/libdevmapper.so.1.01