NetApp Storage root volume 搬移

在 NetApp Storage 中,
含有 root 的 volume 及 aggregate 是無法 destory 的,
如果有需要可以將 root 搬移到其他的 aggregate 或 volume,
並指定新的 volume 為 root,
即可將舊的含有 root 的 volume 或 aggregate 移除。

1. (如果要搬移 aggregate)先建立一個新的 aggregate。
2. 建立新的 volume,比方命名為 newroot,而舊的名稱為 root。
3. vol restrict newroot
4. vol copy start root newroot
5. vol online newroot
6. vol options newroot root
7. vol status  (確定一下 newroot 在 options 的欄位會顯示 diskroot,而舊的 root 在 options 欄位依然顯示 root 直至重開機)
8. reboot

重新開機完成後,就可以將舊的移除,新的更名:
1. vol status (確定一下 newroot 已經是 root)
2. vol offline root
3. vol destroy root
4. vol rename newroot root

這時舊有含有 root volume 的 aggregate 即可刪除。