Re: DB information does not match filesystem
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*: [EMAIL PROTECTED] *tel.* +351 222 012 393
Re: DB information does not match filesystem
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*: [EMAIL PROTECTED] *tel.* +351 222 012 393
Re: DB information does not match filesystem
Hi again, Does anyone have an hint on this subject? dev7 was added after dev6 to the same storage node while the platform was already being used. The database indicates that we have 7862 files on dev7 but there are in fact more than 50.000 files under /var/mogdata/dev7 Actual data for these two devices goes here: Statistics for devices... device hostfiles status -- --- -- -- dev6 mogilestorage2 46267 alive dev7 mogilestorage2 7862 alive ls dev6 -R -lha | grep fid | wc 2582 23238 147174 ls dev7 -R -lha | grep fid | wc 51576 464184 2939832 Thanks, Sergio Bessa Sergio Bessa wrote: Hi, I seem to have a strange problem with one of my storage nodes. It is storing the files on one of the devices but registering the information on the DB for another device. The information I could retrieve goes below. mogadm --lib=/usr/local/share/perl/5.8.4 --trackers=192.168.0.123:6001 stats Fetching statistics... Statistics for devices... device hostfiles status -- --- -- -- dev3 mogilestorage1 23894 alive dev4 mogilestorage2 24464 alive dev5 mogilestorage1 53882 alive dev6 mogilestorage2 46132 alive dev7 mogilestorage2 6995 alive -- --- -- -- Statistics for file ids... Max file id: 98320 Statistics for files... domain class files --- -- mingle photos 77569 --- -- Statistics for replication... domain classdevcount files --- -- -- mingle photos 1 1 mingle photos 2 77386 mingle photos 3182 --- -- -- Files in DEV3 ls dev3 -R -lha | grep fid | wc 23897 215073 1386026 Files in DEV4 ls dev4 -R -lha | grep fid | wc 24464 220176 1419212 Files in DEV5 ls dev5 -R -lha | grep fid | wc 53694 483246 3061239 Files in DEV6 ls dev6 -R -lha | grep fid | wc 2443 21987 139251 Files in DEV7 ls dev7 -R -lha | grep fid | wc 50700 456300 2889900 Thanks for any advice. Regards, Sergio Bessa -- Sérgio Bessa *Ideavity, Lda.* *www*: http://www.ideavity.com *email*: [EMAIL PROTECTED] *tel.* +351 222 012 393