def METHOD_NAME(client, mount_point, num_files, num_dirs):
    for _ in range(1, num_files + num_dirs):
        try:
            client.exec_command(
                sudo=True,
                cmd=f"ls -laRt {mount_point}/",
            )
        except FileNotFoundError as e:
            error_message = str(e)
            if "No such file or directory" not in error_message:
                raise OperationFailedError("failed to perform lookups")
            log.warning(f"Ignoring error: {error_message}")
        except Exception:
            raise OperationFailedError("failed to perform lookups")