Attention: 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 abort command. If the specified disks are undergoing the formatting phase of sanitization, the abort does not occur until the phase is complete.

-ppattern1-ppattern2-ppattern3 specifies 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.

-r replaces a patterned overwrite with a random overwrite for any or all of the passes.

-ccycle_count specifies the number of times that the specified overwrite patterns are applied. The default value is one cycle. The maximum value is seven cycles.

disk_list specifies a space-separated list of the IDs of the spare disks to be sanitized.

If you want to 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 by entering the following command for each disk: disk sanitize release disk_name

Exit the nodeshell: exit

Determine whether all of the disks were returned to spare status: storage aggregate show-spare-disks

If...

Then...

All of the sanitized disks are listed as spares

You are done. The disks are sanitized and in spare status.

Some of the sanitized disks are not listed as spares

Complete the following steps:

Enter advanced privilege mode: set -privilege advanced

Assign the unassigned sanitized disks to the appropriate node by entering the following command for each disk: storage disk assign -disk disk_name -owner node_name

Return the disks to spare status by entering the following command for each disk: storage disk unfail -disk disk_name -s -q

Return to administrative mode:set -privilege admin

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.