|
在kernel 2.6.11(已经打过libata-dev patch),使用hdpram -C /dev/sda检测SATA drive power mode status,返回的结果一直是standby,实际上SATA drive是active mode,使用smarttools正常。Log如下:
# ./hdparm -C /dev/sda
/dev/sda:
drive state is: standby
#
# ./hdparm -C /dev/sda
/dev/sda:
drive state is: standby
# ./hdparm -C /dev/sda
/dev/sda:
drive state is: standby
# ./hdparm -S 60 /dev/sda
/dev/sda:
setting standby to 60 (5 minutes)
# ./hdparm -C /dev/sda
/dev/sda:
drive state is: standby
# ./hdparm -C /dev/sda
/dev/sda:
drive state is: standby
# ./hdparm -C /dev/sda
/dev/sda:
drive state is: standby
#
# ./smartctl -i -d ata /dev/sda
smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: ST380011AS
Serial Number: 4MR38NQT
Firmware Version: 3.00
User Capacity: 80,026,361,856 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: ATA/ATAPI-6 T13 1410D revision 2
Local Time is: Thu Feb 7 12:12:18 2036 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
#
那位大侠有这方面的经验啊,指点一下!! |
|