erase

package
v0.0.0-...-b79a0d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 24 Imported by: 0

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

View Source
var Platform *appliance.Variant

Functions

func Erase

func Erase(recov common.FS)

func Main

func Main()

Types

This section is empty.

Directories

Path Synopsis
Package raid handles reading, storing, and re-writing raid metadata as necessary during the erase process.
Package raid handles reading, storing, and re-writing raid metadata as necessary during the erase process.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL