Table of ContentsView in Frames

Setting the state of disks using Storage Encryption to end-of-life

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.

Steps

  1. Remove any data from the aggregate containing the disk.
  2. Migrate any data that needs to be preserved to a different aggregate.
  3. Destroy the aggregate.
  4. Access the nodeshell by entering the following command: system node run -node node_name
  5. Enter the following command: disk encrypt destroy disk_ID
  6. Exit the nodeshell and return to the clustershell by entering the following command: exit

Result

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.