Zfs on usb-disk checksum errors?
Ronald Klop
ronald-freebsd8 at klop.yi.org
Sat Jul 11 15:05:15 UTC 2009
On Wed, 08 Jul 2009 12:18:37 +0200, Henri Hennebert <hlh at 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 at 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.
More information about the freebsd-stable
mailing list