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?
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.
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