On 09/12/2012 05:56 AM, Martin Mailand wrote:
Hi,
whilst testing the new rbd layering feature I found a problem with rbd
map. It seems rbd map doesn't support the new format.
Yeah, format 2 and layering support is in progress for kernel rbd,
but not ready yet. The userspace side is all ready in the master
branch, but it takes more time to implement in the kernel.
Btw, instead of --new-format you should use --format 2. It's in
the man page in the master branch.
Josh
-martin
ceph -v
ceph version 0.51-265-gc7d11cd
(commit:c7d11cd7b813a47167108c160358f70ec1aab7d6)
rbd create --size 100000 --new-format new
rbd map new
add failed: (2) No such file or directory
rbd create --size 100000 old
rbd map old
rbd showmapped
id pool image snap device
1 rbd old - /dev/rbd1
rbd info new
rbd image 'new':
size 100000 MB in 25000 objects
order 22 (4096 KB objects)
block_name_prefix: rbd_data.101e1a89b511
old format: False
features: layering
rbd info old
rbd image 'old':
size 100000 MB in 25000 objects
order 22 (4096 KB objects)
block_name_prefix: rb.0.1021.23697452
old format: True
features:
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html