On Sun, 13 Feb 2011, Daniel Friesen wrote: > I read through most of the documentation on the wiki, though there is one > thing I couldn't find. > The OSD cluster expansion/contraction page lists information on adding a node, > but nothing about removing one. > In particular there are two things I'm curious about. > > Firstly, when you want to remove a node (decommissioning the hardware, etc...) > how do you mark it so that ceph will start migrating data away from it onto > other OSDs? $ ceph osd out <osd number> Once it's empty, you can safely shut it off. > Secondly, how does removing an osd interact with the sequential ids of OSDs? > The importance of that, including not skipping numbers was underlined strongly > on another page. OSD information is assumed to be relatively sequential by the code (there are some arrays), so you should avoid doing something like osd1, osd2, and osd200. Other than that it doesn't really matter. An ID can also be reused later if old hardware is phased out and new hardware is added. sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html