Re: How to change setting for tunables "require_feature_tunables5"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 12, 2016 at 4:37 PM, Andrey Shevel <shevel.andrey@xxxxxxxxx> wrote:
> Thanks a lot.
>
> I tried
>
> [ceph@ceph-client ~]$ ceph osd crush tunables hammer.
>
> Now I have
>
>
> [ceph@ceph-client ~]$ ceph osd crush show-tunables
> {
>     "choose_local_tries": 0,
>     "choose_local_fallback_tries": 0,
>     "choose_total_tries": 50,
>     "chooseleaf_descend_once": 1,
>     "chooseleaf_vary_r": 1,
>     "chooseleaf_stable": 0,
>     "straw_calc_version": 1,
>     "allowed_bucket_algs": 54,
>     "profile": "hammer",
>     "optimal_tunables": 0,
>     "legacy_tunables": 0,
>     "minimum_required_version": "firefly",
>     "require_feature_tunables": 1,
>     "require_feature_tunables2": 1,
>     "has_v2_rules": 0,
>     "require_feature_tunables3": 1,
>     "has_v3_rules": 0,
>     "has_v4_buckets": 0,
>     "require_feature_tunables5": 0,
>     "has_v5_rules": 0
> }
>
>
>
> and the mount command for cephfs does work now fine
>
> sudo mount -t ceph 10.10.1.11:6789:/ /mnt/mycephfs -o
> name=admin,secretfile=/etc/ceph/admin.key
>
> [ceph@ceph-client ~]$ mount | grep ceph
> 10.10.1.11:6789:/ on /mnt/mycephfs type ceph
> (rw,relatime,name=admin,secret=<hidden>)
>
> It was NOT working before!
>
>
> However,  still     :-(
>
> [ceph@ceph-client ~]$ sudo rbd map rbd/mycephrbd --id admin --keyfile
> /etc/ceph/admin.key
> rbd: sysfs write failed
> rbd: map failed: (6) No such device or address

Do

    $ rbd feature disable mycephrbd
deep-flatten,fast-diff,object-map,exclusive-lock

to disable features unsupported by the kernel client.  If you are using the
kernel client, you should create your images with

    $ rbd create --size <size> --image-feature layering <image-name>

or add

    rbd default features = 3

to ceph.conf on the client side.  (Setting rbd default features on the
OSDs will have no effect.)

Thanks,

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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux