大网数据广告活动
服务器运维问答

HP Ultrium 1840 LTO-4 slow write speeds

· 52CE 我爱测

I have an HP StorageWorks Ultrium 1840 LTO-4 external tape drive attached to a machine running Ubuntu 18.04.4 LTS (kernel 4.15.0-99-generic) using an LSI20320IE PCI-X x4 SCSI adaptor with a VHDCI to HD cable. Writing to the tape …

问题原文

原帖链接 · Richard · CC BY-SA 4.0

I have an HP StorageWorks Ultrium 1840 LTO-4 external tape drive attached to a machine running Ubuntu 18.04.4 LTS (kernel 4.15.0-99-generic) using an LSI20320IE PCI-X x4 SCSI adaptor with a VHDCI to HD cable.

Writing to the tape drive is slow and involves a lot of shoe-shining. It maxes out at about 36MB/s. That is an order of magnitude slower than it should be capable of.

I have tried connecting the tape drive to an older machine using an Adaptec 29160 PCI SCSI adaptor and an HD to HD cable. The write speed of the tape drive was pretty much exactly the same (36MB/s).

The hard drives are usually able to transfer data between each other in excess of 150MB/s. But just to check that it wasn't a hard drive or SATA bus limitation, I fed the tape drive from /dev/urandom via buffer and it was still maxing out at about 36MB/s.

I suspect the problem is either with the tape drive itself or at OS level, not the SCSI adaptor or cable. Perhaps there is an mt command to change a setting on the tape drive. How can I diagnose and fix the problem?

Edit: The HP L&TT diagnostic test produces the following output:

    - Firmware rev B56D is out-of-date for Ultrium 4-SCSI as of Thu May 26 19:00:00 2011; update to rev B63D.
    - Rule 19.0 (Performance & Config./Scsi configuration):
    - The current SCSI configuration is likely to be limiting the performance of the drive.
    - Please check that your HBA is the correct type for the drive and that the cabling is good.
    - Current SCSI configuration: narrow   Recommended: wide
    - Current SCSI transfer rate limited to: 40 MB/sec.   Recommended: 320 MB/sec. or better
    - There were 20 rules and 141 subrules checked.
    - Device Analysis completed, and warnings have been reported.

So it looks like the adaptor is detecting the link as narrow instead of wide. That would explain the speed problems. But what could cause that?

已采纳解答

原帖链接 · BaronSamedi1958 · CC BY-SA 4.0

You don’t have differential cabling so HBA is switching into UltraWide mode. Get proper cable in between your HBA and SCSI device.

https://ask.adaptec.com/app/answers/detail/a_id/11007/~/scsi-standards-%2F-transfer-rates-%2F-bus-width-%2F-cable-length

(mixing LVD and SE is what’s limiting your performance)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-05-20)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。