To move an aggregate from one storage system (the source) to another (the target), you need to physically move disks, disk shelves, or entire loops or stacks. You might move an aggregate to move data to a new storage system model or remove data from an impaired storage system.
Before You Begin
Ensure that the
target storage system meets the following requirements:
- It must be running a version of Data ONTAP that is the same or later than the version running on the source system.
- It must support the shelf, module, and disk types being moved.
- It must support the size of the aggregate being moved.
Considerations
The procedure described here applies to both aggregates with FlexVol volumes and to traditional volumes.
The procedure described here does not apply to V-Series systems. For information about how to physically move aggregates in V-Series systems, see the V-Series Software Setup, Installation, and Management Guide.
Steps
-
In normal mode, enter the following command at the source storage system to locate the disks that contain the aggregate:aggr status aggr_name -r
The locations of the data, parity, and dParity disks in the aggregate appear under the HA, SHELF, and BAY columns (dParity disks appear for RAID-DP aggregates only).
- Complete the appropriate steps, depending on whether you are moving an aggregate or a traditional volume.
| If you are moving...
|
Then...
|
| A traditional volume |
Take the volume offline by entering the following command:aggr offline vol_name |
| An aggregate |
- Boot the storage system into maintenance mode.
- Take the aggregate offline by entering the following command:aggr offline aggr_name
- Reboot into normal mode.
|
- If the storage system is using software-based disk ownership, remove the software ownership information from the disk by entering the following commands in the specified order for each disk:priv set advanced
disk remove_ownership disk_namepriv set
- Follow the instructions in the disk shelf hardware guide to remove the disks or shelves you identified previously from the source storage system.
- Install the disks or disk shelves in the target storage system.
When the target storage system sees the new disks, it sees the new aggregate as a foreign aggregate. Data ONTAP takes the foreign aggregate offline. If the foreign aggregate has the same name as an existing aggregate on the target storage system, Data ONTAP renames it aggr_name(1), where aggr_name is the original name of the aggregate.
- If the target storage system uses software-based disk ownership, assign the disks that you moved to the target storage system by entering the following command for each moved disk:disk assign disk_name
- Confirm that the foreign aggregate is complete by entering the following command:aggr status aggr_name
Attention: If the foreign aggregate is incomplete (if it has a status of partial), add all missing disks before proceeding. Do not try to add missing disks after the aggregate comes online—doing so causes them to become hot spare disks. You can identify the disks currently used by the aggregate using the aggr status -r command.
- If the storage system renamed the foreign aggregate because of a name conflict, enter the following command to rename the aggregate:aggr rename aggr_name new_name
- Enter the following command to bring the aggregate online in the destination storage system:aggr online aggr_name
- Enter the following command to confirm that the added aggregate came online:aggr status aggr_name
- Boot both source storage systems out of maintenance mode.
For more information about maintenance mode, see the Data ONTAP System Administration Guide.