Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
davide.depaoli
Veeam ProPartner
Posts: 137
Liked: 28 times
Joined: Oct 28, 2012 6:06 pm
Full Name: Davide Depaoli
Location: Santhia' (VC) - Italy
Contact:

Failed to create volume snapshot on CentOS

Post by davide.depaoli »

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
nielsengelen
Product Manager
Posts: 5605
Liked: 1173 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Failed to create volume snapshot on CentOS

Post by nielsengelen »

How did you format the new repository? Is this an ext4 disk?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
davide.depaoli
Veeam ProPartner
Posts: 137
Liked: 28 times
Joined: Oct 28, 2012 6:06 pm
Full Name: Davide Depaoli
Location: Santhia' (VC) - Italy
Contact:

Re: Failed to create volume snapshot on CentOS

Post by davide.depaoli »

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

Re: Failed to create volume snapshot on CentOS

Post by davide.depaoli »

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.
PTide
Product Manager
Posts: 6405
Liked: 720 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Failed to create volume snapshot on CentOS

Post by PTide »

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
davide.depaoli
Veeam ProPartner
Posts: 137
Liked: 28 times
Joined: Oct 28, 2012 6:06 pm
Full Name: Davide Depaoli
Location: Santhia' (VC) - Italy
Contact:

Re: Failed to create volume snapshot on CentOS

Post by davide.depaoli »

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
PTide
Product Manager
Posts: 6405
Liked: 720 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Failed to create volume snapshot on CentOS

Post by PTide »

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
davide.depaoli
Veeam ProPartner
Posts: 137
Liked: 28 times
Joined: Oct 28, 2012 6:06 pm
Full Name: Davide Depaoli
Location: Santhia' (VC) - Italy
Contact:

Re: Failed to create volume snapshot on CentOS

Post by davide.depaoli » 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
PTide
Product Manager
Posts: 6405
Liked: 720 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Failed to create volume snapshot on CentOS

Post by PTide »

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
davide.depaoli
Veeam ProPartner
Posts: 137
Liked: 28 times
Joined: Oct 28, 2012 6:06 pm
Full Name: Davide Depaoli
Location: Santhia' (VC) - Italy
Contact:

Re: Failed to create volume snapshot on CentOS

Post by davide.depaoli » 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)
romsl77
Novice
Posts: 3
Liked: never
Joined: Jul 19, 2016 1:59 pm
Full Name: Roman G
Contact:

Re: Failed to create volume snapshot on CentOS

Post by romsl77 »

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
nielsengelen
Product Manager
Posts: 5605
Liked: 1173 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Failed to create volume snapshot on CentOS

Post by nielsengelen »

Please post the log snippet with the error you are receiving.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
PTide
Product Manager
Posts: 6405
Liked: 720 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Failed to create volume snapshot on CentOS

Post by PTide »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests