Optimize hdd size calculation

Optimize hdd size calculation and also calculate the nominal capacity of the drive(s)