DragonFly BSD
DragonFly users List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: HAMMER and bad disk sectors


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jan 2011 20:29:11 -0800 (PST)

:What does HAMMER do about bad sectors? Does it mark them as corrupt, and
:allow system to function normally?
:
:Petr

    You will get read errors.  EIO for any related files/directories.
    It may or may not be able to reallocate them but HAMMER does not keep
    a bad-block table.  media errors generally mean the media must be
    replaced.  If the media error occurs in a bad place, like a bitmap or
    undo record, the filesystem will be knocked down to read-only mode.

    If the media errors prevent you from being able to backup the filesystem
    you can use the hammer recover directive to exhaustively locate and copy
    the directory tree to another hammer filesystem on different media.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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