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

Re: 'e2fsck -c' vs scandisk



From: Andrea Arcangeli <arcangeli@mbox.queen.it>
> If I found a defective sectors on my /dev/hda2 using "e2fsck -c" and I try
> to fix the problem, how can I know the names of the damaged fixed files
> as I can do using dos scandisk?

The debugfs program would tell you this. However, e2fsck does not scan
your disk for unreadable physical disk blocks, only for errors in the
filesystem's book-keeping of what blocks belong to what files, etc.
The "badblocks" program does that scan. If you have an IDE or SCSI disk
of recent vintage, don't bother looking for unreadable disk blocks - modern
drives implement bad-sector-forwarding, and "repair" bad blocks on their own.

Unless something is seriously wrong with your hardware, your Debian
system will take care of its disks without your intervention. It knows
to check its filesystems after a crash and does it automaticaly.

	Bruce
-- 
Bruce Perens K6BP   Bruce@Debian.novare.net   510-215-3502
Finger bruce@master.Debian.org for PGP public key.
PGP fingerprint = 88 6A 15 D0 65 D4 A3 A6  1F 89 6A 76 95 24 87 B3 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: