From owner-freebsd-current@FreeBSD.ORG Fri Jul 13 22:19:11 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B58CF16A401 for ; Fri, 13 Jul 2007 22:19:11 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 4D1EB13C4AC for ; Fri, 13 Jul 2007 22:19:00 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.13.8) id l6DMItDi011491; Fri, 13 Jul 2007 17:18:55 -0500 (CDT) (envelope-from dan) Date: Fri, 13 Jul 2007 17:18:55 -0500 From: Dan Nelson To: Volker Message-ID: <20070713221854.GC44766@dan.emsphone.com> References: <4697F753.5060304@vwsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4697F753.5060304@vwsoft.com> X-OS: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: current@freebsd.org Subject: Re: zfs refuses to load pool on boot, zpool denies import X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 22:19:11 -0000 In the last episode (Jul 14), Volker said: > I'm constantly getting this error on bootup: > > ZFS: WARNING: pool 'mypool' could not be loaded as it was last > accessed by another system (host: hostid: 0x0). See: > http://www.sun.com/msg/ZFS-8000-EY > > As I've put /usr into zfs, I need to reboot into single user and > issue a `zpool import -f mypool' (w/o -forcing, zpool denies to > import the pool). It's strange as this pool has been created on that > machine (probably while having booted from a different disk - I don't > actually remember). > > I already imported, exported and re-imported but it didn't help. > > Any ideas? > > %kenv smbios.system.uuid > ccf8597d-74fe-d511-a413-782ede476378 That may be what's causing your problem. If you boot into single-user, make sure to run "/etc/rc.d/hostid start", which sets kern.hostuuid from /etc/hostid or smbios.system.uuid if /etc/hostid doesn't exist. -- Dan Nelson dnelson@allantgroup.com