Re: Decreasing pg_num

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

 




On 4/15/19 1:13 PM, Alfredo Daniel Rezinovsky wrote:
> 
> On 15/4/19 06:54, Jasper Spaans wrote:
>> On 14/04/2019 17:05, Alfredo Daniel Rezinovsky wrote:
>>> autoscale-status reports some of my PG_NUMs are way too big
>>>
>>> I have 256 and need 32
>>>
>>> POOL               SIZE  TARGET SIZE  RATE  RAW CAPACITY RATIO  TARGET
>>> RATIO  PG_NUM  NEW PG_NUM  AUTOSCALE
>>> rbd               1214G                3.0 56490G
>>> 0.0645                   256          32  warn
>>>
>>> If I try to decrease the pg_num I get:
>>>
>>> # ceph osd pool set rbd pg_num  32
>>> Error EPERM: nautilus OSDs are required to decrease pg_num
>>>
>>> But all my osds are nautilus
>> This is somewhat hidden in the upgrade docs but I missed it as well the
>> first time - did you run
>>
>> ceph osd require-osd-release nautilus
>>
>> ?
>>
> That was.  It worked. With very few misplaced objects
> 
> Should I also decrease pgp_num ?
> 

Yes, both should be decreased to the same value.

Wido

> _______________________________________________
> 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