code: def getinfo(self, disk, part=''):
          
          args = {
              "disk": disk,
              "part": part,
          }
  
          self._getpart_chk.check(args)
  
          response = self._client.raw('disk.getinfo', args)
  
          result = response.get()
  
          if result.state != 'SUCCESS':
              raise RuntimeError('failed to get info: %s' % result.data)
  
          if result.level != 20:  # 20 is JSON output.
              raise RuntimeError('invalid response type from disk.getinfo command')
  
          data = result.data.strip()
          if data:
              return json.loads(data)
          else:
              return {}
docs: Get more info about a disk or a disk partition
  
          :param disk: (/dev/sda, /dev/sdb, etc..)
          :param part: (/dev/sda1, /dev/sdb2, etc...)
          :return: a dict with {"blocksize", "start", "size", and "free" sections}