Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 15:23:19 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Ali Mashtizadeh <mashtizadeh@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ZFS with USB "SCSI"
Message-ID:  <20070615132319.GC37295@garage.freebsd.pl>
In-Reply-To: <440b3e930706140907j636074e3l195b3798fef97298@mail.gmail.com>
References:  <440b3e930706140907j636074e3l195b3798fef97298@mail.gmail.com>

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

--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 <unkno=
wn>
> 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--



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