Date: Wed, 9 Dec 2009 13:17:48 -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: <2a5e326f0912091117x708968edlcde85a8997d1232b@mail.gmail.com> In-Reply-To: <20091209083631.GC2466@garage.freebsd.pl> References: <2a5e326f0912061134s79c05e75td77e6874d409c675@mail.gmail.com> <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> <20091209083631.GC2466@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--001636284e4ad8fa71047a508b0a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Dec 9, 2009 at 2:36 AM, Pawel Jakub Dawidek <pjd@freebsd.org> wrote= : > 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 >> >> Does 132[1]: g_access() failed =A0 help you out? > > We are getting closer:) > > I'd need the output of those command: > > =A0 =A0 =A0 =A0# gpart list da1 | grep -A3 'Name: da1p3' | tail -1 > =A0 =A0 =A0 =A0# sysctl -b kern.geom.confxml > > If the first command gives you 'r0w0e0' then we would need this updated > patch: > > =A0 =A0 =A0 =A0http://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. > > -- > 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! > # gpart list da1 | grep -A3 'Name: da1p3' | tail -1 Mode: r0w0e0 The output from sysctl -b kern.geom.confxml is attached. I will grab the patch and send back results from that later today. -kurt --001636284e4ad8fa71047a508b0a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a5e326f0912091117x708968edlcde85a8997d1232b>