Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 16:17:53 -0600
From:      Kurt Touet <ktouet@gmail.com>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: zpool create fails on gpart device
Message-ID:  <2a5e326f0912081417m2586f3dbt92b62e81dd45d2b9@mail.gmail.com>
In-Reply-To: <20091208212355.GA2466@garage.freebsd.pl>
References:  <2a5e326f0912061134s79c05e75td77e6874d409c675@mail.gmail.com> <20091207191048.GB1795@garage.freebsd.pl> <2a5e326f0912071203y35d45205n4566c1bb3260166d@mail.gmail.com> <20091207204012.GD1795@garage.freebsd.pl> <2a5e326f0912071259g840e88ejc9951137380d9f95@mail.gmail.com> <2a5e326f0912072106w58e31924ja8e22dc009665080@mail.gmail.com> <20091208102805.GH1795@garage.freebsd.pl> <2a5e326f0912081137l62abb81ap76f6c69350dc1196@mail.gmail.com> <20091208212355.GA2466@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 8, 2009 at 3:23 PM, Pawel Jakub Dawidek <pjd@freebsd.org> wrote=
:
> On Tue, Dec 08, 2009 at 01:37:29PM -0600, Kurt Touet wrote:
>> kernel: vdev_geom_read_guid:301[1]: Reading guid from iso9660/FreeBSD_In=
stall...
>> kernel: vdev_geom_open_by_guid:449[1]: Search by guid [16452466135488744=
636] failed.
>> kernel: vdev_geom_open_by_path:466[1]: Found provider by name /dev/da1p3=
.
>> kernel: vdev_geom_attach:112[1]: Attaching to da1p3.
>> kernel: vdev_geom_open:521[1]: Provider /dev/da1p3 not found.
>> root: ZFS: vdev failure, zpool=3Ddata type=3Dvdev.open_failed
>
> I don't see how you can run with the fix I committed.
>
> With the fix there should be two such messages:
>
> vdev_geom_open_by_path:466[1]: Found provider by name /dev/da1p3.
>
> One when checking by name+guid and one when checking by name only.
> In you logs there is only one such message, so you are clearly running
> without my latest fix.
>
> Could you paste the output of:
>
> =A0 =A0 =A0 =A0% grep -n vdev_geom_open_by_path /sys/cddl/contrib/opensol=
aris/uts/common/fs/zfs/vdev_geom.c
>
> --
> Pawel Jakub Dawidek =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://ww=
w.wheel.pl
> pjd@FreeBSD.org =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http:=
//www.FreeBSD.org
> FreeBSD committer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Am I Ev=
il? Yes, I Am!
>

# uname -a
FreeBSD freebase 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r200237: Mon Dec
7 22:17:59 CST 2009     k@freebase:/usr/obj/usr/src/sys/GENERIC  amd64

# grep -n vdev_geom_open_by_path
/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
456:vdev_geom_open_by_path(vdev_t *vd, int check_guid)
509:    cp =3D vdev_geom_open_by_path(vd, 1);
519:            cp =3D vdev_geom_open_by_path(vd, 0);

# svn info /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geo=
m.c
Path: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
Name: vdev_geom.c
URL: svn://svn.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/commo=
n/fs/zfs/vdev_geom.c
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 200237
Node Kind: file
Schedule: normal
Last Changed Author: pjd
Last Changed Rev: 200158
Last Changed Date: 2009-12-05 14:16:28 -0600 (Sat, 05 Dec 2009)
Text Last Updated: 2009-12-05 23:53:15 -0600 (Sat, 05 Dec 2009)
Checksum: c1ca9bb1684c2aba028feb187af8de03



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