10o用smartctl获取不到硬盘时间
今天才开出来的,想看硬盘时间raid0配置,用的命令是
smartctl -a -d cciss,0 /dev/sda
smartctl -a -d cciss,1 /dev/sda
运行以后报错误:
# smartctl -a -d cciss,0 /dev/sda
smartctl 6.5 2016-01-24 r4214 (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
CCISS ioctl error 3 (fd -1 CDBLen 12 buf_size 16392)
Smartctl open device: /dev/sda failed: INQUIRY :
另一台10o上就可以正常获取:
# smartctl -a -d cciss,0 /dev/sda
smartctl 6.5 2016-01-24 r4214 (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda : Device open changed type from 'sat,auto+cciss' to 'sat'
=== START OF INFORMATION SECTION ===
Device Model: MB1000EBNCF
Serial Number: WCAW32354711
LU WWN Device Id: 5 0014ee 2060208d2
Firmware Version: HPG0
User Capacity: 1,000,204,886,016 bytes
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: Not in smartctl database
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is:SATA 2.6, 3.0 Gb/s
Local Time is: Tue Aug 15 18:43:07 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
页:
[1]