Removing ownership from a disk

ONTAP writes disk ownership information to the disk. Before you remove a spare disk or its shelf from a node, you should remove its ownership information so that it can be properly integrated into another node.

Before you begin

The disk you want to remove ownership from must meet the following requirements:

About this task

If you have automatic disk assignment enabled, ONTAP could automatically reassign ownership before you remove the disk from the node. For this reason, you disable automatic ownership assignment until the disk is removed, and then reenable it.

Steps

  1. If disk ownership automatic assignment is on, turn it off: storage disk option modify -node node_name -autoassign off
  2. If needed, repeat the previous step for the node's HA partner.
  3. Remove the software ownership information from the disk: storage disk removeowner disk_name
    To remove ownership information from multiple disks, use a comma-separated list:
    Example
    storage disk removeowner sys1:0a.23,sys1:0a.24,sys1:0a.25
  4. If the disk is partitioned for root-data partitioning, remove ownership from the partitions by entering both of the following commands: storage disk removeowner disk_name -root truestorage disk removeowner disk_name -data true
    Both partitions are no longer owned by any node.
  5. If you turned off disk ownership automatic assignment previously, turn it on after the disk has been removed or reassigned: storage disk option modify -node node_name -autoassign on
  6. If needed, repeat the previous step for the node's HA partner.