Sanitize a disk in maintenance mode
Beginning in ONTAP 9.6, you can perform disk sanitization in maintenance mode. This allows you to remove data from a disk or a set of disks on decommissioned or inoperable systems so that the data can never be recovered.
The disk cannot be a self-encrypting disk (SED).
You must use the
storage encryption disk sanitizecommand to sanitize an SED.
Boot into maintenance mode.
If the disks you want to sanitize are partitioned, unpartition each disk:
disk unpartition disk_name
Sanitize the specified disks:
disk sanitize start [-p pattern1|-r [-p pattern2|-r [-p pattern3|-r]]] [-c cycle_count] disk_list
Do not turn off power to the node, disrupt the storage connectivity, or remove target disks while sanitizing. If sanitizing is interrupted during the formatting phase, the formatting phase must be restarted and allowed to finish before the disks are sanitized and ready to be returned to the spare pool. If you need to abort the sanitization process, you can do so by using the
disk sanitize abortcommand. If the specified disks are undergoing the formatting phase of sanitization, the abort does not occur until the phase is complete.
pattern3specifies a cycle of one to three user-defined hex byte overwrite patterns that can be applied in succession to the disks being sanitized. The default pattern is three passes, using 0x55 for the first pass, 0xaa for the second pass, and 0x3c for the third pass.
-rreplaces a patterned overwrite with a random overwrite for any or all of the passes.
cycle_countspecifies the number of times that the specified overwrite patterns are applied. The default value is one cycle. The maximum value is seven cycles.
disk_listspecifies a space-separated list of the IDs of the spare disks to be sanitized.
If desired, check the status of the disk sanitization process:
disk sanitize status [disk_list]
After the sanitization process is complete, return the disks to spare status for each disk:
disk sanitize release disk_name
Exit maintenance mode.