Actions
Bug #2871
closedrbd export command hangs when trying to export an image of size 0 to a local file
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Ceph Version: 0.48
Steps followed:
1. create a rbd image of size 1000 mb in rbd pool
2. resize the rbd image to size 0 mb
3. Export the rbd image to a local file. The command hangs.
However, getting rid of the command prompt,could see a local file of size 0.
Pasting below the screenshot for reference,
ubuntu@burnupi64:~/qemu/qemu$ rbd create rbd/rbd1 --size 1000 ubuntu@burnupi64:~/qemu/qemu$ rbd info rbd1 rbd image 'rbd1': size 1000 MB in 250 objects order 22 (4096 KB objects) block_name_prefix: rb.0.7 parent: (pool -1) ubuntu@burnupi64:~/qemu/qemu$ rbd resize rbd/rbd1 --size 0 Resizing image: 100% complete...done. ubuntu@burnupi64:~/qemu/qemu$ rbd export rbd/rbd1 test_file1 ^C ubuntu@burnupi64:~/qemu/qemu$ ls -l test_file1 -rw-r--r-- 1 ubuntu ubuntu 0 2012-07-30 18:36 test_file1
Updated by Dan Mick over 11 years ago
- Status changed from New to Resolved
Not certain which recent fix resolved this, but it works now.
Actions