|
今天才开出来的,想看硬盘时间
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 [x86_64-linux-4.4.0-92-generic] (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 [cciss_disk_00] [SCSI/SAT] failed: INQUIRY [SAT]:
另一台10o上就可以正常获取:
# smartctl -a -d cciss,0 /dev/sda
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.12.5-041205-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda [cciss_disk_00] [SAT]: 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 [1.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: Not in smartctl database [for details use: -P showall]
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 |
|