Host-based backup of oVirt KVM-based VMs (Red Hat Virtualization, Oracle Linux KVM)
Post Reply
yiw
Novice
Posts: 3
Liked: 1 time
Joined: Nov 10, 2016 11:06 pm
Full Name: Eason
Contact:

Veeam Agent apply on CentOSvm + KVM/QEMU + Ceph block device

Post by yiw »

Hi Everyone,

I have CentOS vm running on top of KVM/QEMU, it has 3 virtual disks which provide by Ceph block device. Is it suitable for Veeam Linux Agent to back up all 3 disks and restore all together from bare metal?

Here is lsblk, vda/vdb/vdc are all Ceph block device:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vda 252:0 0 16G 0 disk
├─vda1 252:1 0 500M 0 part /boot
└─vda2 252:2 0 15.5G 0 part
├─centos-swap 253:0 0 1.6G 0 lvm [SWAP]
└─centos-root 253:1 0 13.9G 0 lvm /
vdb 252:16 0 460G 0 disk
└─DataPool-DataPool 253:3 0 460G 0 lvm /usr/local/lib/DataPool
vdc 252:32 0 550G 0 disk
└─DBArchivePool-DBArchivePool 253:2 0 550G 0 lvm /usr/local/lib/db_archive

I will try to deploy this weekend.

Thank you!
nielsengelen
Product Manager
Posts: 5618
Liked: 1177 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Veeam Agent apply on CentOSvm + KVM/QEMU + Ceph block de

Post by nielsengelen »

Multiple tests have been done with KVM/Qemu without an issue. I haven't tried it via Ceph block device but I presume it will work (keep in mind this is a beta). Please let us know your feedback! Looking forward to it.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Veeam Agent apply on CentOSvm + KVM/QEMU + Ceph block de

Post by PTide »

Hi,

What format of virtual disk do you use, is it qcow2 or some other format? Do you map RBD as a block device or just access an image as a virtual block device directly via librbd? Also since ceph block devices are thin provisioned I expect that during restores VAL might attempt to restore the whole provisioned amount of space so it is a subject to test.

Thanks
yiw
Novice
Posts: 3
Liked: 1 time
Joined: Nov 10, 2016 11:06 pm
Full Name: Eason
Contact:

Re: Veeam Agent apply on CentOSvm + KVM/QEMU + Ceph block de

Post by yiw »

Hi Pavel,

Virtual disk format is RAW. The VM is not aware of RBD, the hypervisor (KVM/Qemu) access the image via librbd.

I performed entire machine backup to NFS (an ubuntu server) and recovery file from it (Veeam mount it to /tmp/backup) without any issue.

Then I shutdown old VM, start a new one and boot from Veeam recovery iso to test baremetal recovery but got error:
Image

I tried to follow the instruction to mount NFS manually but no luck.
Image

any idea please?

Thank you!

Yi
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Veeam Agent apply on CentOSvm + KVM/QEMU + Ceph block de

Post by PTide »

Hi,

That's a known bug with NFSv3 in Recovery Media, it will be fixed in GA. Please either switch to v4 on the server side or move the backup to some other storage.
yiw
Novice
Posts: 3
Liked: 1 time
Joined: Nov 10, 2016 11:06 pm
Full Name: Eason
Contact:

Re: Veeam Agent apply on CentOSvm + KVM/QEMU + Ceph block de

Post by yiw » 1 person likes this post

PTide wrote:Hi,

What format of virtual disk do you use, is it qcow2 or some other format? Do you map RBD as a block device or just access an image as a virtual block device directly via librbd? Also since ceph block devices are thin provisioned I expect that during restores VAL might attempt to restore the whole provisioned amount of space so it is a subject to test.

Thanks
Hi

I switched to a Synology box and performed bare metal restore successfully.

You're right, VAL restore the whole provisioned amount of space.

Thank you!

Yi
edh
Service Provider
Posts: 177
Liked: 44 times
Joined: Nov 02, 2020 2:48 pm
Full Name: Manuel Rios
Contact:

Re: Veeam Agent apply on CentOSvm + KVM/QEMU + Ceph block device

Post by edh »

@yiw , are you doing backup of a Openstack/Promox Envirioment?
nielsengelen
Product Manager
Posts: 5618
Liked: 1177 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Veeam Agent apply on CentOSvm + KVM/QEMU + Ceph block device

Post by nielsengelen »

Hi @edh,

As this topic is 5 years old and the original post back then was about the beta, things have changed a lot. Could you post your question (either here or in a new topic) so we can assist you?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests