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

Re: Linux & Bad Blocks



-----BEGIN PGP SIGNED MESSAGE-----

On 2 Mar 1998, Pedro Quaresma de Almeida wrote:

> I have a hard disk that had gained a couple of bad blocks recently.
> 
> Linux (Debian 1.3.1) is having problems dealing with them
> 
> "kernel panic ..."
> 
> what can I do to mark the bad block in Linux?

Try "e2fsck -c" on the root partition, using the rescue disk.
- From the e2fsck man page:

       -c     This option causes e2fsck to run  the  badblocks(8)
              program  to  find  any  blocks which are bad on the
              filesystem, and then marks them as  bad  by  adding
              them to the bad block inode.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAgUBNQAktCqK7IlOjMLFAQF3uQP7BIbc7aDxuvXkmjVfBLInoMY71rOwXKKm
Ox52PpxbkZPB04y7MyQ5pR9Zj2f5YHq1SPdgFKjYX3rMsaS0WyM2AgTzDLXtNkFT
t7YzT46VmOOR90HRASEYv9Tgdpp4O7WBRRgmNaUxKx6AqxhBwTGnE0alYepwMRc8
KpIMgpPGGyQ=
=3zoZ
-----END PGP SIGNATURE-----


--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .


Reply to: