system node migrate-root
Start the root aggregate migration on a node
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The system node migrate-root
command migrates the root aggregate of a node to a different set of disks. You need to specify the node name and the list of disks on which the new root aggregate will be created. The command starts a job that backs up the node configuration, creates a new aggregate, set it as new root aggregate, restores the node configuration and restores the names of original aggregate and volume. The job might take as long as a few hours depending on time it takes for zeroing the disks, rebooting the node and restoring the node configuration.
Parameters
-node {<nodename>|local}
- Node (privilege: advanced)-
Specifies the node that owns the root aggregate that you wish to migrate. The value
local
specifies the current node. - {
-disklist <disk path name>,…
- List of Disks for New Root Aggregate (privilege: advanced) -
Specifies the list of disks on which the new root aggregate will be created. All disks must be spares and owned by the same node. Minimum number of disks required is dependent on the RAID type.
-raid-type {raid_tec|raid_dp|raid4|raid_ep}
- RAID Type for the New Root Aggregate (privilege: advanced)-
Specifies the RAID type of the root aggregate. The default value is
raid-dp
. - |
-resume <true>
- Resume a Failed Migrate Operation (privilege: advanced) } -
Resumes a failed migrate-root operation if the new_root aggregate is created and the old root aggregate is in the retricted state.
Examples
The command in the following example starts the root aggregate migration on node node1:
cluster1::> system node migrate-root -node node1 -disklist 1.11.8,1.11.9,1.11.10,1.11.11,1.11.12 -raid-type raid-dp