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  可以确认认到几个盘

    有享不了的福 没有受不了的苦
  • 相关阅读:
    JSP获取input(含正则表达式)
    Computability 7: Exercises
    Network 5: Data Link Layer
    PRML 7: The EM Algorithm
    PRML 6: SVD and PCA
    PRML 5: Kernel Methods
    PRML 4: Generative Models
    Computability 6: Reducibility
    Distributed Hash Table
    Network 4: Network Layer
  • 原文地址:https://www.cnblogs.com/blkqyd/p/6980391.html
Copyright © 2011-2022 走看看