Bad sectors on harddisk (question)

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Thu Oct 16 22:59:27 UTC 2003


What is conventional wisdom when you encounter bad sectors on harddisk?

I am only aware of 
    umount /dev/hdb1
    e2fsck -c /dev/hdb1		(read-only check)
or
    umount /dev/hdb1
    badblocks -n -b 4096 -o xxx /dev/hdb1	(non-destructive read-write)
    e2fsck -c -l xxx /dev/hdb1

Is there better way of 
    - identifying bad sectors (/var/log/syslog says so).
    - then mapping them out, so that filesystem does not use them.
?

-- 
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
Linux solution for data management and processing. 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list