Table of ContentsView in Frames

Assigning ownership for unowned disks and array LUNs

Disks and array LUNs must be owned by a storage system before they can be used in an aggregate. If your system is not configured to assign ownership automatically, or if your system contains array LUNs, you must assign ownership manually.

About this task

This procedure assigns ownership of disks and array LUNs that are currently unowned. If you want to change the ownership of disks or array LUNs that are already owned by a system, you must use the procedure "Modifying assignment of spare disks or array LUNs".

Steps

  1. Use the disk show -n command to view all disks and array LUNs that do not have assigned owners.
    Note: You must make array LUNs available to Data ONTAP before they can be assigned to a system.
  2. Assign the disks and array LUNs that are labeled Not Owned to a storage system: disk assign {disk_list | all | [-T storage_type] -n count|auto} [-c block | zoned] [-o owner_name] [-s sysid] [-f] [-p pool]

    You can specify the disks and array LUNs to be assigned in the following ways:

    • disk_list specifies one or more individual disk or array LUN names.

      This is the most explicit way to specify disks and array LUNs. However, you have to manually enter each disk name.

    • You can use disk_list with the wildcard character (*) to specify a group of disks or array LUN names.
    • all specifies all unowned disks and array LUNs.
    • -n count specifies a number of unassigned disks and array LUNs to be assigned
    • auto causes Data ONTAP to initiate automatic disk ownership assignment.
      Note: Only disks installed in loops, stacks, or shelves that conform to the automatic ownership assignment guidelines are affected. Automatic ownership assignment does not operate on array LUNs.
      Use the following options to fine-tune automatic ownership assignment for disks:
      • To configure automatic ownership assignment to a stack, set the disk.auto_assign option to on.
      • To configure automatic ownership assignment to a shelf, the disk.auto_assign and disk.auto_assign_shelf options to set on.
    • You can use the -shelf option to manually assign unowned disks to the specified shelf.

    You use the following options to further qualify which disks and array LUNs Data ONTAP assigns:

    • -T specifies the Data ONTAP disk type of the storage to be assigned.
      Note: If you have different disk types or disks and array LUNs on your system, always use the -T option to ensure that Data ONTAP uses the disks or array LUNs that you expect. Without this option, Data ONTAP uses the type of disk or array LUN with the most spares.

      This option cannot be used with a list of disk or array LUN names. You must use the -n option with the -T option.

    • -c specifies the checksum type for the disk or array LUNs to be assigned.

      For array LUNs, the checksum type can be block or zoned. The default checksum type is block. For more information about checksums for array LUNs, see the V-Series Installation Requirements and Reference Guide.

      For disks, the checksum type can be block or zoned (AZCS). Only the default checksum type is supported for disks.

    You use the following options to specify the system to own the disks and array LUNs you are assigning.

    Note: If you do not specify a system to own the disks and array LUNs, they are assigned to the local system.
    • -o owner_name specifies the name of the system to which you want to assign the disks and array LUNs.
    • -s sysid specifies the ID of the system that the disks and array LUNs are assigned to.

      This is an alternative to specifying the system name by using the -o option.

    • -f is used for changing ownership for a disk or array LUN that is already owned by a system.

      For array LUNs, -f is also used to enable assignment of an array LUN to a system when there is a redundancy error.

    -p specifies which SyncMirror pool the disks and array LUNs are assigned to. Its value is either 0 or 1. If you do not specify a pool, the disks and array LUNs are assigned to pool0. You need to specify the pool only if SyncMirror is in use on your system.

  3. Use the disk show -v command to verify the assignments that you just made.

After you finish

If you assigned ownership for array LUNs, you should verify that two paths exist for each array LUN and verify path failover to ensure that you have path redundancy.