ONTAP Discussions
ONTAP Discussions
I have a 2 node FAS270C cluster with 14 disks on each node
One node is configured as 14disks with dual parity and no spare. it has only root vol on it.
I need to resize the aggregate down to 2 disks (1data and 1 parity) and use the rest as apare disks.
I wonder how it can achieve without downtime? I need to move the vol0 out and recreate the aggregate and copy the vol0 back?
Any steps/procedures will be appreciated. Thanks
Hi David,
I was about to return your email, but I'll simply reply here.
Unfortunately as you may already be aware an aggregate cannot be shrunk. Additionally, moving vol0 requires a filer reboot for the filer to fully recognise it as the root volume, all running system services point to the root aggregate in some way or other, so you need to shut everything down for it to get re-registered in a new location.
So simply, you cannot do what you require live without any down time.
The only way to get your aggregate smaller, is for you to have some extra disks and you create a new aggregate to locate the vol0 onto. A minimum of 2 disks would suffice (RAID-4) if you were just moving it temporarily. You would then have to remove the old aggregate, zero the disks, and then you could re-assign the disks from one controller to the other as needed.
Unfortunately this whole process is relatively disruptive. You can destroy and aggregate and re-assign disks hot, but not move the root volume around, which will be your main challenge. You could minimize this to a single reboot, and so system downtime would be maybe less than 1 minute.
The cluster node B that I am going to recreate the aggregate have no data on it except the root vol and I have copy the vol0 data on to a backup volume in node A. I am able to reboot node B. Can you briefly tell me the steps that I need to accomplish to recreate the new root vol in node B? Do I need to disable the cluster?
Thanks. David Ma
if you have no data on Node A and you need to rebuild the aggregate layout, then you can probably do a 4a on the system. As you already have the root volume copied to Node B it shouldn't be too tricky to copy back the config. Roughly from the top of my head, the steps would be as follows...
Remember this is a pretty destructive method and you'll lose all data on Node A, so make sure you are happy with this first. You'll end up with a 3 disk aggregate (RAID-DP) on Node A and your original root volume back in place, additionally 11 spare disks for your disposal!
Node B would not need to be rebooted at all, so if you are serving any live data from there, you can continue to do so.
Let me know if you need any further info or clarification. Good luck!
Thanks for your info. Couple more questions:
1) when I copy all the data, will they copy the origingal 14 disks raid group configuration back? How it comes with a 3 disk aggregate with DP?
2) Will the reboot options same for ONTAP 7.0.2?
Thanks,
DMa
The only thing you should be taking a copy of is vol0. A volume exists within an aggregate, regardless of the aggregate configuration. So copying the vol0 back onto a 3 disk aggregate that was previously on a 14 disk aggregate will cause you no issues with vol0 at all.
All this should be true of all ONTAP 7.x releases.
The only thing you should be taking a copy of is vol0. A volume exists within an aggregate, regardless of the aggregate configuration. So copying the vol0 back onto a 3 disk aggregate that was previously on a 14 disk aggregate will cause you no issues with vol0 at all.
All this should be true of all ONTAP 7.x releases.
so the default setup is a 3 disk aggregate after the reboot?
And I can use ndmpcopy to copy the root vol form node B to a new vol in node A?
After you've performed a 4a from maintenance mode, yes, you will have a fresh 3 disk aggregate. And yup, then you can use NDMPcopy to copy the vol0 back across.