Oracle® x86 服务器诊断、应用程序和实用程序指南

退出打印视图

更新时间: 2014 年 4 月
 
 

storage srt

storage srt 命令可对单个设备(如果已指定)或所有存储设备运行 Sequential Read Test (srt)。命令将在 -time 标志指定的时间内运行测试。测试将从块 0 或 -s 标志指定的块开始,依次从设备中读取块。默认设置为运行一次测试,直到所有块均经过测试。

命令语法

udiag storage srt { all | <device_name> } [ RANGE ] [ TIME ]

选项

选项
说明
all
对所有块存储设备运行测试。
<device_name>
必须以 HDDxxSATAxxUSBxxVHDxxVFD01 形式输入,其中 xx 表示设备索引。可以通过运行 udiag storage info 命令查找设备索引。此命令列出了所有块设备。
RANGE = -s <start_address> [-e <end_address>]
设置存储设备的范围。
-s <start_address>
指定起始逻辑块地址 (Logical Block Address, LBA) 并以十六进制格式输入。
-e <end_address>
指定结束 LBA 并以十六进制格式输入。默认为设备上的最后一个 LBA。
TIME = -time <n>
设置测试的持续时间。
-time <n>
以十六进制指定最长测试时间(秒)。默认值为 0,表示没有时间限制。测试运行完成。

资源要求

BSP_ONLY;ONE_INSTANCE_ONLY

示例

要对所有设备运行测试直到它们完成测试,请键入:

fs0:/> udiag storage srt all

要在 HDD01 上从块 100 开始运行测试,请键入:

fs0:/> udiag storage srt HDD01 -s 64

要在 HDD02 上从块 16 到块 4096 运行 2 小时测试,请键入:

fs0:/> udiag storage srt HDD02 -time 1c20 -s 10 -e 1000