From owner-freebsd-fs@FreeBSD.ORG Tue Dec 8 10:28:13 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 61FD7106568B for ; Tue, 8 Dec 2009 10:28:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id A265B8FC0C for ; Tue, 8 Dec 2009 10:28:12 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9B6F045D8D; Tue, 8 Dec 2009 11:28:10 +0100 (CET) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 965F045CD9; Tue, 8 Dec 2009 11:28:05 +0100 (CET) Date: Tue, 8 Dec 2009 11:28:05 +0100 From: Pawel Jakub Dawidek To: Kurt Touet Message-ID: <20091208102805.GH1795@garage.freebsd.pl> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIIRZ1HQ6FgrlPgb" Content-Disposition: inline In-Reply-To: <2a5e326f0912072106w58e31924ja8e22dc009665080@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 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: Tue, 08 Dec 2009 10:28:13 -0000 --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--