1.软件安装和下载link
https://www.dell.com/support/home/zh-cn/drivers/driversdetails?driverid=j91yg&oscode=rhe70&productcode=poweredge-r640
2.使用手册的link
https://www.dell.com/support/kbdoc/zh-cn/000177280/how-to-use-the-poweredge-raid-controller-perc-command-line-interface-cli-utility-to-manage-your-raid-controller
3.安装percli
rpm -ivh perccli-1.17.10-1.noarch.rpm
ln -sf /opt/MegeRAID/perccli/perccli64 /usr/bin/perccli
4.基本的使用方法
perccli /c0 show -----查看整列卡信息 (c0代表整列卡1)
perccli /c0/eall/sall show ------查看硬盘所有信息 (e代表柜子,s代表槽位)
perccli /c0/eall/s6 set online/offline -----将6号槽位的硬盘强制上线活着下线
perccli /c0/e32/s6 set jbod -----将6号槽位设置成直通盘
perccli /c0/e32/s6 good fore -----将6号槽位设置成raid硬盘
perccli /c0/vall show -----查看所有虚拟磁盘信息
perccli /c0 add vd r5 size=all drivers=32:01,32:02,32:03,32:04 ----将1,2,3,4号硬盘制作成raid5
perccli /c0/v1 del -------将v1raid组删除
perccli /c0/e32/s6 add/delete hotsparedrive ------将6号槽位添加或删除热备盘
perccli /c0/fall show -------查看是否有外部硬盘
perccli /c0/fall import ------导入外部硬盘
perccli /c0 show terlog ------收集整列卡日志