DB information does not match filesystem

dormando dormando at rydia.net
Sat Apr 19 20:58:46 UTC 2008


If you telnet to your tracker and run !jobs - is there a fsck worker?
!want 0 fsck
!want 1 fsck

... should get it going again?

-Dormando

Sergio Bessa wrote:
> Hi,
> 
> I'm trying to run "mogadm fsck" bu it seems to be doing nothing :(
> 
> I did this:
> mogadm --trackers=mogiletracker1:6001,mogiletracker2:6001 fsck reset
> mogadm --trackers=mogiletracker1:6001,mogiletracker2:6001 fsck start
> mogadm --trackers=mogiletracker1:6001,mogiletracker2:6001 fsck status
> 
> The actual result for status is this:
>     Running: Yes (on mogiletracker1)
>      Status: 0 / 101606 (0.00%)
>        Time: 25m (0 fids/s; 0s remain)
>  Check Type: Normal (check policy + files)
> 
> On the other hand log only show the 'header':
> unixtime             event           fid      devid
> 
> 
> Am I missing some step here?
> 
> Regards,
> Sergio
> 
> 
> Ask Bjørn Hansen wrote:
>>
>> On Apr 18, 2008, at 9:35, Sergio Bessa wrote:
>>
>>> The database indicates that we have 7862 files on dev7 but there are
>>> in fact more than 50.000 files under /var/mogdata/dev7
>>
>> Did you run "mogadm fsck" ?   What does the fsck log say?
>>
>>
>>   - ask
>>
> 
> 
> -- 
> Sérgio Bessa
> *Ideavity, Lda.*
> *www*: http://www.ideavity.com
> *email*: sergio.bessa at ideavity.com
> *tel.* +351 222 012 393
> 



More information about the mogilefs mailing list