From owner-freebsd-fs@FreeBSD.ORG Mon Jan 2 06:27:15 2012 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1293106566B; Mon, 2 Jan 2012 06:27:15 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B1C628FC08; Mon, 2 Jan 2012 06:27:15 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so17285273obb.13 for ; Sun, 01 Jan 2012 22:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=DIxWHvrrLL9xMvdWeHAc7/mZHQe8hpSdFu4l5CpXi/g=; b=LsRdeZWZZ4x15tqk80aGLsYLTGfoNNoc89JU/nvK5Xz/RrKZOxWLXGvt1xBgvv2f2L amQPpPuFNQyZR8SalIEQR3WHXsG+6OEh7C3ouvrH4Hp+WZ5nizZ1ZjlaejYWO67w/XJA jV6YvL0C5O0gqPtgaSr4LKs3TXh+G2GaZfp6c= MIME-Version: 1.0 Received: by 10.182.159.70 with SMTP id xa6mr40992253obb.1.1325483907833; Sun, 01 Jan 2012 21:58:27 -0800 (PST) Received: by 10.182.152.6 with HTTP; Sun, 1 Jan 2012 21:58:27 -0800 (PST) Date: Sun, 1 Jan 2012 21:58:27 -0800 Message-ID: From: Garrett Cooper To: Pawel Jakub Dawidek Content-Type: text/plain; charset=ISO-8859-1 Cc: re@freebsd.org, fs@freebsd.org Subject: r227705 broke my ZFS on root boot X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 06:27:16 -0000 Pawel and Releng, I spent over 5 hours today debugging my stable-9 RC2 -> PRERELEASE upgrade not working, and I've finally come to the conclusion that r227705 completely broke my boot. This commit is in 9.0-RC{2,3}, and probably needs to be redone. Bottom line is what happens is that when it boots it fails to find the bootfs ("/"), and thus when I do ls in gptzfsboot it says "Hmmm... nothing here boss!" when it tries to load /boot/kernel/kernel . I saw this before (around RC1) and wrote it off as local changes, because I preemptively MFCed r226549, r226551, r226552, r226553, r226568, r226611 as I thought the changes were pertinent to ZFS runtime and not boottime. I unmerged r226549, minus the open_disk changes and magically everything works again... So, what next? My setup: $ uname -a FreeBSD bayonetta.local 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0 r229187M: Sun Jan 1 14:39:27 PST 2012 gcooper@bayonetta.local:/usr/obj/store/freebsd/stable/9/sys/BAYONETTA amd64 $ zfs list NAME USED AVAIL REFER MOUNTPOINT sac 71.1G 819G 1.01G / sac/scratch 67.5G 819G 62.4G /scratch sac/scratch/freenas 5.08G 819G 4.14G /scratch/freenas sac/scratch/freenas/FreeBSD 965M 819G 928M /scratch/freenas/FreeBSD sac/usr 2.38G 819G 2.38G /usr sac/var 150M 819G 150M /var store 1.04T 765G 1.04T /store store/freebsd 4.11G 765G 4.11G /store/freebsd store/home 39.0M 765G 39.0M /usr/home $ zpool get bootfs,cachefile sac store NAME PROPERTY VALUE SOURCE sac bootfs sac local sac cachefile - default store bootfs - default store cachefile - default I don't have any noticeable changes in the sys directory that would impact this functionality, but I'll be more than happy to share if interested. Thanks, -Garrett