From owner-freebsd-fs@FreeBSD.ORG Wed Dec 9 19:17:50 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5535106566C; Wed, 9 Dec 2009 19:17:50 +0000 (UTC) (envelope-from ktouet@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 49F828FC1E; Wed, 9 Dec 2009 19:17:49 +0000 (UTC) Received: by yxe1 with SMTP id 1so6334541yxe.3 for ; Wed, 09 Dec 2009 11:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=XBo9x7zwJzTMv01kfmgSLdh3iIggZNV0bfx24Q5pKrk=; b=lIlTEh8YhgcsT+8N2E9ZFZvYMR2o9UW7Jm4KC/I9lgvb3kGHf26jjhJra0Xw0O8oBN hA9shJD2ymkBY+hgvZwoDfwoAPLXtPVBY6KVsRvG4OpbmFvReYfb3Ecf0mqH5We2sfZq F9aTau2i9m8RZraP9s5IP2Orl5YFMTiSF69i4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hqQY86n8AMnGxSRDS2H98pZueL2QB9Q+5BSQuiSLpk7RTJVh0gblZ3HZDEYUFD86Ge zTlGjVEXH5Q3+etpKgvGCASSLS44fIwb5Z6QwXNsHFGw+rVTKt71umvawxkw6umn2m6D FHyPwBuXe+0umwiCgzPTb/y2PBQ94hJgQ0u20= MIME-Version: 1.0 Received: by 10.90.253.16 with SMTP id a16mr2586604agi.3.1260386269063; Wed, 09 Dec 2009 11:17:49 -0800 (PST) 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> Date: Wed, 9 Dec 2009 13:17:48 -0600 Message-ID: <2a5e326f0912091117x708968edlcde85a8997d1232b@mail.gmail.com> From: Kurt Touet To: Pawel Jakub Dawidek Content-Type: multipart/mixed; boundary=001636284e4ad8fa71047a508b0a X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: zpool create fails on gpart device X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 19:17:50 -0000 --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 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--