我安装了hddtemp
和smartmontools
。我可以完美地看到 的 HDD,/dev/sda
但我无法看到/dev/sdc
我的 USB HDD(sata-usb)。我需要做什么?
我尝试过的命令:
$ sudo hddtemp /dev/sda
/dev/sda: HITACHI HTS545016B9A300: 37°C
$ sudo hddtemp /dev/sdc
/dev/sdc: Mass Storage Device: S.M.A.R.T. not available
$ sudo smartctl -i -d sat /dev/sdc
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.19.0-28-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 2.5" HDD MK..52GSX
Device Model: TOSHIBA MK3252GSX
Serial Number: 19V9C2F6T
LU WWN Device Id: 5 000039 18370861b
Firmware Version: LV010A
User Capacity: 320,072,933,376 bytes [320 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Wed Sep 16 20:54:07 2015 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
按要求编辑:它仅仅是 Ubuntu Server 14.04 x64 无头安装 CLI。
答案1
for i in /dev/sd? ; do sudo hddtemp sata:$i; done