Hi Wido,

FWIW the last time I had a failed disk I just removed the old OSD and
created a new one with the same ID, and it only rebalanced the "new" OSD.
But I'll admit that I didn't pay much attention to the process.

If you just want to reformat the disk you have to be carefull with the
Journal. As long as you maintain all it's contents, except the "current/"
it should be OK. But as always I would test first in a lab.



On Wed, Dec 31, 2014 at 4:34 PM, Wido den Hollander <w...@42on.com> wrote:

> Hi,
>
> Is there a way to set a OSD to exists,new in the OSDMap? I want to
> re-install a OSD and re-use the ID and it's key.
>
> I know I can remove the OSD and re-add it, but that triggers balancing
> and I want to prevent that by simply marking the OSD a new and booting
> it with a freshly formatted XFS filesystem.
>
> --
> Wido den Hollander
> 42on B.V.
> Ceph trainer and consultant
>
> Phone: +31 (0)20 700 9902
> Skype: contact42on
> _______________________________________________
> 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

Reply via email to