Ensure new size argument is a valid disk capacity value

Ensure new size argument is a valid disk capacity value