From owner-freebsd-questions@FreeBSD.ORG Wed May 23 01:27:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B77AB106567A for ; Wed, 23 May 2012 01:27:53 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06-adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 3BFD98FC08 for ; Wed, 23 May 2012 01:27:53 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoEAFs8vE/LevdH/2dsb2JhbABDsFWEUYIVAQEFOEEQCxgJExIPAkYGDQEHAQGICbsgiwiFPQOIQZxLgno Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 23 May 2012 10:57:52 +0930 Message-ID: <4FBC3C31.30406@ShaneWare.Biz> Date: Wed, 23 May 2012 10:54:01 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120505 Thunderbird/12.0.1 MIME-Version: 1.0 To: "Chris Brennan (lists)" References: <20120520104100.840fd1e7ddf3096c27520885@xaerolimit.net> In-Reply-To: <20120520104100.840fd1e7ddf3096c27520885@xaerolimit.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ZFS mounting order 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: Wed, 23 May 2012 01:27:53 -0000 On 21/05/2012 00:11, Chris Brennan (lists) wrote: > Greetings! > > I have a FreeBSD 9 system with 3 different ZFS pools on it. I am > booting from a ro CF Card w/o any major issues, the problem I am > encountering is that zroot needs to be mounted at boot first, because > it contains /usr, zhome and tank contain other various sub-partitions > of /usr. > > Also, zroot causes me a lot of problems when I try to do "zpool > import", when zpool gets to probing zroot, I get g_vfs errors printed > to the console and the hacnine hangs till I reset it (which is > obviously not acceptable behavior.) I was able to get around this when > booting to my cf card by making / ro, which was my intention all along > for that media.) I suspect this happens because there is a on that > volume that is trying to replace something on / on either the USB boot > img or on my CF card and this might be causing either to freak out. > > So I dunno what to do to get this working the way it should and some > guidence would be greatly appreciated! > Sounds like something I came across and haven't gathered more details to submit a pr yet. I think there is a problem when two zpools have the same mountpoint - either / or legacy or one of each that prevents startup. Also zfs filesystems with matching mountpoints appear to mount together and cause issues, not sure if this extends to existing ufs mount points. Check the mountpoint settings on each filesystem 'zfs get mountpoint' will list them all.