Failed to create volume snapshot on CentOS

Backup agent for Linux servers and workstations on-premises or in the public cloud

Failed to create volume snapshot on CentOS

Veeam Logoby davide.depaoli » Mon Jul 11, 2016 7:52 am

Hello,
I've just downloaded veeam agent, installed centOS on a vsphere vm, installed all os dependencies and finally started veeam agent.
As veeam repository have added a new local disk and mounted as a standard filesystem.
Have configure veeam as Volume level backup, excluding a filesystem acting as repository.
The job fails with:
"failed to create volume snapshot"
"child execution has failed. Exit code: 1"

I'm not a linux guru, and I don't know how to solve the problem.
Thank you
Davide
------------------------------
H.M.S. Sipac SpA
Veeam Gold ProPartner
davide.depaoli
Veeam ProPartner
 
Posts: 96
Liked: 16 times
Joined: Sun Oct 28, 2012 6:06 pm
Location: Santhia' (VC) - Italy
Full Name: Davide Depaoli

Re: Failed to create volume snapshot on CentOS

Veeam Logoby vmniels » Mon Jul 11, 2016 8:27 am

How did you format the new repository? Is this an ext4 disk?
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1444
Liked: 319 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Failed to create volume snapshot on CentOS

Veeam Logoby davide.depaoli » Mon Jul 11, 2016 8:50 am

Yes, it is ext4 formatted, using following command: "/sbin/mkfs.ext4 -L /backup /dev/sdb1"
------------------------------
H.M.S. Sipac SpA
Veeam Gold ProPartner
davide.depaoli
Veeam ProPartner
 
Posts: 96
Liked: 16 times
Joined: Sun Oct 28, 2012 6:06 pm
Location: Santhia' (VC) - Italy
Full Name: Davide Depaoli

Re: Failed to create volume snapshot on CentOS

Veeam Logoby davide.depaoli » Mon Jul 11, 2016 9:43 am

Extracted from job logfile

Code: Select all
Adding LVM volume group object into snapshot set. Volume group: [centos].
[11.07.2016 10:45:26] <140116363777792> lpbcore|       Device: [253:0].
[11.07.2016 10:45:26] <140116363777792> lpbcore|       Device: [253:1].
[11.07.2016 10:45:28] <140116363777792> lpbcore| WARN|Method invocation was not finalized. Method id [0]. Class: [N10lpbcorelib11interaction17IResourcesServiceE]
[11.07.2016 10:45:28] <140116363777792> lpbcore| ERR |Child execution has failed. Exit code: [1].
[11.07.2016 10:45:28] <140116363777792> lpbcore| >>  |--tr:Failed to execute [modprobe].
[11.07.2016 10:45:28] <140116363777792> lpbcore| >>  |Failed to load module [veeamsnap] with parameters [deferiocache=0 debuglogging=0].
[11.07.2016 10:45:28] <140116363777792> lpbcore| >>  |--tr:Unable to create snapshot for session [{9dbdf1e3-ae44-4b64-9d42-b591205ca6d8}].
[11.07.2016 10:45:28] <140116363777792> lpbcore| >>  |--tr:Failed to execute method [0] for class [N10lpbcorelib11interaction9proxystub21CResourcesServiceStubE].
[11.07.2016 10:45:28] <140116363777792> lpbcore| >>  |--tr:Failed to invoke method [0] in class [N10lpbcorelib11interaction17IResourcesServiceE].
[11.07.2016 10:45:28] <140116363777792> lpbcore| >>  |An exception was thrown from thread [1645680384].
[11.07.2016 10:45:28] <140116363777792> lpbcore|   BackupJobPerformer: Taking snapshot. Failed.
[11.07.2016 10:45:28] <140116363777792> lpbcore|   BackupJobPerformer: Releasing snapshot.
[11.07.2016 10:45:28] <140116363777792> lpbcore|   BackupJobPerformer: Releasing snapshot. ok.
[11.07.2016 10:45:28] <140116363777792> lpbcore| BackupJobPerformer: Creating backup. Failed.
------------------------------
H.M.S. Sipac SpA
Veeam Gold ProPartner
davide.depaoli
Veeam ProPartner
 
Posts: 96
Liked: 16 times
Joined: Sun Oct 28, 2012 6:06 pm
Location: Santhia' (VC) - Italy
Full Name: Davide Depaoli

Re: Failed to create volume snapshot on CentOS

Veeam Logoby PTide » Mon Jul 11, 2016 1:11 pm

Hi,

Child execution has failed. Exit code: [1]
Please run rpm -qa | grep veeamsnap. If the output says veeamsnap-1.0.0.499-1.noarch then please check if the versions of kernel and kernel-headers match - run uname -r and compare the version from the output with the verison in the output of rpm -qa | grep kernel-headers
PTide
Veeam Software
 
Posts: 2886
Liked: 236 times
Joined: Tue May 19, 2015 1:46 pm

Re: Failed to create volume snapshot on CentOS

Veeam Logoby davide.depaoli » Mon Jul 11, 2016 2:53 pm

My outputs:

rpm -qa | grep veeamsnap
veeamsnap-1.0.0.499-1.noarch

uname -r
3.10.0-327.22.2.el7.x86_64

rpm -qa | grep kernel-headers
kernel-headers-3.10.0-327.22.2.el7.x86_64

thank you
------------------------------
H.M.S. Sipac SpA
Veeam Gold ProPartner
davide.depaoli
Veeam ProPartner
 
Posts: 96
Liked: 16 times
Joined: Sun Oct 28, 2012 6:06 pm
Location: Santhia' (VC) - Italy
Full Name: Davide Depaoli

Re: Failed to create volume snapshot on CentOS

Veeam Logoby PTide » Mon Jul 11, 2016 5:50 pm

Kindly reinstall both packages (veeam and veeamsnap) and try to start backup again. If the same error persists then please upload the /var/log/veeam directory to some fileshare so we can review the logs. Please also include the output of lsblk -af and dmesg -T in the archive.

Thank you
PTide
Veeam Software
 
Posts: 2886
Liked: 236 times
Joined: Tue May 19, 2015 1:46 pm

Re: Failed to create volume snapshot on CentOS

Veeam Logoby davide.depaoli » Wed Jul 13, 2016 9:52 am 1 person likes this post

Hi,
I have reinstalled whole vm from scratch installing all dependecies (some trouble to find dkms for CentOS).
Now the agent is working.

Thank you
Davide
------------------------------
H.M.S. Sipac SpA
Veeam Gold ProPartner
davide.depaoli
Veeam ProPartner
 
Posts: 96
Liked: 16 times
Joined: Sun Oct 28, 2012 6:06 pm
Location: Santhia' (VC) - Italy
Full Name: Davide Depaoli

Re: Failed to create volume snapshot on CentOS

Veeam Logoby PTide » Wed Jul 13, 2016 10:37 am

Now the agent is working.
Good! dkms is not available in any of the official CentOS repositories, so if you use yum packet manager for installation and want it to install dkms automatically then please use some third-party repository that contains dkms package (epel for example).

Thanks
PTide
Veeam Software
 
Posts: 2886
Liked: 236 times
Joined: Tue May 19, 2015 1:46 pm

Re: Failed to create volume snapshot on CentOS

Veeam Logoby davide.depaoli » Wed Jul 13, 2016 10:57 am 1 person likes this post

If this may be useful to other users. I have found dkms here:

http://goo.gl/7PABQ3 (rpm.pbone.net)
------------------------------
H.M.S. Sipac SpA
Veeam Gold ProPartner
davide.depaoli
Veeam ProPartner
 
Posts: 96
Liked: 16 times
Joined: Sun Oct 28, 2012 6:06 pm
Location: Santhia' (VC) - Italy
Full Name: Davide Depaoli

Re: Failed to create volume snapshot on CentOS

Veeam Logoby romsl77 » Tue Jul 19, 2016 2:02 pm

Hi,

Child execution has failed. Exit code: [1]
Please run rpm -qa | grep veeamsnap. If the output says veeamsnap-1.0.0.499-1.noarch then please check if the versions of kernel and kernel-headers match - run uname -r and compare the version from the output with the verison in the output of rpm -qa | grep kernel-headers


Hello,

I also have problems doing backups with the veeam endpoint backup for linux.
I also have centos and my output to those commands is:
Code: Select all
[root@SRV-WEB-02 veeam]# rpm -qa | grep veeamsnap
veeamsnap-1.0.0.499-1.noarch
[root@SRV-WEB-02 veeam]# uname -r
3.10.0-327.18.2.el7.x86_64
[root@SRV-WEB-02 veeam]# rpm -qa | grep kernel-headers
kernel-headers-3.10.0-327.22.2.el7.x86_64


so what should i do now?

thanks for your help
romsl77
Novice
 
Posts: 3
Liked: never
Joined: Tue Jul 19, 2016 1:59 pm
Full Name: Roman G

Re: Failed to create volume snapshot on CentOS

Veeam Logoby vmniels » Tue Jul 19, 2016 2:23 pm

Please post the log snippet with the error you are receiving.
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1444
Liked: 319 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Failed to create volume snapshot on CentOS

Veeam Logoby PTide » Wed Jul 20, 2016 12:44 pm

Hi,

Apparently kernel and kernel-headers versions do not match:
][root@SRV-WEB-02 veeam]# uname -r
3.10.0-327.18.2.el7.x86_64
[root@SRV-WEB-02 veeam]# rpm -qa | grep kernel-headers
kernel-headers-3.10.0-327.22.2.el7.x86_64

Those numbers should match each other.

Thanks.
PTide
Veeam Software
 
Posts: 2886
Liked: 236 times
Joined: Tue May 19, 2015 1:46 pm


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 5 guests

cron