From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 18:58:00 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72269FC2 for ; Wed, 24 Sep 2014 18:58:00 +0000 (UTC) Received: from mri-mail.musicreports.com (smtp-relay.musicreports.com [38.98.50.162]) by mx1.freebsd.org (Postfix) with ESMTP id 50394BA0 for ; Wed, 24 Sep 2014 18:57:59 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mri-mail.musicreports.com (Postfix) with ESMTP id C3FC25688055 for ; Wed, 24 Sep 2014 11:50:15 -0700 (PDT) X-Virus-Scanned: amavisd-new at mri-mail.musicreports.com Received: from mri-mail.musicreports.com ([127.0.0.1]) by localhost (mri-mail.musicreports.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dVZX+FZQANeB for ; Wed, 24 Sep 2014 11:50:06 -0700 (PDT) Received: from mri-mail.musicreports.com (mri-mail.musicreports.com [192.168.20.65]) by mri-mail.musicreports.com (Postfix) with ESMTP id 352835688059 for ; Wed, 24 Sep 2014 11:50:06 -0700 (PDT) Date: Wed, 24 Sep 2014 11:50:05 -0700 (PDT) From: "James D. Parra" To: freebsd-questions@freebsd.org Message-ID: <1157838160.22637287.1411584605776.JavaMail.root@musicreports.com> In-Reply-To: <1824032893.22625840.1411582831037.JavaMail.root@musicreports.com> Subject: Booting from ZFS mirror (post install) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.20.220] X-Mailer: Zimbra 7.2.4_GA_2900 (ZimbraWebClient - GC37 (Win)/7.2.4_GA_2900) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 18:58:00 -0000 Hello, I installed to a single disk with "/" on ZFS. After using "dd" to mirror the partitions from disk one to disk two, I added the second disk, ada1s1d, to the zfs pool. # zpool status pool: tank0 state: ONLINE scan: resilvered 7.81G in 0h3m with 0 errors on Wed Sep 17 12:55:46 2014 config: NAME STATE READ WRITE CKSUM tank0 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada0s1d ONLINE 0 0 0 ada1s1d ONLINE 0 0 0 The following is mounted; # mount tank0 on / (zfs, local, noatime, nfsv4acls) devfs on /dev (devfs, local, multilabel) /dev/label/boot0 on /boot-mount (ufs, local, noatime) procfs on /proc (procfs, local) linprocfs on /compat/linux/proc (linprocfs, local) tank0/usr on /usr (zfs, local, noatime, nfsv4acls) tank0/var on /var (zfs, local, noatime, nfsv4acls) This is the output of gpart show; t# gpart show => 63 1953525105 ada0 MBR (931G) 63 1953 - free - (976k) 2016 1953523152 1 freebsd (931G) => 0 1953523152 ada0s1 BSD (931G) 0 2097152 1 freebsd-ufs (1.0G) 2097152 809500672 2 freebsd-swap (386G) 811597824 1141925328 4 freebsd-zfs (544G) => 63 1953525105 ada1 MBR (931G) 63 1953 - free - (976k) 2016 1953523152 1 freebsd (931G) => 0 1953523152 ada1s1 BSD (931G) 0 2097152 1 freebsd-ufs (1.0G) 2097152 809500672 2 freebsd-swap (386G) 811597824 1141925328 4 freebsd-zfs (544G) The problem is that I cannot boot from the 2nd disk. I see that /boot-mount is UFS, so I must have missed a step, or more, in getting the 2nd disk bootable. I get the following error when booting from it. Trying to mount root from zfs:tank0:[]... Mounting from zfs:tank0 failed with error 2 Load variables vfs.root.mountfrom=zfs:tank0 Any ideas on how I can get the 2nd disk to boot? (Sorry for the long post) Thank you in advance. James