Acronis agent snapapi Linux

Check the kernel version

# rpm -qa kernel\* | sort
kernel-2.6.18-164.6.1.el5
kernel-2.6.18-164.el5

# uname -rmi
2.6.18-164.6.1.el5 x86_64 x86_64
1) # yum install kernel-devel
2) # dkms build -m snapapi26 -v 0.7.29 --config config-2.6.18-164.6.1.el5 --arch x86_64 
(it's told me i need the gcc...)
3) # yum install gcc
4) # dkms build -m snapapi26 -v 0.7.29 --config config-2.6.18-164.6.1.el5 --arch x86_64 
5) # dkms install -m snapapi26 -v 0.7.29 --config config-2.6.18-164.6.1.el5 --arch x86_64

1. Install need packets for build
# zypper in kernel-syms linux-kernel-headers gcc

2. Go to object folder
# cd /usr/src/linux-2.6.31.5-0.1-obj/i386/desktop

3. Prepare modversion support:
# zcat /boot/symvers-2.6.31.5-0.1-desktop.gz > Module.symvers

4. Configure the sources for the currently running kernel:
# make cloneconfig

5. Prepare the headers for compilation:
# make modules_prepare

6. Install Acronis product (AcronisTrueImageAgentLinuxEnterprise.i686 ) after message "snapapi26 modules not found" i Skip install and build modules snapapi

7. download last snapapi26 from http://kb.acronis.com/content/9317
# wget -c http://kb.acronis.com/sites/default/files/content/2010/03/9317/snapapi26...

8. install installing RPM with command:
# rpm -ivh snapapi26_modules-0.7.51-1.noarch.rpm

9. add modules in dkms tree
#dkms ldtarball --archive /usr/lib/Acronis/kernel_modules/snapapi26-0.7.51-all.tar.gz

10. Compile and install snapapi module:
# dkms build -m snapapi26 -v 0.7.51
# dkms install -m snapapi26 -v 0.7.51

Leave a comment