Re: ceph-mgr not able to modify max_misplaced in 12.2.4

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

 



On Fri, Apr 27, 2018 at 7:03 AM, nokia ceph <nokiacephusers@xxxxxxxxx> wrote:
> Hi Team,
>
> I was trying to modify the max_misplaced parameter in 12.2.4 as per
> documentation , however not able to modify it with following error,
>
> #ceph config set mgr mgr/balancer/max_misplaced .06
> Invalid command:  unused arguments: [u'.06']
> config set <key> <value> :  Set a configuration option at runtime (not
> persistent)
> Error EINVAL: invalid command

Oops - the docs were added recently for the master branch, and there
isn't a luminous version online.  I suspect you won't be the last
person to be caught out by this, so I've created a backport of the
luminous-era commands here that will pop up on
docs.ceph.com/docs/luminous when it's merged --
https://github.com/ceph/ceph/pull/21699/files

Anyway: the command in 12.x is "ceph config-key set
mgr/balancer/max_misplaced ..."

> Also, where I can find the balancer module configuration file , not
> available in /var/lib/ceph/mgr

ceph-mgr module config is not stored in local files -- their
configuration is stored inside the monitors + accessed with commands.

The module config in mimic is mostly unified with the main ceph store
of configuration, so setting module config via ceph.conf may become
possible soon, but commands are always preferable because they give us
a chance to validate the values on the way in and give feedback.

John

>
> cn6.chn6m1c1ru1c1.cdn ~# cd /var/lib/ceph/mgr/
> cn6.chn6m1c1ru1c1.cdn /var/lib/ceph/mgr# ls
> cn6.chn6m1c1ru1c1.cdn /var/lib/ceph/mgr#
>
> Thanks,
> Muthu
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
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