From owner-freebsd-current@FreeBSD.ORG Fri Jun 15 13:23:27 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29E1C16A400 for ; Fri, 15 Jun 2007 13:23:27 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 7E69913C45A for ; Fri, 15 Jun 2007 13:23:26 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4AD2148806; Fri, 15 Jun 2007 15:23:25 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id D737548801; Fri, 15 Jun 2007 15:23:20 +0200 (CEST) Date: Fri, 15 Jun 2007 15:23:19 +0200 From: Pawel Jakub Dawidek To: Ali Mashtizadeh Message-ID: <20070615132319.GC37295@garage.freebsd.pl> References: <440b3e930706140907j636074e3l195b3798fef97298@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0vzXIDBeUiKkjNJl" Content-Disposition: inline In-Reply-To: <440b3e930706140907j636074e3l195b3798fef97298@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: ZFS with USB "SCSI" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 13:23:27 -0000 --0vzXIDBeUiKkjNJl Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 14, 2007 at 12:07:28PM -0400, Ali Mashtizadeh wrote: > Hi has anyone used ZFS with a external USB drive. I seem to get ZFS trying >=20 > The disk is mostly empty so these write errors are mostly at the beginnin= g. > Is there a problem with UMASS and ZFS or should I update my > 7.0-CURRENT(about 2-3 weeks old). I used to have a UFS filesystem on > this drive and it > worked flawlessly. ZFS sometimes silently ignores most of these errors but > when I start copying lots and lots of files it gives a lot of errors and > Panics. >=20 > ... a bunch of errors like these: > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=3DWDPassport > path=3D/dev/da0s2d offset=3D4260626432 size=3D131072 error=3D5 > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=3DWDPassport > path=3D/dev/da0s2d offset=3D4260757504 size=3D131072 error=3D5 > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=3DWDPassport > path=3D/dev/da0s2d offset=3D4260888576 size=3D131072 error=3D5 > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=3DWDPassport > path=3D/dev/da0s2d offset=3D4261019648 size=3D131072 error=3D5 > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: = 2a > 0 2 f6 4f 9e 0 0 80 0 > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI > Status Error > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): SCSI Status: Che= ck > Condition > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST > asc:21,0 > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): Logical block > address out of range > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): Unretryable error > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=3DWDPassport > path=3D/dev/da0s2d offset=3D4261150720 size=3D131072 error=3D5 > Jun 12 17:14:02 redqueen syslogd: kernel boot file is /boot/kernel/kernel > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: = 2a > 0 2 f6 4d 9e 0 0 80 0 > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI > Status Error > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): SCSI Status: Che= ck > Condition > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST > asc:21,0 > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): Logical block > address out of range > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): Unretryable error > Jun 12 17:14:02 redqueen kernel: panic: ZFS: I/O failure (write on > off 0: zio 0xffffff00240db000 [L0 ZFS plain file] 20000L/20000P > DVA[0]=3D<0:fd9a0000:20000> fletcher2 uncompressed LE contiguous birth=3D= 2447 > fill=3D1 > cksum=3D5df9a1c34a151f29:ef04006d2a7312e2:f22e3b20440a3f6:c154faf2be8dc79= d) > Jun 12 17:14:02 redqueen kernel: cpuid =3D 0 > Jun 12 17:14:02 redqueen kernel: Uptime: 46m5s > Jun 12 17:14:02 redqueen kernel: Physical memory: 881 MB > Jun 12 17:14:02 redqueen kernel: Dumping 220 MB: 205 189 173 157 141 125 = 109 > 93 77 61 45 29 13 > Jun 12 17:14:02 redqueen kernel: Dump complete > Jun 12 17:14:02 redqueen kernel: Automatic reboot in 15 seconds - press a > key on the console to abort > Jun 12 17:14:02 redqueen kernel: --> Press a key on the console to reboot, > Jun 12 17:14:02 redqueen kernel: --> or switch off the system now. > Jun 12 17:14:02 redqueen kernel: Rebooting... Can you show me the output of: # diskinfo -v /dev/da0s2d # zpool list --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --0vzXIDBeUiKkjNJl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGcpLHForvXbEpPzQRAkU4AJ9zpx7KbunhgTYuArbtbcSYJGJ0GQCgxdhI HzZHIngj0L5ufgbtNl52f3Y= =hFay -----END PGP SIGNATURE----- --0vzXIDBeUiKkjNJl--