Date: Wed, 9 Dec 2009 09:36:31 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Kurt Touet <ktouet@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: zpool create fails on gpart device Message-ID: <20091209083631.GC2466@garage.freebsd.pl> In-Reply-To: <2a5e326f0912082024n4a3a0dfau983df9e0dc07f7ac@mail.gmail.com> 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> <20091208232046.GB2466@garage.freebsd.pl> <2a5e326f0912082024n4a3a0dfau983df9e0dc07f7ac@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--VywGB/WGlW4DM4P8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 08, 2009 at 10:24:22PM -0600, Kurt Touet wrote: > kernel: vdev_geom_open_by_path:472[1]: Found provider by name /dev/da1p3. > kernel: vdev_geom_attach:112[1]: Attaching to da1p3. > kernel: vdev_geom_attach:132[1]: g_access() failed > kernel: vdev_geom_open:527[1]: Provider /dev/da1p3 not found. > root: ZFS: vdev failure, zpool=3Ddata type=3Dvdev.open_failed >=20 > Does 132[1]: g_access() failed help you out? We are getting closer:) I'd need the output of those command: # gpart list da1 | grep -A3 'Name: da1p3' | tail -1 # sysctl -b kern.geom.confxml If the first command gives you 'r0w0e0' then we would need this updated patch: http://people.freebsd.org/~pjd/patches/vdev_geom.c.patch It looks like when your pool is trying to open provider it is already open by someone else. This is strange, because you said you can newfs and mount it without problems, so maybe something opens it temporairly. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --VywGB/WGlW4DM4P8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFLH2GOForvXbEpPzQRAgYWAKDgPyBpI9ate4f5sSzk8Z1cVNBjDwCg4hJ4 nYwiCbd3AUE+jMgiqdpE07c= =IsI/ -----END PGP SIGNATURE----- --VywGB/WGlW4DM4P8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091209083631.GC2466>