From owner-freebsd-questions@FreeBSD.ORG Wed Mar 6 21:50:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 051488BA for ; Wed, 6 Mar 2013 21:50:52 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com [209.85.216.46]) by mx1.freebsd.org (Postfix) with ESMTP id AA464A92 for ; Wed, 6 Mar 2013 21:50:51 +0000 (UTC) Received: by mail-qa0-f46.google.com with SMTP id o13so2840014qaj.5 for ; Wed, 06 Mar 2013 13:50:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=Dc6fAIOA7RMwgHjsMM7rm3xxoBUxxUMnZ8u62OsfdHE=; b=fgpyaAo7t2soT8ysJAkZ8wCdDnaHMJCOMn2wQva2sZbPmzyp2xT+ru2vCJGYyp41EU JpKRXyuCI7qzMwpwSaIvDiOk5CF6rDl4Zgb906iJXhfuMmOeCD/mbSgRB7e2628BgTXl 88Ic/VAntZ2qFsLpVq3weKu/rHD08dazWl5tk81VuYSNbxuID+52WHunC0kG8g8Y6G+2 ige+n779CI7Rg44MakMTKRUzvLrqDZX4u7Lw0VwIuwfizgw5TJZkRea/8OXS8brokON4 LYOzk3fwCxjiPyWqdbChqIsRcAsmdUs6Zg6KQ0U4jmts4dB+Hw1RS7NaFsSOkP56WX0D FsDA== X-Received: by 10.224.178.4 with SMTP id bk4mr46928636qab.70.1362606650868; Wed, 06 Mar 2013 13:50:50 -0800 (PST) Received: from [192.168.2.99] ([96.236.21.119]) by mx.google.com with ESMTPS id pf8sm3863500qeb.7.2013.03.06.13.50.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 13:50:50 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Booting from an aribrary disk in ZFS RAIDZ on 8.x From: Paul Kraus In-Reply-To: <20130305184446.GA81297@polands.org> Date: Wed, 6 Mar 2013 16:50:47 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <5177CF5D-D677-4158-8179-0304D803F531@kraus-haus.org> References: <20130305184446.GA81297@polands.org> To: "freebsd-questions@freebsd.org List" X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQka9k2A6y8aZgGK4Grq4n4MZkvFOFkP5xV7uqVufISLh/FbBuJMTVVO4/FzGuNS6fK1jqTm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 21:50:52 -0000 On Mar 5, 2013, at 1:44 PM, Doug Poland wrote: > I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE > amd64. The kernel build is rather dated from around Feb 2010. >=20 > I have 6 disks in a RAIDZ configuration. All disks were sliced > the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, > swap on index 2 and freebsd-zfs on index 3. >=20 > Given this configuration, I should be able to boot from any of the 6 > disks in the RAIDZ. If this is a true statement, how do I make that > happen from the loader prompt? Boot in terms of root FS or in terms of boot loader ?=20 The boot loader would be set in your BIOS (which physical drive you read = for that). / comes from the zpool/zfs dataset once the boot loader loads = enough code to find and mount the filesystem. That comes from all the = drives in the zpool. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company