zoukankan      html  css  js  c++  java
  • 在线配置raid

    Exit Code: 0x00

    rpm -ivh MegaCli-8.07.14-1.noarch.rpm
    ls /opt/MegaRAID/MegaCli/
    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAL
    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll
    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll | more
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:0] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aAll
    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL -Nolog|grep '^Firm'
    /opt/MegaRAID/MegaCli/MegaCli64 -AdpGetProp -enablejbod -aALL
    /opt/MegaRAID/MegaCli/MegaCli64 -h
    /opt/MegaRAID/MegaCli/MegaCli64 -AdpSetProp -EnableJBOD -o -aALL
    /opt/MegaRAID/MegaCli/MegaCli64 -AdpSetProp -EnableJBOD -0 -aALL
    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL -Nolog|grep '^Firm'
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:0] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aAll
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:1] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:2] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:3] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:4] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:5] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:6] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:7] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:8] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:9] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:10] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [22:11] WB Direct -a0
    /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aAll
    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL -Nolog|grep '^Firm'
    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL -Nolog|grep '^RAID'
    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL -Nolog|grep '^RAI'
    /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aAll | grep RAID
    /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aAll | grep Size


    ./MegaCli64 -pdInfo -PhysDrv[22:8] –a0

    ./MegaCli64 -cfglddel -L9 -a0

    umount /dev/sdj
    ./MegaCli64 -CfgLdDel -L9 -a0
    ./MegaCli64 -pdInfo -PhysDrv[22:8] –a0
    格式化
    重新挂盘
    创建目录

    Enclosure Device ID: 22
    Slot Number: 2

    [root@dyhadoop14 MegaCli]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 427G 76G 330G 19% /
    tmpfs 63G 0 63G 0% /dev/shm
    /dev/sda1 194M 34M 151M 19% /boot
    /dev/sdb1 3.7T 1.4T 2.1T 40% /disk1
    /dev/sdc1 3.7T 1.2T 2.4T 33% /disk2
    /dev/sdd1 3.7T 1.4T 2.1T 40% /disk3
    /dev/sde1 3.7T 1.3T 2.2T 38% /disk4
    /dev/sdf1 3.7T 608G 2.9T 18% /disk5
    /dev/sdg1 3.7T 1.4T 2.1T 41% /disk6
    /dev/sdh1 3.7T 1.3T 2.2T 38% /disk7
    /dev/sdi1 3.7T 1.4T 2.1T 41% /disk8
    /dev/sdj1 3.7T 1.4T 2.1T 40% /disk9
    /dev/sdl1 3.7T 1.4T 2.1T 41% /disk11
    /dev/sdm1 3.7T 183G 3.3T 6% /disk12
    /dev/sdk1 3.7T 438G 3.1T 13% /disk10

    #查看磁盘组和槽位关系
    /opt/MegaRAID/MegaCli/MegaCli64 -cfgdsply –aALL | grep -E "DISK GROUP|Slot Number"

    fdisk -l | grep GPT | sort

    -PDlist -aALL | grep "ID" | uniq


    netstat -an | grep 9000

    /etc/fstab

  • 相关阅读:
    MicroMessage的动态操作(第二步)
    preparement 为什么能防sql注入
    谈MicroMessageTest的开始创建
    关于类的全称什么时候用点什么时候用路径的斜杠
    做一个消息自动回复,但是回复内容可以在网页上面输入,用input接收,错了,别人有新增选项,本身就是在页面进行新增,页面维护
    java.sql.Types可以查mysql相关的数据类型
    Navicate一个有用的注册码
    Java中导入、导出Excel
    扁平化
    CentOS-6.5安装配置Tomcat-7
  • 原文地址:https://www.cnblogs.com/qpanda/p/7832522.html
Copyright © 2011-2022 走看看