Documentation ¶
Overview ¶
Package erase handles data erase of data on units, for use when a customer's data is sufficiently sensitive and they need to ship a unit without data. It uses the drive's ATA SECURE ERASE command when available, falling back to writing pattterns if that command cannot be used.
Before erase, canary values are written at predetermined points on disk. After erase, it reads the locations those values were written, verifying they no longer exist. In the unlikely event that the canary values still exist, this indicates that at least some disk areas were not successfully erased. In this case, the boot menu file is modified to cause the unit to only display a warning message when it boots. The warning message explains that data erase failed, sensitive data may remain, and that they must contact support. The unit will not do anything more than display this message until it has been RMA'd, QA'd, and re-imaged. This is by design, to ensure the problem is resolved; after all, the customer's data was sensitive enough to warrant a multi-hour erase process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Platform *appliance.Variant
Functions ¶
Types ¶
This section is empty.