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.
- Enter the following command: disk encrypt destroy disk_ID
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.