ceph export not producing file?
Hey all! rbd export images/ec8a7ff8-6609-4b7d-8bdd-fadcf3b7973e /root/foo.img DOES NOT produce the target file no matter if I use --pool --image format or the one above the target file is not there. Progress bar shows up and prints percentage. It ends up with exit 0 [root@controller-0 mnt]# rbd export --pool=images db8290c3-93fd-4a4e- ad71-7c131070ad6f /mnt/cirros2.img Exporting image: 100% complete...done. [root@controller-0 mnt]# echo $? 0 Any idea what's going on here? It's ceph version 12.2.10 (177915764b752804194937482a39e95e0ca3de94) luminous (stable) Any hints will be much appreciated best regards Piotr
Hi, I haven't had an issue with rbd export in the past. But just to rule that out, your first attempt is to write to /root/foo.img but later you mention /mnt/cirros2.img. Did you look in both places? Or has this issue already been resolved? Zitat von Piotr Baranowski <piotr.baranowski@osec.pl>:
Hey all!
rbd export images/ec8a7ff8-6609-4b7d-8bdd-fadcf3b7973e /root/foo.img DOES NOT produce the target file
no matter if I use --pool --image format or the one above the target file is not there.
Progress bar shows up and prints percentage. It ends up with exit 0
[root@controller-0 mnt]# rbd export --pool=images db8290c3-93fd-4a4e- ad71-7c131070ad6f /mnt/cirros2.img Exporting image: 100% complete...done. [root@controller-0 mnt]# echo $?
Any idea what's going on here? It's ceph version 12.2.10 (177915764b752804194937482a39e95e0ca3de94) luminous (stable)
Any hints will be much appreciated
best regards Piotr
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi, Those are just two different invoctions of the command. YES i DID check both locations. I developed a strange workaround THAT works its rbd export pool/imageid - > filename.img That works and creates a proper export file. Still this behaviour is really weird. P. W dniu czw, 29.04.2021 o godzinie 11∶11 +0000, użytkownik Eugen Block napisał:
Hi,
that out, your first attempt is to write to /root/foo.img but later you mention /mnt/cirros2.img. Did you look in both places? Or has this issue already been resolved?
Zitat von Piotr Baranowski <piotr.baranowski@osec.pl>:
Hey all!
rbd export images/ec8a7ff8-6609-4b7d-8bdd-fadcf3b7973e /root/foo.img DOES NOT produce the target file
no matter if I use --pool --image format or the one above the target file is not there.
Progress bar shows up and prints percentage. It ends up with exit 0
[root@controller-0 mnt]# rbd export --pool=images db8290c3-93fd- 4a4e- ad71-7c131070ad6f /mnt/cirros2.img Exporting image: 100% complete...done. [root@controller-0 mnt]# echo $?
Any idea what's going on here? It's ceph version 12.2.10 (177915764b752804194937482a39e95e0ca3de94) luminous (stable)
Any hints will be much appreciated
best regards Piotr
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Eugen Block
-
Piotr Baranowski