Configure automatic assignment of disk ownership

Contributors

You can configure ONTAP to automatically assign disk ownership according to a disk’s stack, shelf, or bay. If configured, automatic disk ownership assignments occur 10 minutes after system initialization and every five minutes during normal system operation.

What you’ll need
  • Your system must adhere to the requirements for automatic disk ownership.

  • If you have multiple stacks or shelves that must have different ownership, one disk must have been manually assigned on each stack or shelf so that automatic ownership assignment works on each stack or shelf.

  • Use the bay autoassign-policy only for entry level platforms. If you try to use the bay autoassign-policy for a non-entry level platform, it will fail.

About this task

The behavior of the default automatic assignment policy depends on the system model. For entry level models, the default policy is equivalent to the bay policy. For all other systems, it is equivalent to the stack policy.

Steps
  1. Configure automatic disk assignment:

    storage disk option modify -autoassign-policy autoassign_policy -node node_name

    • Use stack as the autoassign_policy to configure automatic ownership at the stack or loop level.

    • Use shelf as the autoassign_policy to configure automatic ownership at the shelf level.

    • Use bay as the autoassign_policy to configure automatic ownership at the bay level.

  2. Verify the automatic assignment settings for the disks:

    storage disk option show

    cluster1::> storage disk option show
    
    Node           BKg. FW. Upd.  Auto Copy     Auto Assign    Auto
                                                               Assign Policy
    -------------  -------------  ------------  -------------  --------
    cluster1-1     on             on            on             default
    cluster1-2     on             on            on             default