Disks api validation.

unit-tests

* added api validation
* change minimal disk size calculation for deployment
* added comments