ONTAP Hardware
ONTAP Hardware
I am trying to run a .ps1 script given to me by higher level. Factory Reset the storage system as directed using a macro file. When deploying the environment, fails to assign the first aggregate disk to node 1. Is there a command or setting in Data Ontap 8.3 that will allow/disable changing of node ownership of aggregate disks?
Solved! See The Solution
You can reassign ownership, but the drive needs to be a spare.
Here's a run down of the commands to move ownership of a disk and disk partitions.
for removing disks with root partitions be sure to include the -data true tag and be in advanced mode. set d <yes> storage disk option modify -node * -autoassign off disk removeowner -disk x.x.x -data true disk assign -disk x.x.x -data true -owner NODEx disk show -fields data-owner, root-owner storage disk option modify -node * -autoassign on set admin
You can reassign ownership, but the drive needs to be a spare.
Here's a run down of the commands to move ownership of a disk and disk partitions.
for removing disks with root partitions be sure to include the -data true tag and be in advanced mode. set d <yes> storage disk option modify -node * -autoassign off disk removeowner -disk x.x.x -data true disk assign -disk x.x.x -data true -owner NODEx disk show -fields data-owner, root-owner storage disk option modify -node * -autoassign on set admin
Keeping in mind that Data ONTAP 8.3 is out-of-support, so an ONTAP upgrade is recommended, you can follow the information at page 50 for "Configuring automatic ownership assignment of disks" at Clustered Data ONTAP 8.3 Physical Storage Management Guide (netapp.com) with the "storage disk option modify -autoassign-policy" command.
hello:
You cannot reallocate the ownership of disks that are in use in the aggregation. If you want to reallocate the ownership of spare disks that belong to other nodes, you must use the "-force" option.
I hope it can be of help to you.
Best regards.