Increasing storage capacity in a production or even a lab environment can be tricky. You need to make sure that all the stakeholders are aware of this effort, but more importantly, you need to make sure that you increase capacity in a non-disruptive manner. Over the past couple of weeks, I had to add extra disk shelves to both my production environment and my lab environment. Doing it for the first time was a bit challenging because you need to create a plan and then follow it to the word. But now having done it multiple times, I feel like I should write a blog about it and share with the community how easy it is to hot-add disk shelves to your existing NetApp ONTAP storage system. Below is a step by step guide on how I added 15TBs of capacity to my ONTAP cluster.
- Identify the equipment that you are using currently. I had a NetApp AFF A300 and a NetApp AFF 8040 in the two clusters that I was working on. Depending on the storage controllers that you are using, you need to identify the disk shelf and the cables that you want to use. For the AFF A300, I chose a DS224C disk shelf and for the AFF8040 I went with the DS2246 disk shelf. This meant I needed MiniHD to MiniHD(12GBs) cables to connect my AFF A300 and DS224C, and regular SAS cables(6GBs) to connect my AFF8040 and DS2246.
- Once you have identified all the components, you need to rack the new disk shelves close to the existing controllers and disk shelves.
- Next, connect power cables to the new disk shelves and then change the shelf ID of the disk shelf using the button on the front. For the disk shelf to use the new shelf ID you need to power cycle the disk shelf. Make sure that you use unique shelf ID as compared to your existing shelf IDs.
- Before you start messing with the cables, you need to log into your storage controllers and turn disk auto assignment off using the following commands:

- Next step will be to physically connect the cables to your existing disk shelves and controllers.
- Use the following two cabling diagrams for two separate scenarios:
- AFF A300 and DS224C with IOM12 modules (SAS Connections):


- AFF8040 and DS2246 with IOM6 modules (SAS connections):

- In the latest NetApp controllers, you do not need to run ethernet cables for Alternative Control Path (ACP) connections as they are in-band. But for the AFF8040 controllers, use the following cabling diagram to modify your existing ACP connections:

- AFF A300 and DS224C with IOM12 modules (SAS Connections):
- Just hang on for a few additional steps and then you are done. Now, that you have made the physical connections between the storage controllers and the disk shelves, log back into the cluster shell and execute the following commands:
storage shelf show -shelf shelf_name -connectivity

storage disk show -container-type unassigned
- After running the above command, you should see all the disks that are part of the new disk shelf.
- Next, we will use the following command to assign disks to the individual controllers. I usually alternate the assignment order to the controllers. So all the odd numbered disks are assigned to Node 01 and all the even numbered disks are assigned to Node 02.
storage disk assign -disk disk_name -owner owner_name
- Once you have assigned all the disks, we will use the following command to turn on disk auto assignment.
storage disk option modify -node * -autoassign on
- Next, check the health of the ACP connections using the following command:
storage shelf acp show
- And that’s it. You are done. Now you have disks ready to be added to your existing aggregates and increase your capacity. You can use the following command to do that:
aggr add-disks -aggregate "aggregate_name" -diskcount "Number_of_disks" aggr add-disks -aggregate"aggregate_name" -diskcount "Number_of_disks"
- All this will work smoothly if you are using brand new shelves to increase capacity. But if you are reusing an existing shelf to add capacity to your cluster, you will see some old disk owner information, which may not allow you to assign disks as easily as shown in step 7.2. In such scenarios, you will have to drop one of the storage controllers into maintenance mode and then remove the remnant disk owner configuration. You can use the following steps to do that:
- From the cluster shell, do a storage failover takeover of one of the nodes, using the following command:
storage failover takeover -ofnode "node_name"
- Monitor the node while its rebooting and hit Ctrl+C to display the boot menu.
- Once in the boot menu, select option 5 to go in maintenance mode.
- Next, use the following commands to remove the disk ownership:
disk show -a disk removeownership -disk "disk_name" disk show -n
- Please make sure that you are running the above commands only against the new disks that you added. Executing the command on the incorrect disk might lead to disruption.
- Once all the new disks are in the unassigned state, halt the controller. When it is at the loader prompt, you will have to do an autoboot or a boot_ontap to boot the operating system.
- You will have to use the following command to allow the second node to boot:
storage failover giveback -ofnode "node_name"
- From the cluster shell, do a storage failover takeover of one of the nodes, using the following command:
- Now that you have removed the faulty disk ownership information, you can use the commands in 7.2 and assign the disks to the controllers.
Hopefully, you can follow these steps and add capacity to your NetApp storage cluster in a non-disruptive fashion. These were specific use cases, like attaching a DS224C to an AFF A300 and attaching a DS2246 to an AFF8040. But if you have a different combination of controllers or disk shelves, you should check out the following guides to make sure that you do not have any issues with the process.

Hi June. I want to ask this : in my organization we have a combination AFF-A300/ 2x DS224C , but we are planning to add one more shelf, so it would make a total of 3 disk shelfs. I’m worried because all schematics i see are in shelf pairs. How would be the cable connections to the controllers in this particular scenario ? thank you
LikeLike