If you want to render a disk permanently unusable and the data on it inaccessible, you can set the state of the disk to end-of-life by using the disk encrypt destroy command. This command only works on spare disks.
- Remove any data from the aggregate containing the disk.
- Migrate any data that needs to be preserved to a different aggregate.
- Destroy the aggregate.
- Access the nodeshell: system node run -node node_name
- Enter the following command: disk encrypt destroy
- Exit the nodeshell and return to the clustershell: exit
- If the disk has a PSID printed on its label but you do not want the disk to be able to be reset to factory settings and returned to service at a later time, obliterate all instances of the PSID on the disk label (text or scannable code).
Be sure to also destroy any copies, scans, or photographs of the disk label.
The disk's encryption key is set to an unknown random value and the disk is irreversibly locked. The disk is now completely unusable and can be safely disposed of without risk of unauthorized data access.