我在 USB 机箱中有一个非常旧的 2.5" IDE 驱动器,它会出现一些缓冲区 I/O 错误。我试图用它smartctl
来看看 SMART 怎么说,但我无法让它工作。作为root
,如果我只是写:
#> smartctl --all /dev/sde
Run Code Online (Sandbox Code Playgroud)
smartctl
答案:
/dev/sde: Unknown USB bridge [0x14cd:0x6600 (0x201)]
Smartctl: please specify device type with the -d option.
Run Code Online (Sandbox Code Playgroud)
因此,我尝试-d TYPE
了帮助摘要中的所有可用方法,并通过以下方式获得了最佳结果:
#> smartctl --all -d scsi /dev/sde
Run Code Online (Sandbox Code Playgroud)
输出:
Vendor: IC25N030
Product: ATMR04-0
User Capacity: 30,005,821,440 bytes [30,0 GB]
Logical block size: 512 bytes
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
>> Terminate command early due to bad response to IEC mode …
Run Code Online (Sandbox Code Playgroud)