def get_real_disk_id(disk_or_path):
        """Return integer disk suffix from json.disks.*.path attribute"""
        if isinstance(disk_or_path, dict):
            disk_path = disk_or_path['path']
        else:
            disk_path = disk_or_path

        return int(re.split('-|/', disk_path)[-1].lstrip('disk'))