Lines Matching defs:hostid
738 uint32_t hostid = zone_get_hostid(NULL);
739 if (hostid)
740 spa->spa_hostid = hostid;
3514 uint64_t hostid = 0;
3559 * on the same host which last imported it. Since the hostid from
3563 hostid = fnvlist_lookup_uint64(label, ZPOOL_CONFIG_HOSTID);
3565 if (hostid == spa_get_hostid(spa))
3765 * spa->spa_load_info nvlist. If the remote hostname or hostid are
3771 * ZPOOL_CONFIG_MMP_HOSTID - hostid from the active pool
3775 uint64_t hostid = 0;
3786 hostid = fnvlist_lookup_uint64(mmp_label,
3789 ZPOOL_CONFIG_MMP_HOSTID, hostid);
3825 * confirm that the best hostid matches our hostid
3865 uint64_t hostid;
3870 ZPOOL_CONFIG_HOSTID, &hostid) == 0) {
3876 if (hostid != 0 && myhostid != 0 && hostid != myhostid) {
3879 "another system (host: %s hostid: 0x%llx). "
3882 spa_name(spa), hostname, (u_longlong_t)hostid);
3883 spa_load_failed(spa, "hostid verification failed: pool "
3884 "last accessed by host: %s (hostid: 0x%llx)",
3885 hostname, (u_longlong_t)hostid);
4175 * hosts which don't have a hostid set from importing the pool.
4396 * If 'zpool import' used a cached config, then the on-disk hostid and
4403 * because the new config will have the hostid and hostname for this
4899 * be imported when the system hostid is zero. The exception to