smartctl---查看硬件接口

1、查看磁盘信息:

 

#smartctl -i /dev/sda

smartctl 5.42 2011-10-20 r3458 [x86_64-linux-2.6.18-308.16.1.el5] (local build)

Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

 

Smartctl open device: /dev/sda failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'

2、查看做了raid的磁盘信息:

 

#smartctl -a -d megaraid,0 /dev/sda

其megaraid,0中的0代表的是在megaraid中的物理盘编号

 

3、smartctl命令 -d 参数:

-d TYPE, --device=TYPE

         Specify device type to one of: ata, scsi, sat[,N][+TYPE], usbcypress[,X], usbjmicron[,x][,N], usbsunplus, marvell, areca,N, 3ware,N, hpt,L/M/N, megaraid,N, cciss,N, auto, test

 

http://blog.51cto.com/shouhouzhe/1555491

posted @   seasonzone  阅读(4564)  评论(0编辑  收藏  举报
编辑推荐:
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
历史上的今天:
2014-12-07 Redis 集群方案
点击右上角即可分享
微信分享提示