|
From: | 李明钊 |
Subject: | qemu-img convert rbd volumes between different ceph clusters accelerate |
Date: | Thu, 8 Apr 2021 21:41:26 +0800 (CST) |
I calculate the convert time with qemu-img 2.5 version or qemu-img 6.0 version, by copying a volume(capability is 2.5T and 18G only used) to another Ceph cluster.
qemu-img [2.5 or 6.0] convert -p -f raw rbd:pool_1/volume-orig_id:id=cinder:conf=1_ceph.conf:keyring=1_ceph.client.cinder.keyring -O raw rbd:pool_2/volume-new_id:id=cinder:conf=2_ceph.conf:keyring=2_ceph.client.cinder.keyring [-n -m 16 -W -S 4k]
Test qemu-img convert
result:
qemu-img 2.5 spend 2 hours and 40 minutes with no option parameter:
qemu-img 6.0 spend 3 hours and 3 minutes with option parameter (-m 16 -W -S 4k):
Questions:
1, why 2.5 version write only used disk capability(18G), but 6.0 version write the hole disk 2.5T?
[Prev in Thread] | Current Thread | [Next in Thread] |