Basically it's a good idea to backup your /etc/ceph/ folder to reinstall the node. Most everything you need will be in there for your osds.
On Tue, Oct 30, 2018, 6:01 AM Luiz Gustavo Tonello < gustavo.tone...@gmail.com> wrote: > Thank you guys, > > It'll save me a bunch of time, because the process to reallocate OSD files > is not so fast. :-) > > > > On Tue, Oct 30, 2018 at 6:15 AM Alexandru Cucu <m...@alexcucu.ro> wrote: > >> Don't forget about the cephx keyring if you are using cephx ;) >> >> Usually sits in: >> /var/lib/ceph/bootstrap-osd/ceph.keyring >> >> --- >> Alex >> >> On Tue, Oct 30, 2018 at 4:48 AM David Turner <drakonst...@gmail.com> >> wrote: >> > >> > Set noout, reinstall the OS without going the OSDs (including any >> journal partitions and maintaining any dmcrypt keys if you have >> encryption), install ceph, make sure the ceph.conf file is correct,zip >> start OSDs, unset noout once they're back up and in. All of the data the >> OSD needs to start is on the OSD itself. >> > >> > On Mon, Oct 29, 2018, 6:52 PM Luiz Gustavo Tonello < >> gustavo.tone...@gmail.com> wrote: >> >> >> >> Hi list, >> >> >> >> I have a situation that I need to reinstall the O.S. of a single node >> in my OSD cluster. >> >> This node has 4 OSDs configured, each one has ~4 TB used. >> >> >> >> The way that I'm thinking to proceed is to put OSD down (one each >> time), stop the OSD, reinstall the O.S., and finally add the OSDs again. >> >> >> >> But I want to know if there's a way to do this in a more simple >> process, maybe put OSD in maintenance (noout), reinstall the O.S. without >> formatting my Storage volumes, install CEPH again and enable OSDs again. >> >> >> >> There's a way like these? >> >> >> >> I'm running CEPH Jewel. >> >> >> >> Best, >> >> -- >> >> Luiz Gustavo P Tonello. >> >> _______________________________________________ >> >> ceph-users mailing list >> >> ceph-users@lists.ceph.com >> >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> > >> > _______________________________________________ >> > ceph-users mailing list >> > ceph-users@lists.ceph.com >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> > > > -- > Luiz Gustavo P Tonello. >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com