I mean "dd" of snapshots of our Storage Domains (iSCSI Luns). The snapshots are done at the storage array level and mounted in a OS connected to the tape library.

Laurent Duparchy
ESRF - The European Synchrotron
MIS Group
04 76 88 22 56 / 06 71 10 38 40
Laurent Duparchy wrote on 28/06/2021 10:07:
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 <duparchy@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