Hi,

Thanks you for your response.

I'm new to ovirt / LVM (Oracle flavor). I'm wondering why LVM snapshots don't have the "s" attribute. ..

( I noticed it while looking for the best way to backup the VMs to tape.
We must have an offline & out-of-band backup to tape which is part of our "Disaster Recovery Plan".
At the moment a (most simple) "dd" of the entire Volume Group seems OK. Nevertheless checking if more granular is possible...
Keeping things simple being a goal. )


Laurent Duparchy
ESRF - The European Synchrotron
MIS Group
04 76 88 22 56 / 06 71 10 38 40

Nir Soffer wrote on 21/06/2021 21:35:
On Mon, Jun 21, 2021 at 10:29 PM <dupar...@esrf.fr> wrote:
Hi,
What are the internal commands used to clone LVM partitions ?
Are you sure this is the right mailing list?

(you can simply indicate me the source code where this is done)
If you mean how we copy disks lvm based disks (e.g. on FC/iSCSI storage domain),
we use this:
https://github.com/oVirt/vdsm/blob/4f728377f6cd6950035a7739014737789a4d6f14/lib/vdsm/storage/qemuimg.py#L232

Most flows uses this API for copying disks:
https://github.com/oVirt/vdsm/blob/master/lib/vdsm/storage/sdm/api/copy_data.py

Nir


_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/3WRSGRQQABXZO2UD3SX2TTHG4CTGSJKJ/

Reply via email to