Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] unreadable sector



On 10/12/2013 8:06 AM, Jerry Feldman wrote:
> I've brought this up before. One of the drives in my RAID reports an
> unreadable sector. I'm not worried about thisas this otherwise seems to
> be a serviceable driveand I take frequent backups. One question I might
> have is would I be better served by removing this from the RAID pair,
> and run a full destructive bad block scan 'badblocks -wsv /dev/sda | tee
> <some log file>'
> The bad blocks scan should (1) reallocate the bad blocks and also give
> me more detailed information on whether to replace the drive or not.

Might be quicker to take the drive out of your RAID, attempt to write
just to that block that you know is bad (with 'dd if=/dev/zero ...'),
and then put the drive back into the RAID.  This should help you figure
out how to write to the correct place:
 http://smartmontools.sourceforge.net/badblockhowto.html

HTH,
Matt



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org