Check creating

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

 



Is there any command (in shell or python API), that can tell me if
ceph is still creating pgs other than actually attempting a
modification of the pg_num or pgp_num of a pool?  I would like to
minimize the number of errors I get and not keep trying the commands
until success, if possible.

Right now, I run the command "ceph osd pool set <pool> pg_num <val>"
and immediately attempt he "ceph osd pool set <pool> pgp_num <val>"
command, repeating the latter until success happens or I get an error
other than "still creating pgs"

It would be nice to run the first command, wait for the cluster to be
ready again, then run the second.

As a bonus, if there is a reasonable way to do this (expand pgs)
entirely in python without running any shell commands, that would be
awesome.

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