Date: Sat, 11 Jul 2009 17:05:11 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: "Henri Hennebert" <hlh@restart.be>, "Ronald Klop" <ronald-freebsd8@www.klop.ws> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: Zfs on usb-disk checksum errors? Message-ID: <op.uwwr6xed8527sy@82-170-177-25.ip.telfort.nl> In-Reply-To: <4A54727D.9080205@restart.be> References: <op.uwqpe0sn8527sy@82-170-177-25.ip.telfort.nl> <4A54727D.9080205@restart.be>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 08 Jul 2009 12:18:37 +0200, Henri Hennebert <hlh@restart.be> wrote: > Ronald Klop wrote: >> Hi. >> I put zfs on my external usb-disk, so I can backup my harddisk with >> zfs send/receive. >> I now have corruption on this volume. >> [root@sjakie ~]# zpool status -v >> pool: extern >> state: ONLINE >> status: One or more devices has experienced an error resulting in data >> corruption. Applications may be affected. >> action: Restore the file in question if possible. Otherwise restore the >> entire pool from backup. >> see: http://www.sun.com/msg/ZFS-8000-8A >> scrub: scrub completed after 0h2m with 0 errors on Wed Jul 8 00:35:09 >> 2009 >> config: >> NAME STATE READ WRITE CKSUM >> extern ONLINE 1 0 0 >> da0 ONLINE 9 0 0 >> errors: Permanent errors have been detected in the following files: >> <0x3f>:<0xf5d6> >> I don't really understand which files have corruption. :-( >> In my syslog is this: (repeated quite often) >> Jul 8 10:00:37 sjakie kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE >> CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 >> Jul 8 10:00:37 sjakie kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI >> Status Error >> Jul 8 10:00:37 sjakie kernel: (da0:umass-sim0:0:0:0): SCSI Status: >> Check Condition >> Jul 8 10:00:37 sjakie kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST >> asc:20,0 >> Jul 8 10:00:37 sjakie kernel: (da0:umass-sim0:0:0:0): Invalid command >> operation code >> Jul 8 10:00:37 sjakie kernel: (da0:umass-sim0:0:0:0): Unretryable error >> > I experience the same error with 'Kingston DataTraveler II 1.13'. I > simply add in /usr/src/sys/dev/usb/usbdevs: > > product KINGSTON DATATRAVELER_2 0x1600 DAtaTraveler II > > (VENDOR was already in the file). > > and in sys/dev/usb/storage/umass.c: > > { USB_VENDOR_KINGSTON, USB_PRODUCT_KINGSTON_DATATRAVELER_2, > RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, > NO_SYNCHRONIZE_CACHE }, > Note the flag NO_SYNCHRONIZE_CACHE and everything return to normal. > > PS - I encounter this problem on 7.2_STABLE with the MFC of ZFS v13. > > Henri Thanks a lot. I owe you a beer! It works great now. Ronald.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.uwwr6xed8527sy>