diff options
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2001')
| -rw-r--r-- | gitlab/issues_text/target_missing/host_missing/accel_missing/2001 | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2001 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2001 deleted file mode 100644 index 22c0923bb..000000000 --- a/gitlab/issues_text/target_missing/host_missing/accel_missing/2001 +++ /dev/null @@ -1,43 +0,0 @@ -qemu_img convert and drive mirror migrate the same raw disk to rbd volume, will get the different USED size in ceph cluster. -Description of problem: -qemu_img convert and drive mirror migrate the same raw disk to rbd volume, will get the different USED size in ceph cluster. -Steps to reproduce: -create raw and qcow2 disk - -1. qemu-img create -f raw lvm_volume_1.raw 12G -2. qemu-img create -f qcow2 lvm_volume_1.qcow2 12G - - install a centos OS - -3. qemu-system-x86_64 -m 4096 -drive file=lvm_volume_1.qcow2,format=qcow2,index=0 -nographic -cdrom CentOS-8.3.2011-x86_64-dvd1.iso -vnc :25 - - convert the qcow2 OS disk to q raw OS disk - -4. qemu-img convert -f qcow2 -O raw ./lvm_volume_1.qcow2 ./lvm_volume_1.raw - - create a qemu-rbd process - -5. qemu-nbd --fork -x node1 -p 1238 rbd:cephpool- test/volume_1:id=xxx:key=xxx:mon_host=xxx:auth_supported=cephx - - boot the raw OS disk - -6. qemu-system-x86_64 -hda ./lvm_volume_1.raw -m 4096 -smp 4 -vnc :25 -monitor stdio - - migrate the raw OS disk to a ceph volume - -7. drive_mirror -n -f #block125 nbd:localhost:1238:exportname=node1 raw - - check the rbd volume USED size in ceph cluster - "rbd du cephpool-test/volume_1" - the ceph rbd volume PROVISION and USED are the same size - - convert the raw OS disk to a ceph volume - -8. qemu-img convert -n -f raw -O raw ./lvm_volume_1.raw rbd:cephpool- -test/volume_2:id=xxx:key=xxx:mon_host=xxx:auth_supported=cephx - - check the rbd volume USED size in ceph cluster - "rbd du cephpool-test/volume_2" - the ceph rbd volume PROVISION and USED are different PROVISION > USED -Additional information: - |