USB SATAドックがあるコンピュータでは機能しませんが、別のコンピュータでは正常に動作します。

USB SATAドックがあるコンピュータでは機能しませんが、別のコンピュータでは正常に動作します。

ORICO 6629us3-c USB3->SATAドッキングステーションに20TB 1台と6TBハードドライブ1台を取り付けました。

一部のテスト目的では、20TBのディスクを18個のパーティションに分割し、6TBのディスクを6個のパーティションに分割しました。

bonnie++ドライブの既存のXFSファイルシステムで実行できます。しかし、奇妙なことに、XFSファイルシステムを作成しようとするとエラーが発生します。

ドッキングステーションをLenovo ThinkCentre 625qに接続するには:

[ 8636.020479] usb 3-3: new SuperSpeed USB device number 2 using xhci_hcd
[ 8636.037185] usb 3-3: New USB device found, idVendor=152d, idProduct=0565, bcdDevice= 0.09
[ 8636.037258] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 8636.037299] usb 3-3: Product: JMS56x Series
[ 8636.037328] usb 3-3: Manufacturer: JMicron
[ 8636.037355] usb 3-3: SerialNumber: RANDOM__9A993A16EF0C
[ 8636.109870] usbcore: registered new interface driver usb-storage
[ 8636.128928] scsi host2: uas
[ 8636.129629] usbcore: registered new interface driver uas
[ 8636.129750] scsi 2:0:0:0: Direct-Access     TOSHIBA  MG10ACA20TE      0009 PQ: 0 ANSI: 6
[ 8636.136168] scsi 2:0:0:1: Direct-Access     WDC WD60 PURZ-85ZUFY1     0009 PQ: 0 ANSI: 6
[ 8636.141573] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 8636.142119] sd 2:0:0:1: Attached scsi generic sg2 type 0
[ 8636.159694] sd 2:0:0:0: [sdb] 39063650304 512-byte logical blocks: (20.0 TB/18.2 TiB)
[ 8636.160101] sd 2:0:0:0: [sdb] Write Protect is off
[ 8636.160123] sd 2:0:0:0: [sdb] Mode Sense: 67 00 10 08
[ 8636.166799] sd 2:0:0:1: [sdc] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
[ 8636.167159] sd 2:0:0:1: [sdc] Write Protect is off
[ 8636.167203] sd 2:0:0:1: [sdc] Mode Sense: 67 00 10 08
[ 8636.167249] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 8636.167681] sd 2:0:0:1: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 8636.168028] sd 2:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[ 8636.168113] sd 2:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
[ 8636.169532] sd 2:0:0:1: [sdc] Preferred minimum I/O size 4096 bytes
[ 8636.169587] sd 2:0:0:1: [sdc] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
[ 8636.250156]  sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8 sdb9 sdb10 sdb11 sdb12 sdb13 sdb14 sdb15 sdb16 sdb17 sdb18
[ 8636.250408]  sdc: sdc1 sdc2 sdc3 sdc4 sdc5 sdc6
[ 8636.251967] sd 2:0:0:1: [sdc] Attached SCSI disk
[ 8636.255483] sd 2:0:0:0: [sdb] Attached SCSI disk

ここでは以下を実行しますsudo mkfs.xfs -f /dev/sdb18

[ 8658.594644] xhci_hcd 0000:00:10.0: WARN Successful completion on short TX
[ 8688.683344] sd 2:0:0:0: [sdb] tag#15 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT 
[ 8688.683430] sd 2:0:0:0: [sdb] tag#15 CDB: Write(16) 8a 00 00 00 00 09 0c 30 20 20 00 00 04 00 00 00
[ 8688.683957] sd 2:0:0:0: [sdb] tag#14 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT 
[ 8688.684007] sd 2:0:0:0: [sdb] tag#14 CDB: Write(16) 8a 00 00 00 00 09 0c 30 1c 20 00 00 04 00 00 00
[ 8688.686178] sd 2:0:0:0: [sdb] tag#13 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT 
[ 8688.686267] sd 2:0:0:0: [sdb] tag#13 CDB: Write(16) 8a 00 00 00 00 09 0c 30 18 20 00 00 04 00 00 00
[ 8688.686827] sd 2:0:0:0: [sdb] tag#12 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT 
[ 8688.686885] sd 2:0:0:0: [sdb] tag#12 CDB: Write(16) 8a 00 00 00 00 09 0c 30 14 20 00 00 04 00 00 00
[ 8688.687426] sd 2:0:0:0: [sdb] tag#11 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT 
[ 8688.687479] sd 2:0:0:0: [sdb] tag#11 CDB: Write(16) 8a 00 00 00 00 09 0c 30 10 20 00 00 04 00 00 00
[ 8688.688069] sd 2:0:0:0: [sdb] tag#10 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT 
[ 8688.688135] sd 2:0:0:0: [sdb] tag#10 CDB: Write(16) 8a 00 00 00 00 09 0c 30 0c 20 00 00 04 00 00 00
[ 8688.688488] sd 2:0:0:0: [sdb] tag#9 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD 
[ 8688.688541] sd 2:0:0:0: [sdb] tag#9 CDB: Write(16) 8a 00 00 00 00 09 0c 30 08 20 00 00 04 00 00 00
[ 8688.688600] sd 2:0:0:0: [sdb] tag#8 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT 
[ 8688.688653] sd 2:0:0:0: [sdb] tag#8 CDB: Write(16) 8a 00 00 00 00 09 0c 30 24 20 00 00 04 00 00 00
[ 8688.694136] scsi host2: uas_eh_device_reset_handler start
[ 8688.814763] usb 3-3: reset SuperSpeed USB device number 2 using xhci_hcd
[ 8688.828797] usb 3-3: device firmware changed
[ 8688.837304] scsi host2: uas_eh_device_reset_handler FAILED err -19
[ 8688.837358] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 8688.837422] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 8688.837448] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 8688.837474] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 8688.837500] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 8688.837524] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 8688.837546] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 8688.837570] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 8688.837613] sd 2:0:0:0: [sdb] tag#8 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
[ 8688.837648] sd 2:0:0:0: [sdb] tag#8 CDB: Write(16) 8a 00 00 00 00 09 0c 30 24 20 00 00 04 00 00 00
[ 8688.837679] I/O error, dev sdb, sector 38859187232 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 2
[ 8688.837744] sd 2:0:0:0: [sdb] tag#9 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
[ 8688.837785] sd 2:0:0:0: [sdb] tag#9 CDB: Write(16) 8a 00 00 00 00 09 0c 30 08 20 00 00 04 00 00 00
[ 8688.837826] I/O error, dev sdb, sector 38859180064 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 2
[ 8688.837841] sd 2:0:0:0: rejecting I/O to offline device
[ 8688.837890] sd 2:0:0:0: [sdb] tag#10 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
[ 8688.837896] I/O error, dev sdb, sector 38859188256 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 2
[ 8688.837934] sd 2:0:0:0: [sdb] tag#10 CDB: Write(16) 8a 00 00 00 00 09 0c 30 0c 20 00 00 04 00 00 00
[ 8688.837983] I/O error, dev sdb, sector 38859189280 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 2
[ 8688.838003] I/O error, dev sdb, sector 38859181088 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 2
[ 8688.838065] I/O error, dev sdb, sector 38859190304 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 2
[ 8688.838093] sd 2:0:0:0: [sdb] tag#11 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
[ 8688.838213] sd 2:0:0:0: [sdb] tag#11 CDB: Write(16) 8a 00 00 00 00 09 0c 30 10 20 00 00 04 00 00 00
[ 8688.838237] I/O error, dev sdb, sector 38859191328 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 2
[ 8688.838252] I/O error, dev sdb, sector 38859182112 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 2
[ 8688.838349] sd 2:0:0:0: [sdb] tag#12 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
[ 8688.838399] sd 2:0:0:0: [sdb] tag#12 CDB: Write(16) 8a 00 00 00 00 09 0c 30 14 20 00 00 04 00 00 00
[ 8688.838441] I/O error, dev sdb, sector 38859183136 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 2
[ 8688.838496] sd 2:0:0:0: [sdb] tag#13 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
[ 8688.838539] sd 2:0:0:0: [sdb] tag#13 CDB: Write(16) 8a 00 00 00 00 09 0c 30 18 20 00 00 04 00 00 00
[ 8688.838579] I/O error, dev sdb, sector 38859184160 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 2
[ 8688.838628] sd 2:0:0:0: [sdb] tag#14 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
[ 8688.838672] sd 2:0:0:0: [sdb] tag#14 CDB: Write(16) 8a 00 00 00 00 09 0c 30 1c 20 00 00 04 00 00 00
[ 8688.838717] sd 2:0:0:0: [sdb] tag#15 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=30s
[ 8688.838760] sd 2:0:0:0: [sdb] tag#15 CDB: Write(16) 8a 00 00 00 00 09 0c 30 20 20 00 00 04 00 00 00
[ 8688.838834] usb 3-3: USB disconnect, device number 2
[ 8688.847307] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[ 8688.967180] sd 2:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 8688.980177] sd 2:0:0:1: [sdc] Synchronizing SCSI cache
[ 8689.100362] sd 2:0:0:1: [sdc] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

最新のノートパソコンでも同じことがうまくいきます。

ThinkCentreが失敗した理由と考えられる解決策を知っていますか?

答え1

いいですね。素晴らしいコメントと回答をいただいた@ABに感謝します。答えを投稿します。https://unix.stackexchange.com/a/437087/14907

私の特別なケースでは役に立ちましたusb-storage.quirks=152d:0565:u。彼の答えにリストされている他のオプションは役に立ちません。基本的にusb-storage.quirks=152d:0565:fgjt私が観察したものに顕著な影響はありません。

しかし、パフォーマンスへの影響は大きくないようです。ここにいくつかありますボニー++結果。このオプションで使用するようにマークされており、代わりに使用されていusbsます。結果はドライブの最初のTBではなく最後のTBを使用します。直接IOを表します。 「ノートブック」の結果は、最新のノートブックベンチマークと同じです。低い結果が大きいファイルを使用してキャッシュを回避する方が良いかどうか疑問に思います。usb-storageuasendd

徹底的なテストではありませんが、大きなパフォーマンス低下がないことを示すのに十分だと思います。私は遅延報告に多くのランダム性があると思います。実際、私はシーケンシャル書き込みの結果を主に信じており、シーケンシャルリードも少し信じています。他のすべては、キャッシュとCPUの速度に大きな影響を受けているようです。

参考までに、「シーケンシャル入力/出力」 - >「すべての文字」 - >「M /秒」は実際には「k /秒」ですが、bon_csv2htmlツールはそのようにハードコードすることができますM

ここに画像の説明を入力してください。

関連情報