FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-09-2010, 04:44 PM
Vadkan Jozsef
 
Default how to find bad blocks

Besides the badblocks app?

We have a samsung hdd, that keeps falling out of raid, but there are no
bad blocks on it, according to "badblocks" prog.

we would like to return it [warranty], but it would be better to find
e.g. bad blocks on it..:

thank you!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-09-2010, 04:58 PM
James Zuelow
 
Default how to find bad blocks

> -----Original Message-----
> From: Vadkan Jozsef [mailto:jozsi.avadkan@gmail.com]
> Sent: Tuesday, 09 February, 2010 08:44
> To: Debian User Mailing list
> Subject: how to find bad blocks
>
> Besides the badblocks app?
>
> We have a samsung hdd, that keeps falling out of raid, but
> there are no
> bad blocks on it, according to "badblocks" prog.
>
> we would like to return it [warranty], but it would be better to find
> e.g. bad blocks on it..:
>
> thank you!
>

Can you get SMART data from it?

I don't think you can list the bad blocks that the drive is re-mapping, but you can certainly get the number of times the drive has had to do that.

The manpage for smartctl describes how to query individual disks behind various RAID controllers.

HTH

James Zuelow
Network Specialist
City and Borough of Juneau MIS (907)586-0236

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-09-2010, 05:57 PM
Tony Nelson
 
Default how to find bad blocks

On 10-02-09 12:44:02, Vadkan Jozsef wrote:
> Besides the badblocks app?
>
> We have a samsung hdd, that keeps falling out of raid, but there are
> no bad blocks on it, according to "badblocks" prog.
>
> we would like to return it [warranty], but it would be better to find
> e.g. bad blocks on it..:
>
> thank you!

This is probably a job for S.M.A.R.T., try `smartctl -a /dev/whatever`
and look at 196 Reallocated_Event_Count, 197 Current_Pending_Sector,
and 198 Offline_Uncorrectable raw values, and any "WHEN_FAILED" or
logged errors. If all is OK, then look to your system logs for I/O
errors.

--
__________________________________________________ __________________
TonyN.:' <mailto:tonynelson@georgeanelson.com>
' <http://www.georgeanelson.com/>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-09-2010, 06:28 PM
Stephan Hachinger
 
Default how to find bad blocks

Hi,

On Tue, 09 Feb 2010 18:44:02 +0100
Vadkan Jozsef <jozsi.avadkan@gmail.com> wrote:

> We have a samsung hdd, that keeps falling out of raid, but there are no
> bad blocks on it, according to "badblocks" prog.

Did you use the write scan? (parameter -w for destructive write, -n for non-destructive write -- both cannot be used on mounted devices).


Cheers

Stephan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-09-2010, 06:38 PM
Eduard Bloch
 
Default how to find bad blocks

#include <hallo.h>
* James Zuelow [Tue, Feb 09 2010, 08:58:15AM]:

> Can you get SMART data from it?
>
> I don't think you can list the bad blocks that the drive is re-mapping, but you can certainly get the number of times the drive has had to do that.
>
> The manpage for smartctl describes how to query individual disks behind various RAID controllers.

And if that doesn't work then you can use dd_rescue to copy the data to
another harddisk and store the list of bad blocks on-the-fly.

If you need to know which files are damaged, in many cases you can later
use that bad block list to retrieve the file list with
debug / administrative tools for particular file system.

Regards,
Eduard.

--
<Joey> Jeder, der mich verwirrt, muss einen oeffentlichen Security-Bug fixen
und einen Absatz fuer's DWN schreiben.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 02:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org