for i in /dev/sd? ; do sudo hddtemp sata:$i; done
Eu instalei hddtemp
e smartmontools
. Consigo ver perfeitamente o HDD de /dev/sda
, mas não consigo fazer o mesmo com /dev/sdc
, que é o meu USB HDD (sata-usb). O que preciso fazer?
Comandos que experimentei:
$ 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
editado por solicitação: É um CLI de instalação sem cabeça do Ubuntu Server 14.04 x64 apenas.
for i in /dev/sd? ; do sudo hddtemp sata:$i; done