我们想知道 - 单个存储卷读取或写入的速度有多快,以兆字节/秒为单位
例如 - 125MBps 吞吐量。
所以我们使用该smartctl
命令来捕获 XXXMBps 吞吐量。价值
但我们没有从 smartctl 找到此信息
还有其他选择吗?
smartctl -a /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-514.26.2.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: DL1800MM0159
Revision: ST51
User Capacity: 1,800,360,124,416 bytes [1.80 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
Lowest aligned LBA: 0
Formatted with type 2 protection
Logical block provisioning type unreported, LBPME=0, LBPRZ=0
Rotation Rate: 10000 rpm
Form Factor: 2.5 inches
Logical Unit id: 0x5000c500bc73d273
Serial number: WBN12G02
Device type: disk
Transport protocol: SAS
Local Time is: Tue Jul 19 10:49:47 2022 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Disabled or Not Supported
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature: 19 C
Drive Trip Temperature: 60 C
Manufactured in week 46 of year 2018
Specified cycle count over device lifetime: 10000
Accumulated start-stop cycles: 19
Specified load-unload count over device lifetime: 300000
Accumulated load-unload cycles: 1380
Elements in grown defect list: 0
Vendor (Seagate) cache information
Blocks sent to initiator = 421312352
Blocks received from initiator = 4275942608
Blocks read from cache and sent to initiator = 4194898282
Number of read and write commands whose size <= segment size = 316377477
Number of read and write commands whose size > segment size = 3066756
Vendor (Seagate/Hitachi) factory information
number of hours powered up = 29286.85
number of minutes until next internal SMART test = 9
Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 2663961716 5 0 2663961721 5 29253.063 0
write: 0 0 22 22 22 118463.418 0
verify: 64194 0 0 64194 0 0.000 0
Non-medium error count: 3382
No self-tests have been logged
这个...
...将为可用设备提供一个很好的表格(不包括循环:s)。从 NAME 列中选择一件事并在此处用作 $dev ...
哦,你需要这个:
$ sudo apt install hdparm