我是靠谱客的博主 无聊小刺猬,最近开发中收集的这篇文章主要介绍LSI 硬 RAID 激活(storcli命令),觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

未激活RAID的磁盘会显示“UBad”状态。

查看磁盘状态

storcli /call show
-----------------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model                  Sp 
-----------------------------------------------------------------------------
252:0     7 UBad  -  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-03UL1B3 U  
252:1     6 UBad  -  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-03UL1B3 U  
252:4     5 UBad  -  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-03UL1B3 U  
252:5    77 UBad  -  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-03UL1B3 U  
-----------------------------------------------------------------------------

将状态置为UGood

storcli /call /eall /sall set good
Controller = 0
Status = Success
Description = Set Drive Good Succeeded.
storcli /call show
-----------------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model                  Sp 
-----------------------------------------------------------------------------
252:0     7 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-03UL1B3 U  
252:1     6 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-03UL1B3 U  
252:4     5 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-03UL1B3 U  
252:5    77 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-03UL1B3 U  
-----------------------------------------------------------------------------

查看未激活RAID信息

storcli /call /fall show
Controller = 0
Status = Success
Description = Operation on foreign configuration Succeeded


FOREIGN CONFIGURATION :
=====================

----------------------------------------
DG EID:Slot Type  State      Size NoVDs 
----------------------------------------
 0 -        RAID5 Frgn  10.914 TB     1 
----------------------------------------

NoVDs - Number of VDs in disk group|DG - Diskgroup
Total foreign drive groups = 1

激活RAID

storcli /call /fall import

“`
Controller = 0
Status = Success
Description = Successfully imported foreign configuration
““

最后

以上就是无聊小刺猬为你收集整理的LSI 硬 RAID 激活(storcli命令)的全部内容,希望文章能够帮你解决LSI 硬 RAID 激活(storcli命令)所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(39)

评论列表共有 0 条评论

立即
投稿
返回
顶部