7-STABLE, gjournal and fsck.

Jeremy Chadwick koitsu at FreeBSD.org
Sun Aug 3 13:18:09 UTC 2008


On Sun, Aug 03, 2008 at 12:36:33PM +0200, Eugene Butusov wrote:
> Jeremy Chadwick wrote:
>> On Sun, Aug 03, 2008 at 12:14:36AM +0200, Eugene Butusov wrote:
>>> 2) smartctl -a /dev/ad4
>>> ...
>>> 198 Offline_Uncorrectable   0x0030   100   253   000    Old_age Offline       -       0
>>> 200 Multi_Zone_Error_Rate   0x0008   100   253   051    Old_age Offline       -       0
>>> ...
>>
>> The other SMART stats look okay, but can you run an offline test which
>> should update counters 198 and 200?  smartctl -t offline /dev/ad4 should
>> do the trick.  It may take some time, especially if the disk is being
>> used.
>>
>> And for clarification: just because the test is called "offline" does
>> not mean it brings the disk offline (it doesn't).  :-)
>
> I did smartctl -t offline /dev/ad4, here is the results:
>
> 197 Current_Pending_Sector  0x0032   200   200   000    Old_age Always    
>    -       0
> 198 Offline_Uncorrectable   0x0030   200   200   000    Old_age Offline   
>    -       0
> 199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age Always    
>    -       0
> 200 Multi_Zone_Error_Rate   0x0008   200   200   051    Old_age Offline   
>    -       0
>
> I think the problem lies in fsck itself. Somehow it is was unable to  
> deal with journaled filesystems It has failed to read them and mark them 
> as clean.

Yep, I agree, SMART-wise your disk looks fine.

It's worth noting that there's been reports of the ATA subsystem
reporting I/O errors on LBAs which don't even appear to be valid.  I'm
left wondering if somehow that's what's happening here.  I'm not sure
why fsck would handle most of the gjournal'd blocks but not others.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list