On Thu, Jul 20, 2017 at 4:26 PM, Roger Brown <rogerpbr...@gmail.com> wrote:
> What's the trick to overcoming unsupported features error when mapping an
> erasure-coded rbd? This is on Ceph Luminous 12.1.1, Ubuntu Xenial, Kernel
> 4.10.0-26-lowlatency.
>
> Steps to replicate:
>
> $ ceph osd pool create rbd_data 32 32 erasure default
> pool 'rbd_data' created
> $ ceph osd pool set rbd_data allow_ec_overwrites true
> set pool 109 allow_ec_overwrites to true
> $ ceph osd pool create rbd 4
> pool 'rbd' created
> $ rbd create --size 4G --data-pool rbd_data rbd/rbdvolume
> $ sudo rbd map rbdvolume --name client.admin
> rbd: sysfs write failed
> RBD image feature set mismatch. Try disabling features unsupported by the
> kernel with "rbd feature disable".
> In some cases useful info is found in syslog - try "dmesg | tail".
> rbd: map failed: (6) No such device or address
> $ dmesg | tail -1
> [37186.297080] rbd: image rbdvolume: image uses unsupported features: 0xb8
> $ rbd info rbd/rbdvolume
> rbd image 'rbdvolume':
> size 4096 MB in 1024 objects
> order 22 (4096 kB objects)
> data_pool: rbd_data
> block_name_prefix: rbd_data.110.16f501643c9869
> format: 2
> features: layering, exclusive-lock, object-map, fast-diff, deep-flatten,
> data-pool
> flags:
> create_timestamp: Thu Jul 20 07:26:04 2017
> $ rbd feature disable rbd/rbdvolume exclusive-lock object-map fast-diff
> deep-flatten
> $ rbd info rbd/rbdvolume
> rbd image 'rbdvolume':
> size 4096 MB in 1024 objects
> order 22 (4096 kB objects)
> data_pool: rbd_data
> block_name_prefix: rbd_data.110.16f501643c9869
> format: 2
> features: layering, data-pool
> flags:
> create_timestamp: Thu Jul 20 07:26:04 2017
> $ sudo rbd map rbdvolume --name client.admin
> rbd: sysfs write failed
> RBD image feature set mismatch. Try disabling features unsupported by the
> kernel with "rbd feature disable".
> In some cases useful info is found in syslog - try "dmesg | tail".
> rbd: map failed: (6) No such device or address
> $ dmesg | tail -1
> [39497.580221] rbd: image rbdvolume: image uses unsupported features: 0x80

That plus a 4.11 or 4.12 kernel.

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to