Skip to main content

storage disk reassign

Contributors
Suggest changes

(DEPRECATED)-Change the default owner of all disks from one node to another

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The storage disk reassign is deprecated and may be removed in a future release of ONTAP. Disk reassignment is no longer required as part of a controller replacement procedure. For further information, see the latest controller or NVRAM FRU replacement flyer for your system. This command changes the ownership of all disks on a node to the ownership of another node. Use this command only when a node has a complete failure (for instance, a motherboard failure) and is replaced by another node. If the node's disks have already been taken over by its storage failover partner, use the -force parameter.

Parameters

-s, -homeid <nvramid> - Current Home ID (privilege: advanced)

This specifies the serial number of the failed node.

-d, -newhomeid <nvramid> - New Home ID (privilege: advanced)

This specifies the serial number of the node that is to take ownership of the failed node's disks.

[-f, -force <true>] - Force (privilege: advanced)

This optionally specifies whether to force the reassignment operation. The default setting is false .

Examples

In the following example, a node named node0 and having serial number 12345678 has failed. Its disks have not been taken over by its storage failover partner. A replacement node with serial number 23456789 was installed and connected to node0's disk shelves. To assign node0's disks to the new node, start the new node and run the following command:

cluster::*> storage disk reassign -homeid 12345678 -newhomeid 23456789
node0's disks 1.1.11, 1.1.12, 1.1.13, 1.1.14, 1.1.15, 1.1.16, 1.1.23 and 1.1.24
were reassigned to new owner with serial number 23456789.

In the following example, a similar failure has occurred, except that node0's disks have been taken over by its storage failover partner, node1. A new node with serial number 23456789 has been installed and configured. To assign the disks that previously belonged to node0 to this new node, run the following command:

cluster::*> storage disk reassign -homeid 12345678 -newhomeid 23456789 -force true
node0's disks 1.1.11, 1.1.12, 1.1.13, 1.1.14, 1.1.15, 1.1.16, 1.1.23 and 1.1.24
were reassigned to new owner with serial number 23456789.