Hi, We use this on our side: $ rbd create rbd-image --size 1048576 --pool rbd --image-feature
layering rbd image 'rbd-image': size 1024 GB in 262144 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.2b36cf238e1f29 format: 2 features: layering flags: $ ceph auth get-or-create client.rbd.image mon 'allow r' osd 'allow rwx pool rbd object_prefix rbd_data.2b36cf238e1f29; allow rwx pool rbd object_prefix rbd_header.2b36cf238e1f29; allow rx pool rbd object_prefix rbd_id.rbd-image' -o /etc/ceph/ceph.client.rbd.image.keyring $ rbd -p rbd --keyring=/etc/ceph/ceph.client.rbd.image.keyring --id=rbd.image info rbd-image rbd image 'rbd-image': size 1024 GB in 262144 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.2b36cf238e1f29 format: 2 features: layering flags: $ rbd -p rbd --keyring=/etc/ceph/ceph.client.rbd.image.keyring --id=rbd.image info rbd-other-image rbd: error opening image rbd-other-image: (1) Operation not permitted 2018-02-02 17:19:13.758624 7f38d76fd700 -1 librbd::image::OpenRequest: failed to stat v2 image header: (1) Operation not permitted 2018-02-02 17:19:13.758724 7f38d6efc700 -1 librbd::ImageState: 0x55ac0ea6b7f0 failed to open image: (1) Operation not permitted $ rbd --keyring=/etc/ceph/ceph.client.rbd.image.keyring --id=rbd.image -p rbd ls rbd: list: (1) Operation not permitted Regards, Frédéric. Le 02/02/2018 à 17:05, Gregory Farnum a
écrit :
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com