zoukankan      html  css  js  c++  java
  • DELL(linux 系统里系统掉盘)(阵列Foreign)命令行里重做阵列

    故障现象 (阵列Foreign 系统下重做阵列)

    例:四合一机器(DELL_XENCOMPA09) 有四个硬盘

    如图 少认到一个

    df  -h 

    fdisk -l 2>/dev/null | grep 'Disk /dev/'  -c

     

    /opt/MegaRAID/MegaCli/MegaCli64   -LdInfo -Lall –aALL  可以确认认到几个盘

     

    查看1

    cat /proc/scsi/scsi

     

    dmesg |grep -i raid

     

    1.查看RAID卡的设备号

    /opt/MegaRAID/MegaCli/MegaCli64  -PDList -aAll |grep "Device ID"

     

     2.查看Slot ID,有没有错序的情况

    /opt/MegaRAID/MegaCli/MegaCli64  -PDList -aAll |grep "Slot"

     

    3.查看Foreign信息

    /opt/MegaRAID/MegaCli/MegaCli64  -PDList -aAll |grep "Foreign State"

     

    4.清除Foreign信息

    /opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -Clear -a0

    5.再查看

    /opt/MegaRAID/MegaCli/MegaCli64  -PDList -aAll |grep "Foreign State"

     

    6重新做RAID,在Slot2做RAID0

     

    7确认认到4个

    fdisk -l 2>/dev/null | grep 'Disk /dev/'  -c

    fdisk -l 2>/dev/null | grep 'Disk /dev/' 

     

    /opt/MegaRAID/MegaCli/MegaCli64   -LdInfo -Lall –aALL  可以确认认到几个盘

    有享不了的福 没有受不了的苦
  • 相关阅读:
    spring reference
    Connector for Python
    LDAP
    REST
    java利用泛型实现不同类型可变参数
    java细节知识
    事务隔离的级别
    servlet cdi注入
    session and cookie简析
    CORS’s source, principle and implementation
  • 原文地址:https://www.cnblogs.com/blkqyd/p/6980391.html
Copyright © 2011-2022 走看看