Hi all, I’m using python scripts to create rbd images like described here http://docs.ceph.com/docs/giant/rbd/librbdpy/ rbd_inst.create(ioctx, 'myimage', size, old_format=False, features=1) seems to create a layering image rbd_inst.create(ioctx, 'myimage', size, old_format=False, features=2) seems to create a stripped image Setting up “rbd default format =2” in ceph.conf and just using the following (without feature=x) rbd_inst.create(ioctx, 'myimage', size) seems to create a layered + stripped image If someone could point me to the documentation about those bitmasks (features), that would be great J I cannot find it. Moreover, when my images are created this way (using rbd_inst.create with python), no way to snapshot an image ! #rbd snap create rbd/myimage@snap1 …. -1 librbd: failed to create snap id: (22) Invalid argument Same thing with img.create_snap(snap) in python, snapshots are not created. [@@ THALES GROUP INTERNAL @@] |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com