Bacula-users

Re: [Bacula-users] "Block checksum mismatch" on file storage

2014-06-30 16:40:59
Subject: Re: [Bacula-users] "Block checksum mismatch" on file storage
From: "John Stoffel" <john AT stoffel DOT org>
To: Kern Sibbald <kern AT sibbald DOT com>
Date: Mon, 30 Jun 2014 16:35:31 -0400
Kern> Yes, it is clear that one can do read-only tests that do not destroy
Kern> data.  However, in this case, it seems to me more useful to do
Kern> read/write (it is actually write/read) tests as it appears that the
Kern> problem is more likely in the write ... 

Absolutely.  And hopefully, this way you don't corrupt the existing
data on the disk, but you do force the disk to do a low level
re-allocation of bad blocks and sectors.  But if you are seeing bad
blocks on the disk, then it's time to start thinking about retiring
it.  

Kern> I have never heard of a non-destructive read/write test, which I assume
Kern> reads then rewrites the disk.  Although that is clever and could be
Kern> useful, in this case it sounds to me risky on a disk that seems to be
Kern> failing.

Kern> Best regards,
Kern> Kern

Kern> On 06/29/2014 09:04 PM, John Stoffel wrote:
Kern> 3. Run read/write disk tests on your USB disk (note: this will
Kern> destroy any existing data). 
>> 
>> This isn't quite right.  You can run read-write tests on a quiescent
>> filesystem (ie unmounted) without problems:
>> 
>> badblocks -svn /dev/sd?
>> 
>> will scan the entire disk using non-destructive read-write mode.  But
>> as Kern said, check your logs as well.
>> 
>> John
>> 

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users