设备名称:[root@DB232 shell]# cat /proc/scsi/scsi Attached devices:Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: DELL Model: PERC 5/i Rev: 1.03 Type: Dire...
分类:
其他好文 时间:
2015-07-07 14:35:03
阅读次数:
385
MegaCli这个命令可以用来监控raid状态、磁盘状况等,最近上了一批ubuntu系统跑openstack,问题是MegaCli在官网上只有rpm格式的包,没有deb的包,但是还是有办法解决的,rpm包也是可以在debian&&ubuntu上安装的。 可以到下列连接下载最新的zip文件包:?1.....
分类:
系统相关 时间:
2015-06-30 17:45:50
阅读次数:
183
此操作会把所有没有加入RAID的盘创建一个RAID1并加入。
/opt/MegaRAID/MegaCli/MegaCli64-CfgAllFreeDrvr1WBNORACachedCachedBadBBU-a0
分类:
其他好文 时间:
2015-06-18 22:26:01
阅读次数:
230
背景: 由于Megacli以及hpacucli工具查看raid、硬盘信息时不方便查看,特编写shell脚本格式处理,方便管理。showdisk.sh 1 #!/bin/bash 2 ## useage: check raid info 3 ## check HP or DELL server 4 ....
分类:
其他好文 时间:
2015-06-15 16:09:08
阅读次数:
326
新版本的 MegaCli-1.01.24-0.i386.rpm (下载地址:http://www.lsi.com/downloads/Public/MegaRAID Common Files/8.02.16_MegaCLI.zip )该包会把程序安装在/opt下,当然也可以自定义安装目录,例如:rp...
分类:
其他好文 时间:
2015-06-13 18:34:11
阅读次数:
171
1.显示Rebuid进度/opt/MegaRAID/MegaCli/MegaCli64 -PDRbld -ShowProg -physdrv[20:2] -aALL2.查看E S/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll -NoLog | grep -...
分类:
其他好文 时间:
2015-06-13 06:17:42
阅读次数:
5811
shell
MegaCli的相关shell脚本
shell分析swap分区被哪些程序占用(stress模拟环境)
shell的单、多、控制进程
shell脚本日志清理和压缩
在shell脚本里显示带颜色的字(linux)
shell批量检查N个网站地址是否正常(debian/centos)
shellmuttmsmtp发邮件
shell脚本备份服务并上传
shel..
分类:
其他好文 时间:
2015-05-26 10:52:58
阅读次数:
186
1、catmegacli.sh
#!/bin/bash
#--------------------------------------------------
#Created:2015-05-22
#Author:jimmygong
#Mail:jimmygong@taomee.com
#Function:
#Version:1.0
#--------------------------------------------------
functionmegacliaction()
{
megacmd="..
分类:
系统相关 时间:
2015-05-22 09:52:53
阅读次数:
219
有4类,这4类可以同时存在,一般需要更高精度才使用外部,内部定时器受芯片温度影响精度,但有些片上资源只能通过内部时钟驱动 HSI ? 内部高速 LSI ? 内部低速 HSE ?外部高速 LSE ? 外部低速 用来驱动CPU的时...
分类:
其他好文 时间:
2015-05-15 10:54:26
阅读次数:
164
======================================Debian============================================
一、Debian下安装Megacli命令
1、当前版本
cat/etc/debian_version
5.0.1
2、安装包
apt-get-yinstallaxel--force-yes
apt-get-yinstallunzip--force-yes
apt-get-yinstallrpm--for..
分类:
其他好文 时间:
2015-05-13 19:59:46
阅读次数:
746