From owner-freebsd-current@FreeBSD.ORG Sat Jul 14 16:07:50 2007 Return-Path: X-Original-To: freebsd-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 5077B16A402 for ; Sat, 14 Jul 2007 16:07:50 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp811.mail.ird.yahoo.com (smtp811.mail.ird.yahoo.com [217.146.188.71]) by mx1.freebsd.org (Postfix) with SMTP id A205C13C428 for ; Sat, 14 Jul 2007 16:07:49 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 71335 invoked from network); 14 Jul 2007 16:07:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=HywsRK+IPrBvBc4Jf1eQIkVX5AJVGWdS90+2QwQUsaSzV6+P5ODtWcn7xrvMGcnwPnCkx9UO2IOmnBwNB1th7+BNJfiFyJiRXN7B7g/gBf7qiIRFSsQuG+vX4cDFAku1eFi7FQIBs8omn8wbd/oqVO8C0ftGsC0TB2/MEZItM1s= ; Received: from unknown (HELO w2fzz0vc03.aah-go-on.com) (thomas.sparrevohn@btinternet.com@81.159.90.61 with login) by smtp811.mail.ird.yahoo.com with SMTP; 14 Jul 2007 16:07:48 -0000 X-YMail-OSG: 53RWy28VM1lBS_bA6eyBqCKxSFkI4ld.g_hUDQCCBo..wd5i484m2ZcuVXvAJ3WSTuSUOrHk5A-- From: Thomas Sparrevohn To: freebsd-current@freebsd.org Date: Sat, 14 Jul 2007 17:07:47 +0100 User-Agent: KMail/1.9.7 References: <4697F753.5060304@vwsoft.com> <200707141107.48714.Thomas.Sparrevohn@btinternet.com> <20070714145219.GH44766@dan.emsphone.com> In-Reply-To: <20070714145219.GH44766@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707141707.47310.Thomas.Sparrevohn@btinternet.com> 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: Sat, 14 Jul 2007 16:07:50 -0000 On Saturday 14 July 2007 15:52:19 Dan Nelson wrote: > > > I got burned by that one as well - I am vondering if ZFS should check > > system.uuid as a fall back - It does not seem correct that we have to > > run specific startup shell scripts in order to get a filesystem to > > work > > Might work in some cases, but none of my systems have the system.uuid > kenv. I'm not even sure how my zfs root volume gets mounted; the > kernel has to mount it to even find init, so it does blindly mount > zpools in some cases. Maybe the kernl mount logic assumes if it can > only see one zpool, it's got to be the right one? :) > Hmm - I must admit I did not think about that - but it looks like that if hostid does not find system.uuid it falls back on uuidgen(1) and uuidgen(2) - so it should be possibly to get a sensible value prior to rc.d