Change PG number on the fly
krasnyy
2 Posts
March 18, 2019, 7:19 pmQuote from krasnyy on March 18, 2019, 7:19 pmGood day friends !
Please adwise me, how to change PG number on the fly ?
Many thanks !
Good day friends !
Please adwise me, how to change PG number on the fly ?
Many thanks !
Last edited on March 18, 2019, 7:19 pm by krasnyy · #1
admin
2,930 Posts
March 18, 2019, 7:58 pmQuote from admin on March 18, 2019, 7:58 pmWe do not support doing this via the ui. Note this number affects how your data is hashed/sharded to disks, a change is likely to cause a massive data re-balance, this could put a lot of stress on your cluster if your hardware is not fast enough.
So if you really need to, you need to use the Ceph cli directly. Look up help in the Ceph docs on the following:
ceph osd pool set {pool_name} pg_num {value}
ceph osd pool set {pool_name} pgp_num {value}
Also due to the impact described above, the commands will let you do small increments at a time. again be sure you know what you are doing.
We do not support doing this via the ui. Note this number affects how your data is hashed/sharded to disks, a change is likely to cause a massive data re-balance, this could put a lot of stress on your cluster if your hardware is not fast enough.
So if you really need to, you need to use the Ceph cli directly. Look up help in the Ceph docs on the following:
ceph osd pool set {pool_name} pg_num {value}
ceph osd pool set {pool_name} pgp_num {value}
Also due to the impact described above, the commands will let you do small increments at a time. again be sure you know what you are doing.
Last edited on March 18, 2019, 8:00 pm by admin · #2
krasnyy
2 Posts
March 18, 2019, 8:29 pmQuote from krasnyy on March 18, 2019, 8:29 pmAdmin, many thanks !
Cheers , Alex 🙂
Admin, many thanks !
Cheers , Alex 🙂
Change PG number on the fly
krasnyy
2 Posts
Quote from krasnyy on March 18, 2019, 7:19 pmGood day friends !
Please adwise me, how to change PG number on the fly ?
Many thanks !
Good day friends !
Please adwise me, how to change PG number on the fly ?
Many thanks !
admin
2,930 Posts
Quote from admin on March 18, 2019, 7:58 pmWe do not support doing this via the ui. Note this number affects how your data is hashed/sharded to disks, a change is likely to cause a massive data re-balance, this could put a lot of stress on your cluster if your hardware is not fast enough.
So if you really need to, you need to use the Ceph cli directly. Look up help in the Ceph docs on the following:
ceph osd pool set {pool_name} pg_num {value}
ceph osd pool set {pool_name} pgp_num {value}Also due to the impact described above, the commands will let you do small increments at a time. again be sure you know what you are doing.
We do not support doing this via the ui. Note this number affects how your data is hashed/sharded to disks, a change is likely to cause a massive data re-balance, this could put a lot of stress on your cluster if your hardware is not fast enough.
So if you really need to, you need to use the Ceph cli directly. Look up help in the Ceph docs on the following:
ceph osd pool set {pool_name} pg_num {value}
ceph osd pool set {pool_name} pgp_num {value}
Also due to the impact described above, the commands will let you do small increments at a time. again be sure you know what you are doing.
krasnyy
2 Posts
Quote from krasnyy on March 18, 2019, 8:29 pmAdmin, many thanks !
Cheers , Alex 🙂
Admin, many thanks !
Cheers , Alex 🙂