新接手了一台Linux服务器,准备检查是否有配置RAID。
先查看是否有RAID卡:
复制代码 代码如下:
# dmesg|grep -i raid
mptsas: ioc0: attaching raid volume, channel 1, id 0
device-mapper: dm-raid45: initialized v0.2594l
md: Autodetecting RAID arrays.
很明显是有的,只是无法确定RAID卡的类型是ioc0还是dm-raid45,于是开始百度。后来找到了这样一个工具:mpt-status,而且在下载界面里,有这样几句话:
mpt-status: get status of LSI 1030 RAID (mptlinux, fusion, mpt, ioc) controller
This driver has many names. As best I understand their use:
LSI 1030
The make and model of the controller
mptlinux
The name of the driver distribution. /proc/mpt/version might say, for example, mptlinux-2.05.11.03.
Fusion
The trade name for the chipset ("_blank" href="http://sven.stormbind.net/mpt-status-rhel/">http://sven.stormbind.net/mpt-status-rhel/
接着下载安装:rpm -ihv mpt-status-1.2.0_RC7-3.i386.rpm
建立字符设备:mknod /dev/mptctl c 10 220
加载内核模块mptctl:modprobe mptctl
查看RAID状态:
复制代码 代码如下:
# mpt-status
ioc0 vol_id 0 type IM, 2 phy, 465 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 8 ATA WDC WD5002ABYS-1 3B04, 465 GB, state ONLINE, flags NONE
ioc0 phy 0 scsi_id 1 ATA WDC WD5002ABYS-1 3B04, 465 GB, state ONLINE, flags NONE
可以看出,该RAID由两块465G的物理硬盘组成,状态良好。可问题是,RAID级别是多少(0,1,5...)呢?
于是接着百度。
但这次没有结果。
后来在mpt-status的文档(/usr/share/doc/mpt-status-1.2.0_RC7/FAQ )里看到这样一句话:
> 1) Could you tell me from example #1, #2 and #3 where can you see the Raid Level of each hard disk "_blank" href="http://sven.stormbind.net/mpt-status-rhel/">http://sven.stormbind.net/mpt-status-rhel/
RAID,mpt-status
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
更新日志
- 【小提琴】陈立新《思乡曲》2004[FLAC+CUE]
- 《战地》新作明年初大规模测试!EA已内部测试一年
- 《GTAOL》PC版时隔多年更新反作弊!小助手宣布跑路
- EA称AI是其业务核心!能提高开发效率、节约成本
- 卫华.1990-太阳升【BMG】【WAV+CUE】
- 呼吸乐队.1992-THEBREATHING【深飞】【WAV+CUE】
- 李玟.2008-1994-2008豪华典藏精选2CD【SONY】【WAV+CUE】
- 《张学友 再现歌神的光辉岁月 梦想成真 2CD》[WAV/分轨][1.2GB]
- 《海来阿木 高音测试王》[WAV+CUE][500MB]
- 《许巍 歌声给你生命的力量 珍藏许巍 3CD》[WAV/分轨][2GB]
- 《直到黎明重制版》配置要求推荐
- 《赛博朋克2077》2.13版本更新内容一览
- 《神话时代:重述版》评测:粉丝们的朝花夕拾
- 战锤40K星际战士2先锋职业介绍|先锋职业技能效果一览
- 战锤40K星际战士2重装职业介绍|重装职业技能效果一览