The present invention provides a method and apparatus for error recovery in a
system. The apparatus comprises a directory cache adapted to store at least one
entry and a control unit. The control unit is adapted to determine if at least
one uncorrectable error exists in the directory cache and to place the directory
cache offline in response to determining that the error is uncorrectable. The method
comprises detecting an error in data stored in a storage device in the system,
and determining if the detected error is correctable. The method further comprises
making at least a portion of the storage device unavailable to one or more resources
in the system in response to determining that the error is uncorrectable.