日志查询
日志查询
storcli /c0 show events
storcli /c0 show termlog type=config
storcli /c0 show all | sed -n "/Event Log/,/^$/p" | head -60| 内容 | 盘上下线、重建、策略调整、电池状态 |
|---|---|
| 保留策略 | 环形缓冲,容量有限,故障后尽快导出 |
| 提交厂商 | 与 TTY log、-AdpAllInfo 打包提交 |
时间戳与操作系统/BMC 不一致时先记录时差,再合并时间线,避免误判因果顺序。
storcli /c0 show events 列出控制器事件;配合 show all 的 timestamp 与 termlog,构成排障时间线的基础材料。
storcli /c0 show events
storcli /c0 show termlog type=config
storcli /c0 show all | sed -n "/Event Log/,/^$/p" | head -60| 内容 | 盘上下线、重建、策略调整、电池状态 |
|---|---|
| 保留策略 | 环形缓冲,容量有限,故障后尽快导出 |
| 提交厂商 | 与 TTY log、-AdpAllInfo 打包提交 |