Re: How to update osd pool default size at runtime?

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

 



Hello Stephane, 

Try this .

$ceph osd pool get <pool-name> size   -->> it will prompt the "  osd_pool_default_size "
$ceph osd pool get <pool-name> min_size    -->> it will prompt the "  osd_pool_default_min_size "

if you want to change in runtime, trigger below command

$ceph osd pool set <pool-name> size <value>
$ceph osd pool set <pool-name> min_size <value>

Cheers
Jay

On Mon, Jan 16, 2017 at 4:39 PM, Stéphane Klein <contact@xxxxxxxxxxxxxxxxxxx> wrote:
In documentation I read here: http://docs.ceph.com/docs/master/rados/troubleshooting/troubleshooting-pg/?highlight=stuck%20inactive#fewer-osds-than-replicas

« You can make the changes at runtime. If you make the changes in your Ceph configuration file, you may need to restart your cluster. »

but documentation don't explain how to make the changes at runtime.

Best regards,
Stéphane

_______________________________________________
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