Re: How to get current min-compat-client setting

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

 



> Op 16 oktober 2017 om 22:18 schreef Hans van den Bogert <hansbogert@xxxxxxxxx>:
> 
> 
> Thanks, that’s what I was looking for.
> 
> However, should we create the  ` get-require-min-compat-client luminous` option nonetheless? I’m willing to write the patch, unless someone thinks it’s not a good idea.
> 

I think it's a good idea!

This probably needs to go into mon/OSDMonitor.cc

The OSDMap class has a get_min_compat_client() function which you can probably use.

Wido

> Regards
> 
> Hans
> 
> > On Oct 16, 2017, at 12:13 PM, Wido den Hollander <wido@xxxxxxxx> wrote:
> > 
> > 
> >> Op 13 oktober 2017 om 10:22 schreef Hans van den Bogert <hansbogert@xxxxxxxxx>:
> >> 
> >> 
> >> Hi, 
> >> 
> >> I’m in the middle of debugging some incompatibilities with an upgrade of Proxmox which uses Ceph. At this point I’d like to know what my current value is for the min-compat-client setting, which would’ve been set by:
> >> 
> >>    ceph osd set-require-min-compat-client …
> >> 
> >> AFAIK, there is no direct get-* variant of the above command. Does anybody now how I can retrieve the current setting with perhaps lower level commands/tools ?
> >> 
> > 
> > It's in the OSDMap, see these commands:
> > 
> > root@alpha:~# ceph osd set-require-min-compat-client luminous
> > set require_min_compat_client to luminous
> > root@alpha:~# ceph osd dump|grep require_min_compat_client
> > require_min_compat_client luminous
> > root@alpha:~#
> > 
> > 'ceph osd dump' will show it and you can grep for it.
> > 
> > Wido
> > 
> >> Thanks, 
> >> 
> >> Hans
> >> _______________________________________________
> >> 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
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux