You might just be able to squeeze that through the ATXRaspi along with your Pi2.
The Pi2 is pretty efficient. So assuming it uses around 0.5A and another 2A for your hub, that might be possible through ATXRaspi, although it was not really designed to handle more than just a Pi so if you don't want to do this at your own risk then I will suggest something else:
- you can implement another circuit with a power mosfet to feed your hub/HDD. That will be activated by the output of the ATXRaspi. Since your HUB should only be powered ON as long as your Pi is ON, then your circuit can be driven by the 5V output of ATXRaspi (assume P mosfet driven through a NPN transistor).
Here the "12V" would be your 5V/2A permanent power. Then the gate of the transistor that drives the mosfet would come from the 5V output of ATXRaspi. When ATXRaspi cuts the 5V output off, then this circuit would turn off the LOAD (hub/hdd) as well. I think that should work.