-
- Veeam ProPartner
- Posts: 156
- Liked: 43 times
- Joined: Oct 28, 2012 6:06 pm
- Full Name: Davide Depaoli
- Location: Santhia' (VC) - Italy
- Contact:
Failed to create volume snapshot on CentOS
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
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
-
- Product Manager
- Posts: 5796
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: Failed to create volume snapshot on CentOS
How did you format the new repository? Is this an ext4 disk?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Veeam ProPartner
- Posts: 156
- Liked: 43 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
Yes, it is ext4 formatted, using following command: "/sbin/mkfs.ext4 -L /backup /dev/sdb1"
-
- Veeam ProPartner
- Posts: 156
- Liked: 43 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
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.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Failed to create volume snapshot on CentOS
Hi,
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-headersChild execution has failed. Exit code: [1]
-
- Veeam ProPartner
- Posts: 156
- Liked: 43 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
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
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
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Failed to create volume snapshot on CentOS
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
Thank you
-
- Veeam ProPartner
- Posts: 156
- Liked: 43 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
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
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
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Failed to create volume snapshot on CentOS
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).Now the agent is working.
Thanks
-
- Veeam ProPartner
- Posts: 156
- Liked: 43 times
- Joined: Oct 28, 2012 6:06 pm
- Full Name: Davide Depaoli
- Location: Santhia' (VC) - Italy
- Contact:
-
- 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
Hello,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
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
thanks for your help
-
- Product Manager
- Posts: 5796
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: Failed to create volume snapshot on CentOS
Please post the log snippet with the error you are receiving.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Failed to create volume snapshot on CentOS
Hi,
Apparently kernel and kernel-headers versions do not match:
Thanks.
Apparently kernel and kernel-headers versions do not match:
Those numbers should match each other.][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
Thanks.
Who is online
Users browsing this forum: No registered users and 14 guests