sh HBA和驱动器固件闪烁片段

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh HBA和驱动器固件闪烁片段相关的知识,希望对你有一定的参考价值。

# Read all drives in pool into a file first, extracting just the WWNs of the drives.
# In this example we are using p01 as pool name and assuming disks havin names starting
# with c0t5000.
# zpool status p01|awk '/c0t5000/ {print $1}' > disks
# Next, print only the first device from each mirror:
# awk '{if(NR%2==1) {print $0}}' disks > p01-first-half.txt
# Then, print only the second device from each mirror:
# awk '{if(NR%2==0) {print $0}}' disks > p01-second-half.txt

while read line; do
    zpool offline poolB ${line} ;
    sleep 2 ;
    rtdmgr -confirm -flashlsi \
    Firmware/Xyratex/XRBA_x006_MuskiePlus_SAS.lod /dev/rdsk/${line}s0 ;
    sleep 5 ; zpool online poolB ${line} ; sleep 2 ; 
done < /root/poolB-second-half.txt

以上是关于sh HBA和驱动器固件闪烁片段的主要内容,如果未能解决你的问题,请参考以下文章

第七章 LED将为我闪烁:控制发光二极管

Linux驱动——LED闪烁

调用 replace() 方法后片段闪烁/闪烁

ESXI 6.5安装hba卡驱动

R7800的固件怎么刷

ESXI安装网卡或HBA卡驱动