立即注册  找回密码
 立即注册
CeraNetworksBGVM服务器主机交流会员请立即修改密码Sharktech防护
查看: 85|回复: 0

10o用smartctl获取不到硬盘时间

[复制链接]

10o用smartctl获取不到硬盘时间

[复制链接]

22

主题

40

回帖

276

积分

中级会员

积分
276
ada1984

22

主题

40

回帖

276

积分

中级会员

积分
276
2017-8-16 00:46:54 | 显示全部楼层 |阅读模式
今天才开出来的,想看硬盘时间
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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|小黑屋|HS2V主机综合交流论坛

GMT+8, 2024-11-24 20:46 , Processed in 0.015867 second(s), 2 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表