fsck with freebsd-6.1

2006-10-30 Thread John
Hello list

Looking at the man page for fsck, I couldn't find an option to 
tell fsck when it finds an unreadable sector, to mark it as bad so
it doesn't get written to another time. If fsck can't do it, is there a
program in the system or in ports that can?

cheers
-- 
John - [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck with freebsd-6.1

2006-10-30 Thread Jerry McAllister

 Hello list
 
 Looking at the man page for fsck, I couldn't find an option to 
 tell fsck when it finds an unreadable sector, to mark it as bad so
 it doesn't get written to another time. If fsck can't do it, is there a
 program in the system or in ports that can?

That generally gets handled nowdays by the disk controller.
It remaps blocks to reserved spare blocks.   When you begin to
see bad blocks mentioned by the OS, it generally means that the
disk has run out of its spare blocks and is beginning to die and 
it is time to replace it - not just mark a block as bad.

I don't think fsck deals with things at that level.  It is more
interested in making sure the structure of the file system is
intact and that is a higher level than bad blocks.   So, I could
be wrong on that part, but I don't think fsck has a option for
marking bad blocks.   

I don't know about a utililty to do it.

jerry

 
 cheers
 -- 
 John - [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck with freebsd-6.1

2006-10-30 Thread Lowell Gilbert
John [EMAIL PROTECTED] writes:

 Looking at the man page for fsck, I couldn't find an option to 
 tell fsck when it finds an unreadable sector, to mark it as bad so
 it doesn't get written to another time. If fsck can't do it, is there a
 program in the system or in ports that can?

There are still some utilities in the system for that sort of thing,
but they are pretty much historical oddities for most people; modern
drives do remapping automatically, (generally) invisible to the user.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]