Table of ContentsLibraryView in Frames

Assigning disk ownership

On systems using software-based disk ownership, you assign disks to a controller and pool to make the disks available for use in an aggregate. Assigning disks also enables you to keep your disk firmware up to date. You cannot download firmware to unassigned disks.

Steps

  1. Use the disk show -n command to view all disks that do not have assigned owners.
  2. Use the following command to assign the disks that are labeled Not Owned to one of the system controllers. disk assign {disk_list|all|[-T storage_type] -n count|auto} [-p pool] [-o owner_name] [-s sysid] [-c block|zoned] [-f]

    disk_list specifies the disks that you want to assign to the controller. You can specify the disks using one of the following methods:
    • One or more disk addresses
    • The wildcard character (*) to specify a group of disks
    • The all keyword to assign all unowned disks
    • The -n count option to specify a number of unassigned disks to be assigned
    • The -T option to specify a specific type of disk to be assigned: ATA, FCAL, LUN, SAS, or SATA.

      The LUN disk type is used only by V-Series systems.

    auto causes disk autoassignment to be performed.

    -p pool specifies which SyncMirror pool the disks are assigned to. Its value is either 0 or 1.

    Note: Assigned disks are associated with a pool. To assign them to a different pool, use the -f option. However, moving individual disks between pools could result in the loss of redundancy and cause disk autoassignment to be disabled for that loop or stack. For this reason, you should keep all disks on a loop or stack in the same pool where possible.

    -o owner_name specifies the name of the controller that you want to assign the disks to.

    -s sysid specifies the ID of the controller that you want to assign the disks to.

    -c specifies the checksum type (either block or zoned) for an array LUN onV-Series systems.

    -f must be specified if a controller already owns the disk or if you want to assign a disk to a different pool.

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

Examples

The following command assigns six disks to the local controller:

disk assign 0b.43 0b.41 0b.39 0b.37 0b.35 0b.33

If the loops or stacks containing the unassigned disks contain other disks that are assigned to the same controller and pool that you want these disks to be assigned to, you can use the following command:

disk assign auto

After You Finish

After you have assigned ownership to a disk, you can add that disk to an aggregate attached to the controller that owns it, or leave it as a spare disk on that storage system. If the disk has been used previously in another aggregate, you should zero the disk (using the disk zero spares command) to reduce delays when you or Data ONTAP put the disk into use.