[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with USB disk



On Fri, Oct 22, 2010 at 10:17:13AM -0500, Hugo Vanwoerkom wrote:
> Hugo Vanwoerkom wrote:
> >lee wrote:
> >>Hi,
> >>
> >>I´m having trouble copying files for backup purposes to an USB disk
> >>with rsync. Copying the files sometimes fails with "Input/output error
> >>(5)", and I´m getting messages in the syslog like these:
> 
> <snip>
> 
> This is what I get:
> 
> Oct 22 08:02:43 debian kernel: [    7.497113] scsi 2:0:0:0:
> Direct-Access     WDC WD80 0JD-60LUA0       07.0 PQ: 0 ANSI: 4
> Oct 22 08:02:43 debian kernel: [    7.498323] sd 2:0:0:0: Attached
> scsi generic sg2 type 0
> Oct 22 08:02:43 debian kernel: [    7.503713] sd 2:0:0:0: [sdb]
> 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
> Oct 22 08:02:43 debian kernel: [    7.504205] sd 2:0:0:0: [sdb]
> Write Protect is off
> Oct 22 08:02:43 debian kernel: [    7.504209] sd 2:0:0:0: [sdb] Mode
> Sense: 11 00 00 00
> Oct 22 08:02:43 debian kernel: [    7.504213] sd 2:0:0:0: [sdb]
> Assuming drive cache: write through
> Oct 22 08:02:43 debian kernel: [    7.505953] sd 2:0:0:0: [sdb]
> Assuming drive cache: write through
> Oct 22 08:02:43 debian kernel: [    7.506198]  sdb: sdb1 sdb2 sdb3
> sdb4 < sdb5 sdb6 sdb7 >
> Oct 22 08:02:43 debian kernel: [    7.576973] sd 2:0:0:0: [sdb]
> Assuming drive cache: write through
> Oct 22 08:02:43 debian kernel: [    7.577226] sd 2:0:0:0: [sdb]
> Attached SCSI disk
> Oct 22 08:02:43 debian kernel: [    7.656147] usb-storage: device
> scan complete
> Oct 22 08:02:43 debian kernel: [    7.658638] scsi 3:0:0:0:
> Direct-Access     ST380211 0A               0000 PQ: 0 ANSI: 0
> Oct 22 08:02:43 debian kernel: [    7.659826] sd 3:0:0:0: Attached
> scsi generic sg3 type 0
> Oct 22 08:02:43 debian kernel: [    7.660254] sd 3:0:0:0: [sdc]
> 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
> Oct 22 08:02:43 debian kernel: [    7.661121] sd 3:0:0:0: [sdc]
> Write Protect is off
> Oct 22 08:02:43 debian kernel: [    7.661126] sd 3:0:0:0: [sdc] Mode
> Sense: 27 00 00 00
> Oct 22 08:02:43 debian kernel: [    7.661130] sd 3:0:0:0: [sdc]
> Assuming drive cache: write through
> Oct 22 08:02:43 debian kernel: [    7.663831] sd 3:0:0:0: [sdc]
> Assuming drive cache: write through
> Oct 22 08:02:43 debian kernel: [    7.664134]  sdc: sdc1 sdc2 sdc3
> sdc4 < sdc5 sdc6 sdc7 >
> Oct 22 08:02:43 debian kernel: [    7.708878] sd 3:0:0:0: [sdc]
> Assuming drive cache: write through
> Oct 22 08:02:43 debian kernel: [    7.709144] sd 3:0:0:0: [sdc]
> Attached SCSI disk


Hm, I´m getting pretty much the same when connecting the disk:


[127807.610058] usb 2-6: new high speed USB device using ehci_hcd and
address 5
[127807.768237] usb 2-6: configuration #1 chosen from 1 choice
[127807.768684] scsi11 : SCSI emulation for USB Mass Storage devices
[127807.768916] usb-storage: device found at 5
[127807.768922] usb-storage: waiting for device to settle before
scanning
[127812.760328] usb-storage: device scan complete
[127812.767162] scsi 11:0:0:0: Direct-Access     SAMSUNG  HD154UI
1AG0 PQ: 0 ANSI: 0
[127812.767896] sd 11:0:0:0: Attached scsi generic sg6 type 0
[127812.770125] sd 11:0:0:0: [sdf] 2930277168 512-byte logical blocks:
(1.50 TB/1.36 TiB)
[127812.771516] sd 11:0:0:0: [sdf] Write Protect is off
[127812.771526] sd 11:0:0:0: [sdf] Mode Sense: 23 00 00 00
[127812.771533] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[127812.772996] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[127812.773004]  sdf: sdf1 sdf2 sdf3
[127812.791485] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[127812.791498] sd 11:0:0:0: [sdf] Attached SCSI disk


The internal SATA disks have "Write cache: enabled, read cache:
enabled". What is this supposed to tell me, where´s the difference? It
could be important if there´s a problem with contents of the disks
internal cache not being written before I turn it off.


Reply to: