全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别
查看: 1207|回复: 0
打印 上一主题 下一主题

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

[复制链接]
跳转到指定楼层
1#
发表于 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|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-6-7 20:22 , Processed in 0.061784 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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