Bacula-users

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

2014-07-01 04:48:45
Subject: Re: [Bacula-users] "Block checksum mismatch" on file storage
From: Kern Sibbald <kern AT sibbald DOT com>
To: John Stoffel <john AT stoffel DOT org>
Date: Tue, 01 Jul 2014 10:43:41 +0200
On 06/30/2014 10:35 PM, John Stoffel wrote:
> 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.  
Hmm. I learn something new every day; re-allocation of bad blocks.  That
sounds very interesting.  Thanks for the information, it could be very
useful for situations like this.

Best regards,
Kern

>
> 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

<Prev in Thread] Current Thread [Next in Thread>