Unable to increase pool pg_num
Hi all, I am using ceph 14.2.1 (Nautilus) I am unable to increase the pg_num of a pool. I have a pool named Backup, the current pg_num is 64 : ceph osd pool get Backup pg_num => result pg_num: 64 And when I try to increase it using the command ceph osd pool set Backup pg_num 512 => result "set pool 6 pg_num to 512" And then I check with the command : ceph osd pool get Backup pg_num => result pg_num: 64 I don't how to increase the pg_num of a pool, I also tried the autoscale module, but it doesn't work (unable to activate the autoscale, always warn mode). Thank you for your help, Cabeur. --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus
HI, Always increase the *pg_num *and *pgp_num *... Ex: $ ceph osd pool set rbd pg_num 512 $ ceph osd pool set rbd pgp_num 512 Usually from what I know you can ONLY increase the pg and pgp number... What error do you get ? Thank you, Bogdan On Mon, Jul 1, 2019 at 12:40 PM Sylvain PORTIER <cabeur@free.fr> wrote:
Hi all,
I am using ceph 14.2.1 (Nautilus)
I am unable to increase the pg_num of a pool.
I have a pool named Backup, the current pg_num is 64 : ceph osd pool get Backup pg_num => result pg_num: 64
And when I try to increase it using the command
ceph osd pool set Backup pg_num 512 => result "set pool 6 pg_num to 512"
And then I check with the command : ceph osd pool get Backup pg_num => result pg_num: 64
I don't how to increase the pg_num of a pool, I also tried the autoscale module, but it doesn't work (unable to activate the autoscale, always warn mode).
Thank you for your help,
Cabeur.
--- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus _______________________________________________ Ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi, I get an error when I try to increase pgpènum, because the first command doesn't work: #ceph osd pool set Backup pg_num 1024 set pool 6 pg_num to 1024 # ceph osd pool set Backup pgp_num 1024 Error EINVAL: specified pgp_num 1024 > pg_num 64 Than you, Cabeur Le 01/07/2019 à 12:11, Bogdan Adrian Velica a écrit :
HI,
Always increase the *pg_num *and *pgp_num *... Ex: $ ceph osd pool set rbd pg_num 512 $ ceph osd pool set rbd pgp_num 512
Usually from what I know you can ONLY increase the pg and pgp number...
What error do you get ?
Thank you, Bogdan
On Mon, Jul 1, 2019 at 12:40 PM Sylvain PORTIER <cabeur@free.fr <mailto:cabeur@free.fr>> wrote:
Hi all,
I am using ceph 14.2.1 (Nautilus)
I am unable to increase the pg_num of a pool.
I have a pool named Backup, the current pg_num is 64 : ceph osd pool get Backup pg_num => result pg_num: 64
And when I try to increase it using the command
ceph osd pool set Backup pg_num 512 => result "set pool 6 pg_num to 512"
And then I check with the command : ceph osd pool get Backup pg_num => result pg_num: 64
I don't how to increase the pg_num of a pool, I also tried the autoscale module, but it doesn't work (unable to activate the autoscale, always warn mode).
Thank you for your help,
Cabeur.
--- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus _______________________________________________ Ceph-users mailing list -- ceph-users@ceph.io <mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io <mailto:ceph-users-leave@ceph.io>
--- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus
Hello, I am in the same situation. set pg_num command doesn't give an error, but it doesn't actually increase the pg_num. root@mn227:~# ceph osd pool set pool pg_num 16384 set pool 1 pg_num to 16384 root@mn227:~# ceph osd pool set pool pgp_num 16384 Error EINVAL: specified pgp_num 16384 > pg_num 8192 root@mn227:~# ceph osd pool get pool pg_num pg_num: 8192
participants (3)
-
Bogdan Adrian Velica
-
mdunavant@convokesystems.com
-
Sylvain PORTIER