Fix bug of disk allocation failure with sufficient capacity