Purging unreachable files

Brandon Ooi brandon at hotornot.com
Tue Nov 8 22:51:11 PST 2005


We got this in our disk crash. Seems like one of our storage nodes 
stopped responding which hung the mogilefsd processes on both of our 
tracking machines.

The aftermath was a number of files in the unreachable_fids table which 
seem to be missing forever. I'd like to restore some of these from 
backup and I want to purge them first.

Can i just remove them from the 'file' and 'file_on' table?

Brandon

Brad Fitzpatrick wrote:

>get these or "got" these?
>
>Does your replication really lag that much?
>
>There's no automatic mechanism to purge "unreachable" files, since it's
>not known whether they're unreachable just temporarily or forever.
>
>You could build it into your app if you want.  Or your MogileFS wrapper.
>
>
>
>On Tue, 8 Nov 2005, Brandon Ooi wrote:
>
>  
>
>>Hi,
>>
>>Another question. What's the correct procedure to purge unreachable
>>files? We get these from a drive failing before it can be replicated.
>>
>>Brandon
>>
>>
>>    
>>



More information about the mogilefs mailing list