[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smartmontools-support
Subject:    Re: [smartmontools-support] Can't fix/remap bad sector?
From:       David Greaves <david () dgreaves ! com>
Date:       2009-08-20 8:26:27
Message-ID: 4A8D08B3.8070108 () dgreaves ! com
[Download RAW message or body]

Tom Metro wrote:
> (I also notice that even after the first bunch of bad sectors were 
> successfully corrected, "5 Reallocated_Sector_Ct" SMART attribute still 
> shows 0, while "196 Reallocated_Event_Count" shows 11. Perhaps the media 
> was OK at the first bad spot, so the writes succeeded?)
> 
> The obvious answer here is to RMA the drive, but it is in a remote 
> location that I won't be able to get to for another week or so, so I was 
> hoping to patch together a software solution that would get me a mostly 
> working RAID1 mirror until then.
> 
> And given this is part of a RAID mirror, I'm not sure what, if any file 
> system layer options I have for marking the problematic sectors as bad. 
> (I don't recall mdadm having any functionality like that. I suppose fsck 
> on the file system on top of the RAID device could do it, but you'd 
> block out those sectors on both drives, and the good drive would likely 
> have to be removed from the array during the fsck run, which then would 
> require more steps to avoid data loss from those bad sectors. Plus mdadm 
> won't resync the drive with bad sectors. Once encountered they abort the 
> resync.)
> 
>   -Tom

FYI Tom
I've had a *lot* of these drives go bad.

Quite often (but not always) the bad blocks are at the very limit of the drive
and actually lie outside the partitioned area.

You may want to get the partition table and calculator out and check that.

David


-- 
"Don't worry, you'll be fine; I saw it work in a cartoon once..."

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic