首页 > Operation System > linux下直接看磁盘设备的raid信息

linux下直接看磁盘设备的raid信息

2009年3月17日 哈哈 发表评论 阅读评论

今天碰到个需求
要在linux系统下看某个磁盘设备的raid信息(服务器自带raid卡的)
早先记得/proc下能看
于是就在/proc下翻

cd /proc
grep -r raid *

太慢(grep)了
中止掉
自己一个一个去找
终于在目录/proc/driver/cciss/下找到了
这个目录下的文件cciss?(“?”代表一个数字)的内容就含有raid信息
(注意:盘柜上的raid信息这里是看不了的)

原创文章,转载请注明: 转载自嘻嘻哈哈的部落格(blog)

本文链接地址: linux下直接看磁盘设备的raid信息

分类: Operation System 标签: , ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word