On Fri, Mar 11, 2022 at 8:04 AM Kai Stian Olstad <ceph+list@xxxxxxxxxx> wrote: > > Hi > > I'm trying to create namespace in an rbd pool, but get operation not > supported. > This is on a 16.2.6 Cephadm installed on Ubuntu 20.04.3. > > The pool is erasure encoded and the commands I run was the following. > > cephadm shell > > ceph osd pool create rbd 32 32 erasure ec42-jerasure-blaum_roth-hdd > --autoscale-mode=warn > ceph osd pool set rbd allow_ec_overwrites true > rbd pool init --pool rbd > > rbd namespace create --pool rbd --namespace testspace > rbd: failed to created namespace: (95) Operation not supported > 2022-03-11T06:13:30.570+0000 7f4a9426e2c0 -1 librbd::api::Namespace: > create: failed to add namespace: (95) Operation not supported > > > Isn't namespace supported with erasure encoded pools? Hi Kai, RBD images can't be created in EC pools, so attempting to create RBD namespaces there is pointless. The way to store RBD image data in an EC pool is to create an image in a replicated pool (possibly in a custom namespace) and specify --data-pool: $ rbd namespace create --pool rep3 --namespace testspace $ rbd create --size 10G --pool rep3 --namespace testspace --data-pool ec42 --image testimage The image metadata (header object, etc) would be stored in rep3 (replicated pool), while the data objects would go to ec42 (EC pool). Thanks, Ilya _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx