Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2009 00:27:44 +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:  <20091209232744.GB4177@garage.freebsd.pl>
In-Reply-To: <2a5e326f0912091320t25ecf91ag90daa5e36029c0f4@mail.gmail.com>
References:  <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> <2a5e326f0912091117x708968edlcde85a8997d1232b@mail.gmail.com> <2a5e326f0912091320t25ecf91ag90daa5e36029c0f4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--o7gdRJTuwFmWapyH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 09, 2009 at 03:20:31PM -0600, Kurt Touet wrote:
> With the patch:
>=20
> # sysctl vfs.zfs.debug=3D1
> vfs.zfs.debug: 0 -> 1
>=20
> # zpool create data /dev/da1p3
> cannot create 'data': permission denied
>=20
[...]
> kernel: vdev_geom_open_by_path:487[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_attach:136[1]: cp=3D0xffffff0002b70480 r0w0e0 geom=3Dzf=
s::vdev class=3DZFS::VDEV
> kernel: vdev_geom_attach:136[1]: cp=3D0xffffff000263bd00 r1w0e1 geom=3Dda=
1p3 class=3DLABEL

So some label keeps it open exclusively. Could you also send the output of:

	# glabel list

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--o7gdRJTuwFmWapyH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFLIDJvForvXbEpPzQRAh0/AJ9TfBCwh/itQMYNZnF7jcz/XFE1PQCfcIHd
s0ZPROAptdDeHn4mF5Z/sqU=
=PVon
-----END PGP SIGNATURE-----

--o7gdRJTuwFmWapyH--



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