From owner-freebsd-geom@FreeBSD.ORG Wed Nov 5 16:17:40 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93FFA106579D; Wed, 5 Nov 2008 16:17:40 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF678FC26; Wed, 5 Nov 2008 16:17:39 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA10797; Wed, 05 Nov 2008 18:03:53 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4911C3E9.405@icyb.net.ua> Date: Wed, 05 Nov 2008 18:03:53 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: freebsd-geom@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: zfs: affected by geom_(mbr|bsd) => geom_part_(mbr|bsd) ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 16:17:40 -0000 Using GENERIC amd64 7-BETA2 system (installed from "official" ISO) I partitioned my disk for ZFS root file system more or less as described here: https://ish.com.au/solutions/articles/freebsdzfs Big difference is that I created a separate slice to contain a partition for ZFS pool, so that ZFS pool is ad4s2d (and UFS2 boot is ad4s1a). Everything was fine, ZFS root was mounted as expected. Then I built a custom kernel with nooptions for GEOM_(BSD|MBR) and options for GEOM_PART_(BSD|MBR). When I tried to boot this kernel it couldn't mount ZFS root and I simply rebooted my machine when I stuck at mountroot prompt (I couldn't enter UFS2 root because of unrelated keyboard problem). The boot was verbose and I didn't see any peculiar GEOM or GEOM_PART messages (errors, warnings). I'll try to debug this further by booting into UFS root and running gpart, but I'd like to ask for an advice upfront. Can something like this be rationally expected? Is there a way to make ZFS see its pool again (when booted into UFS root)? Thank you! -- Andriy Gapon