From owner-freebsd-questions@FreeBSD.ORG Tue Jan 26 15:46:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72A85106568F for ; Tue, 26 Jan 2010 15:46:23 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.190]) by mx1.freebsd.org (Postfix) with ESMTP id F369B8FC14 for ; Tue, 26 Jan 2010 15:46:22 +0000 (UTC) Received: by gv-out-0910.google.com with SMTP id n29so45280gve.39 for ; Tue, 26 Jan 2010 07:46:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=yMj01ipYJnBPoWPIaKGHvIJqRvKBtoQJ5J656hMypGA=; b=AiZnVgdMZKlcV8wDyo6VbRx+kwzaZrhJO2vdLccw8VGGoMABI84MOujotTS3ZTXTUX esrCGVIhLngkCHkQKElS7bOLP3BssXSqxtBalFeGm7aLeRLU6WVmBSx29CwH4Q4xTEKv 5fEmsprU2LIHLGEs/UdPbSxJUMnIgCcaA41V4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kxFFtk9D6FpO/m5B9jOtbtTs4PDRxoaDyQ2vVmE3BK55TNspBMEE+D+NtcYM+ekmBa stqfHKu7dCoStn0IqDkbz5VO3QxYRw3WcmDVN0k8nuVHBGSV3mXWz2OyLkh0zzCLsDtF /tHtADgV2ry4dV3gWpcXvOXTCNyl2fdgMgKj0= MIME-Version: 1.0 Received: by 10.239.193.140 with SMTP id j12mr887337hbi.70.1264520781642; Tue, 26 Jan 2010 07:46:21 -0800 (PST) In-Reply-To: <863a1s6fg8.fsf@blue.stonehenge.com> References: <4B5EE153.9050402@ibctech.ca> <863a1s6fg8.fsf@blue.stonehenge.com> Date: Tue, 26 Jan 2010 15:46:21 +0000 Message-ID: From: krad To: "Randal L. Schwartz" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, George Liaskos , Steve Bertrand , Ross Penner Subject: Re: Help booting FreeBSD with a ZFS root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2010 15:46:23 -0000 2010/1/26 Randal L. Schwartz > >>>>> "krad" == krad writes: > > krad> Not sure if there will be any issues with hostid being different. I > krad> presume the pool is imported with a -f option on boot > > No. The bootloader will not work with drives that were not imported at > time > of shutdown. One of the things I learned the hard way. > > I kept "exporting" after installation, out of my OCD to "cleanly unmount" > everything before shutting down, and then cursed at my machine for not > seeing the disk on boot. After four times of installing from scratch, > I finally followed the instructions precisely (*without* the export), > and it worked just fine. > > So, no, the bootloader will not import and especially not import -f. > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside > discussion > thats not what i meant. The pool could be in an imported state. However the pool knows who imported it, or rather the hostid of the machine. If you import it on another machine and dont export it then try to import it on another machine you have to use the -f flag. Not sure if this hostid mismatch would cause an issue on boot as i haven't tested it. You are right about exporting it does totally bugger all, hence my 1st post on this thread