zpool create fails on gpart device

Kurt Touet ktouet at gmail.com
Tue Dec 8 22:17:56 UTC 2009


On Tue, Dec 8, 2009 at 3:23 PM, Pawel Jakub Dawidek <pjd at 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_Install...
>> kernel: vdev_geom_open_by_guid:449[1]: Search by guid [16452466135488744636] 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=data type=vdev.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:
>
>        % grep -n vdev_geom_open_by_path /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
>
> --
> Pawel Jakub Dawidek                       http://www.wheel.pl
> pjd at FreeBSD.org                           http://www.FreeBSD.org
> FreeBSD committer                         Am I Evil? 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 at 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 = vdev_geom_open_by_path(vd, 1);
519:            cp = vdev_geom_open_by_path(vd, 0);

# svn info /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.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/common/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


More information about the freebsd-fs mailing list