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 > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 03-01-2012, 08:34 AM
Alan Cox
 
Default Badblocks on the hd.

On Thu, 01 Mar 2012 09:13:20 +0000
Frank Murphy <frankly3d@gmail.com> wrote:

> /sbin/badblocks
>
> has informed that there are 5 bad blocks on a hd.
> Not in a position to replace at the moment,
> Only dust in the wallet.
>
> Had a look at e2fsck
> man e2fsck
>
> -l filename
> -L filename
>
> Is the "filename" automatically created.
> or something I need do.
> The fs is ext4.
>
> To my mad eyes it looks like:
> e2fsck -ccvp (as single user?)


Yes -ckvp should do what you want - but

1. modern drives do block recovery and sparing themselves so when a bad
block is written it should go away again
2. if they can't it can indicate imminent total failure

So I would do the fsck to clean up any files containing the bad blocks,
then do a verify on the drive (probably easiest from the BIOS if it has
the option) and/or runm a smart test on it (see smartctl

If you want to try and fix them you may find

http://www2.uic.edu/~aciani1/sector_blues.html

useful.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 01:27 AM.

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