Relocating root volumes to new aggregates

The root replacement procedure migrates the current root aggregate to another set of disks without disruption.

About this task

Storage failover must be enabled to relocate root volumes. You can use the storage failover modify -node nodename -enable true command to enable failover.

You can change the location of the root volume to a new aggregate in the following scenarios:

Procedure

  1. Set the privilege level to advanced: set privilege advanced
  2. Relocate the root aggregate: system node migrate-root -node nodename -disklist disklist -raid-type raid-type
    -node
    Specifies the node that owns the root aggregate that you want to migrate.
    -disklist
    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. The minimum number of disks required is dependent on the RAID type.
    -raid-type
    Specifies the RAID type of the root aggregate. The default value is raid-dp.
  3. Monitor the progress of the job: job show -id jobid -instance

Result

If all of the pre-checks are successful, the command starts a root volume replacement job and exits. Expect the node to restart.