From owner-freebsd-questions@FreeBSD.ORG Tue Jun 21 20:16:00 2011 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 4EDA3106579C for ; Tue, 21 Jun 2011 20:16:00 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 142648FC18 for ; Tue, 21 Jun 2011 20:15:59 +0000 (UTC) Received: by qwc9 with SMTP id 9so93429qwc.13 for ; Tue, 21 Jun 2011 13:15:59 -0700 (PDT) Received: by 10.224.70.143 with SMTP id d15mr5307398qaj.171.1308687359313; Tue, 21 Jun 2011 13:15:59 -0700 (PDT) Received: from gmail.com (ool-435056c7.dyn.optonline.net [67.80.86.199]) by mx.google.com with ESMTPS id g11sm1013882qcm.3.2011.06.21.13.15.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Jun 2011 13:15:57 -0700 (PDT) Date: Tue, 21 Jun 2011 16:15:54 -0400 From: Chris Brennan To: FreeBSD Questions Message-ID: <20110621201553.GA29153@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: ZFS on Root 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, 21 Jun 2011 20:16:00 -0000 OK, So I got ZFS installed on this new box, I had to loose two disks due to them being faulty, so I removed the IDE expansion card and booted from an SD card, all went well (according to this guide -> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror). I adjusted the instructions there for only one disk though and will worry about adding the others to the zpool after the fact and the system has booted on it's own. The problem is this, the system starts to boot but then fails to find zfs:tank, I get dropped to the mountroot prompt with the following advise: Trying to mount root from zfs:tank ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom=zfs:tank vfs.root.mountfrom.options=rw Manual root filesystem specifications: : Mount using filesystem eg: ufs:/dev/da0s1a eg: cd9660:/dev/acd0 This is equivalent to: mount -t cd9660 /dev/acd0 / ? List valid disk boot devices Abort manual input mountroot> ? List of GEOM managed disk devices: ufsid/47ce961fb53808acd ufsid/47ce961fb53808ac ad6s1d ad6s1 ad7 ad6 ad5 gptit/f6af4300-9c1a-11e0-b38d-000ea68c8b0e gpt/disk0 gpt/f6a70bb3-9c1a-11e0-b38d-000ea68c8b0e gpt/swap0 gpt/f6a4de0c-9c1a-11e0-b8d-000ea68c8b0e ad4p3 ad4p2 ad3p1 ad4 <8 lines repeat from above> So what did I miss? I was able to follow the instructions without fail, the only instruction I had to do on my own was to create /tank/boot/zfs first to copy the cpool.cache over. All the other instructions worked with issue, the first time. This is the second time I've done this on this box in two days, the first time I made a mistake, so I scripted the instructions (rather crudely) to ensure I did things correctly, each portion of the script was modified to reflected how I wanted my system to be (mostly changing zpool as the pool name to tank. I can make the scripts available if someone would like to look at them. -- > Chris Brennan > -- > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------