Re: how to re-add a deleted osd device as a osd with data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Sun, 27 Mar 2016 13:41:57 +0800 lin zhou wrote:

> Hi,guys.
> some days ago,one osd have a large latency seeing in ceph osd perf.and
> this device make this node a high cpu await.
The thing to do at that point would have been look at things with atop or
iostat to verify that it was the device itself that was slow and not
because it was genuinely busy due to uneven activity maybe.
As well as a quick glance at SMART of course.

> So,I delete this osd ad then check this device.
If that device (HDD, SSD, which model?) slowed down your cluster, you
should not have deleted it.
The best method would have been to set your cluster to noout and stop that
specific OSD. 

When you say "delete", what exact steps did you take? 
Did this include removing it from the crush map?

> But nothing error found.
> 
> And now I want to re-add this device into cluster with it's data.
> 
All the data was already replicated elsewhere if you deleted/removed the
OSD, you're likely not going to save much if any data movement by re-adding
it.

> 
> I try to using ceph-osd to add it,but it can not start.log are paste in :
> https://gist.github.com/hnuzhoulin/836f9e633b90041e89ad
> 
> so what's the recommend steps.
That depends on how you deleted it, but at this point your data is likely
to be mostly stale anyway, so I'd start from scratch.

Christian
-- 
Christian Balzer        Network/Systems Engineer                
chibi@xxxxxxx   	Global OnLine Japan/Rakuten Communications
http://www.gol.com/
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux