OpenBSD also has a badsect(8) tool, which may be used to reserve known bad sectors which cannot be reallocated by drive electronics, as the tool predates drive electronics that manage spare sectors.
Replacing a failing drive is usually a better option.
|