Disk Management

For most system configurations, you can use automatic assignment at stack or loop level; for smaller configurations, you can use automatic assignment at shelf level. The first automatic assignment occurs after 10 minutes.

Use these guidelines for configuring automatic disk ownership at the stack or loop level:

  • Always assign all disks on the same loop or stack to the same system.
  • Always assign disks in the same multi-disk carrier to the same system.

Use these guidelines for configuring automatic disk ownership at the shelf level:

  • Always assign all disks on the same shelf to the same system.
  • On storage systems that support two controllers but only a single stack, if the stack contains more than one shelf, you can use shelf-level assignment.

You can use automatic assignment at the shelf level for the following system configurations:

  • Your storage system supports only one stack or loop.
  • You cannot assign an entire stack or loop to a single system.
  • On storage systems that support two controllers but only a single stack with more than one shelf.

If the disks on the same shelf have home ownership split between two systems, you need to manually assign the disks to specific shelves.

You can enable, change, or disable disk automatic disk ownership assignment by using the storage disk option modify command. You can configure Data ONTAP to automatically assign disk ownership at either the stack or shelf level.

Configure automatic ownership assignment at the stack or loop level
storage disk option modify ‑autoassign on
Configure automatic ownership assignment at the shelf level

storage disk option modify ‑autoassign on ‑autoassign-shelf on

Note: The -autoassign-shelf parameter is ignored if -autoassign is set to off.
Turn off automatic ownership assignment
storage disk option modify ‑autoassign off ‑autoassign-shelf off

Disk assignment

Display all unowned disks by entering the following command:

storage disk show -container-type unassigned
Assign each disk by entering the following command:
storage disk assign -disk disk_name -owner owner_name

You can use the wildcard character (“*“) with some commands, including commands to manage disk ownership. However, you should understand how Data ONTAP expands the wildcard character.

You can use the wildcard character with the following disk ownership commands:

  • storage disk modify
  • storage disk assign
  • storage disk show
  • storage disk removeowner

When you use the wildcard character with these commands, Data ONTAP expands it with zero or more characters to create a list of disk names that will be operated on by the command. This can be very useful when you want to assign all of the disks attached to a particular port or switch, for example.

Note: Be careful when you use the wildcard character. It is accepted anywhere in the disk name string, and is a simple string substitution. Therefore, you might get unexpected results.

For example, to assign all disks on port 1 of the switch brocade23 to node03, you would use the following command:

storage disk assign -disk brocade23:1.* -owner node03

However, if you left off the second “.”, as in the following command, you would assign all disks attached to ports 1, 10, 11, 12, and so on:

storage disk assign -disk brocade23:1* -owner node03
twitterlinkedinmailtwitterlinkedinmail
Arco

About

View all posts by