From owner-freebsd-current@FreeBSD.ORG Fri Dec 7 00:33:44 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A4EBF53; Fri, 7 Dec 2012 00:33:44 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7488FC0C; Fri, 7 Dec 2012 00:33:40 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so8796629obc.13 for ; Thu, 06 Dec 2012 16:33:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=b87z0y4nefmi3dpMv8z/7h72Ryz1olCc+F5qHX/jlFI=; b=PG3y49kAesNUOw9GoeWkPmkQU+AZNj9NUwinuzIkcg6x6I8gCEsqEaq38+i0YsMhy/ 1ZxoPVRpzvk7DXqmUeRzJOP+fKYRuGHm9Xa0zOSHpqwqULDzqCVqwGDKHK2LYYwTV/fa HzpWXOZ6gkgcGIXEl3H+EL9nR/PzCVG3vliE7sCcrPTU87s+FGHzY6dXENkXM5eFCyi6 qhCGWIGA/7xyx2Owsj9wZjRrvWIPImaTwkmHJbW5km/M6K1iGKmZxdD3mbCF1ZAlC9h/ dK9XpW9Uo+RR7kCIg+DJOjbK2+c9VzjTHD3VZFAoNZq/3mB9f7t9fpzxLJXFA26o+2hF 6mXQ== MIME-Version: 1.0 Received: by 10.60.25.227 with SMTP id f3mr2414571oeg.17.1354840419528; Thu, 06 Dec 2012 16:33:39 -0800 (PST) Received: by 10.76.143.33 with HTTP; Thu, 6 Dec 2012 16:33:39 -0800 (PST) In-Reply-To: References: <50B6598B.20200@FreeBSD.org> Date: Thu, 6 Dec 2012 16:33:39 -0800 Message-ID: Subject: Re: [HEADSUP] zfs root pool mounting From: Garrett Cooper To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current , freebsd-zfs@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 00:33:44 -0000 On Thu, Dec 6, 2012 at 3:08 PM, Garrett Cooper wrote: ... > Please document the process to make this work in UPDATING (or at least > the fact that this behavior was changed). > > I'm debugging moving from 9.1-RC2 to CURRENT [as of Tuesday] as it > hasn't been as smooth as some of the other upgrades I've done; my > zpool -- root -- is setup with a non-legacy mountpoint, I noticed that > the cachefile attribute is now "None", etc. I have limited capability > with my installed system to debug this because unfortunately there > aren't a ton of CURRENT based livecds around to run from (I might look > into one of gjb's livecds later on if I get super stuck, but I'm > trying to avoid having to do that). gptzfsboot sees the pool with > lsdev, but it gets stuck at the mountroot prompt trying to find the > filesystem. > > I'll wipe my /boot/kernel directory and try building/installing the > kernel again, but right now I'm kind of dead in the water on the > system I'm upgrading :/. I thought r236884 requiring a zpool upgrade was the culprit, but it wasn't. Still stuck at a mountroot prompt (but now I have gjb's liveCD so I can do something about it). Something looks off with zdb -l on CURRENT and STABLE/9. Example on my 9-stable box: # uname -a FreeBSD forza.west.isilon.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r+2fd0a57: Mon Dec 3 12:02:18 PST 2012 gcooper@forza.west.isilon.com:/usr/obj/usr/src/sys/FORZA amd64 # zdb -l sac2 cannot open 'sac2': No such file or directory # zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT sac 95G 69.7G 25.3G 73% 1.00x ONLINE - sac2 232G 117G 115G 50% 1.00x ONLINE - I'm running into the same behavior before and after I upgraded sac/sac2. My git branch is a lightly modified version of FreeBSD, but doesn't contain any ZFS specific changes (I can point you to it if you like to look at it). Would appreciate some pointers on what to do next. Thanks, -Garrett