Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 11:28:05 +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:  <20091208102805.GH1795@garage.freebsd.pl>
In-Reply-To: <2a5e326f0912072106w58e31924ja8e22dc009665080@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>

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

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

On Mon, Dec 07, 2009 at 11:06:18PM -0600, Kurt Touet wrote:
> I've updated to r200237 and I am getting the same error.  Is there
> another way that I can go about troubleshooting this?

I looked at you ktrace closly. Your zpool calls pread(2) four times on
your partition, where in my ktrace I see only one pread(2). Also two of
the pread(2) have invalid offset and get EIO.

Could you show the output of:

	# diskinfo -v /dev/da1{,p3}

Try setting vfs.zfs.debug to 2, then retry the creation and watch logs.

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

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

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

iD8DBQFLHio1ForvXbEpPzQRAja/AKCp0cO7iJKY/BrCw9EYtF/tv3oF3ACdHK7H
kKuMbrBL/N1KweG0lyEkRD4=
=ymLr
-----END PGP SIGNATURE-----

--WIIRZ1HQ6FgrlPgb--



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