crushtool can simulate mappings for you, it's help/man page should explain everything.
Paul -- Paul Emmerich Looking for help with your Ceph cluster? Contact us at https://croit.io croit GmbH Freseniusstr. 31h 81247 München www.croit.io Tel: +49 89 1896585 90 On Mon, Sep 2, 2019 at 7:08 PM Robert LeBlanc <rob...@leblancnet.us> wrote: > > I'd like to test how reweighting an OSD will change how the PGs map in the > cluster. > > I suspect that I'd dump the CRUSH map and PGs in the cluster that I'm > interested in then use osdmaptool. I'm not understanding how to use > osdmaptool to set the reweight, then query a PG or the entire set of PGs that > I'm interested in. I then suspect that if I'm okay with the new map that I > could inject it into the cluster instead of having to run reweight on the > OSD(s). > > This is a Jewel cluster and I'm trying to calculate OSD usage offline, then > inject a map that is more distributed instead of doing a reweight, move the > PGs which take a long time to just rinse and repeat over and over again. > > Thanks, > Robert LeBlanc > ---------------- > Robert LeBlanc > PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 > _______________________________________________ > ceph-users mailing list -- ceph-users@ceph.io > To unsubscribe send an email to ceph-users-le...@ceph.io _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io