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

Re: e2fsck, smartmontools



On Thu, Sep 02, 2004 at 09:57:20AM -0700, Richard Weil wrote:
> Can e2fsck repair/cope with physical problems with a disk?
> 
> smartmontools found a number of bad blocks on my hard drive. I don't
> remember the exact wording. Other disk parameters seemed fine, i.e.,
> the disk as a whole was not in imminent danger of failure.
> 
> Can e2fsck, or some other program, permanently cordon-off these bad
> blocks so that I can continue to use (the rest) of the drive? I would
> rather lose parts of the current drive than have to get a new one.

You can get mke2fs to run badblocks and "lock out" the bad ones, or
you can feed it a text file in the appropriate format (ie. what
badblocks would spit out). Don't know if e2fsck can do a similar
trick, but it'll be in the man pages.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: signature.asc
Description: Digital signature


Reply to: