Re: [ceph-users] can osd start up if journal is lost and it has not been replayed?

2014-08-15 Thread Craig Lewis
It just hasn't been implemented yet. The developers are mostly working on big features, and waiting to do these small optimizations later. I'm sure there are plans to address this, but I doubt it will be soon. If you're interested, you're welcome to contribute:

Re: [ceph-users] can osd start up if journal is lost and it has not been replayed?

2014-08-14 Thread yuelongguang
hi could you tell the reason, why 'the journal is lost, the OSD is lost'? if journal is lost, actually it only lost part which ware not replayed. let take a similar case as example, a osd is down for some time , its journal is out of date(lose part of journal), but it can catch up with other

Re: [ceph-users] can osd start up if journal is lost and it has not been replayed?

2014-08-13 Thread Craig Lewis
If the journal is lost, the OSD is lost. This can be a problem if you use 1 SSD for journals for many OSDs. There has been some discussion about making the OSDs able to recover from a lost journal, but I haven't heard anything else about it. I haven't been paying much attention to the developer

[ceph-users] can osd start up if journal is lost and it has not been replayed?

2014-08-12 Thread yuelongguang
hi,all 1. can osd start up if journal is lost and it has not been replayed? 2. how it catchs up latest epoch? take osd as example, where is the code? it better you consider journal is lost or not. in my mind journal only includes meta/R/W operations, does not include data(file data).