[pve-devel] [PATCH v2 storage 05/10] rbd plugin: implement volume import/export

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Wed Dec 18 16:33:46 CET 2024


>>Am 18.12.24 um 15:20 schrieb Daniel Kral:
> >>- When exporting with "pvesm export ...", the volume has the same
> checksum as with "rbd export ..." with the size header prepended

>>Well, I totally missed the existence of "rbd export" in my hurry to
>>get
>>this working. Seems to be about 1.5 times faster than mapping+dd from
>>some initial testing. Will use that in v3.

Hi, fiona, rbd export|import, this is the way, like zfs send|receive. 
(with snapshot support too, with export-diff|import-diff)

I't really fast because, if I remember, it's use big block size and is 
able to do parallelism. (can be tunned with --rbd-concurrent-
management-ops <number> )



No related, but could it be possible to implement it, for simple
vm/template full cloning with source+target are both rbd ? It's really
faster with 'qemu-img convert'






More information about the pve-devel mailing list