Hi Wido, On Wed, Jan 10, 2018 at 11:09 AM, Wido den Hollander <wido@xxxxxxxx> wrote: > Hi, > > Is there a way to easily modify the device-class of devices on a offline > CRUSHMap? > > I know I can decompile the CRUSHMap and do it, but that's a lot of work in a > large environment. > > In larger environments I'm a fan of downloading the CRUSHMap, modifying it > to my needs, testing it and injecting it at once into the cluster. > > crushtool can do a lot, you can also run tests using device classes, but > there doesn't seem to be a way to modify the device-class using crushtool, > is that correct? This is how we do it in Storcium based on http://docs.ceph.com/docs/master/rados/operations/crush-map/ ceph osd crush rm-device-class <OSD ID> ceph osd crush set-device-class <class> <OSD ID> -- Best regards, Alex Gorbachev Storcium > > Wido > _______________________________________________ > 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