Sanitizing a disk
Disk sanitization enables you to remove data from a disk or set of disks so that the data can never be recovered.
Before you begin
The disk must be a spare, and must be owned by a node but not used in an aggregate.
If the disk is partitioned, neither partition can be used in an aggregate.
The disk cannot be a self-encrypting disk (SEDs) or a Federal Information Processing Standard (FIPS) disk.
You must use the storage encryption disk sanitize command to sanitize an SED or FIPS disk.
The disk cannot be part of a storage pool.
About this task
- dd (to copy blocks of data)
- dumpblock (to print dumps of disk blocks)
- setflag wafl_metadata_visible (to allow access to internal WAFL files)
After disk sanitization is enabled on a node, it cannot be disabled.
Result
The specified disks are sanitized and designated as hot spares. The serial numbers of the sanitized disks are written to /etc/log/sanitized_disks.