Table of ContentsLibraryView in Frames

Modifying disk assignments

On systems using software-based disk ownership, you can modify the disk assignment for a hot spare disk that you or Data ONTAP have already assigned. You do this to ensure that both controllers and pools have sufficient hot spares available.

Considerations

Attention: This procedure should be performed only on hot spare disks. Disks that have already been assigned to an aggregate cannot be reassigned without endangering all the data and the structure of that entire aggregate.

Steps

  1. View the spare disks whose ownership can safely be changed by entering the following command: aggr status -r

    You can also see the disks that are unowned by using the disk show -n command.

  2. Use the following command to modify assignment of the spare disks:disk assign {disk1 [disk2] [...]|-n num_disks} -f {-o owner_name | -s unowned | -s sysid}

    disk1 [disk2] [...] are the names of the spare disks whose ownership assignment you want to modify.

    -n num_disks specifies a number of disks, rather than a series of disk names, to assign ownership to.

    -f forces the assignment of disks that have already been assigned ownership.

    -o owner_name specifies the host name of the controller to which you want to reassign the disks in question.

    -s unowned modifies the ownership assignment of the disks in question back to “Not Owned.”

    -s sysid is the factory-assigned NVRAM number of the controller to which you want to reassign the disks. It is displayed by using the sysconfig command.

The following command unassigns four disks from the controller sh1:disk assign 0b.30 0b.29 0b.28 0b.27 -s unowned -f

After You Finish

You can use the disk show -v command to verify the disk assignment modifications that you made.

Related concepts
How disk ownership works