Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2008 17:55:11 +0100
From:      "=?ISO-8859-1?Q?Marius_N=FCnnerich?=" <marius@nuenneri.ch>
To:        "Andriy Gapon" <avg@icyb.net.ua>
Cc:        freebsd-fs@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: zfs: affected by geom_(mbr|bsd) => geom_part_(mbr|bsd) ?
Message-ID:  <b649e5e0811050855rd14434h32c1355bdbf6bf6b@mail.gmail.com>
In-Reply-To: <4911C3E9.405@icyb.net.ua>
References:  <4911C3E9.405@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 5, 2008 at 5:03 PM, Andriy Gapon <avg@icyb.net.ua> wrote:
>
> 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)?

Afaict geom_part is a little bit more concerned about the correctness
of the partition tables. I think it's possible that you have a bug in
your tables which doesn't matter for geom_mbr or geom_bsd but for
geom_part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e0811050855rd14434h32c1355bdbf6bf6b>