一个Sun Blade X6270 M2服务器模块有四个146GB磁盘 ,但正在运行的RHEL5-x64操作系统只能find一个146GB的磁盘。 我猜想四个磁盘中有两个是RAID 1卷 – 一个是操作系统发现的。 剩下的两个磁盘未使用。
我需要一个工具来(至less) 显示当前的RAIDconfiguration,并configuration另外两个磁盘来创build一个新的RAIDfunction,并将其提供给操作系统 。
你知道有什么工具可以实现吗?
我尝试使用ILOM-CMM,但没有find磁盘驱动器信息。
提前感谢
sas2ircu是获取该信息的Avago技术工具。 不需要安装 – 该工具是一个单一的二进制文件( 点击此处浏览下载页面 )。
# ./sas2ircu LSI Corporation SAS2 IR Configuration Utility. Version 11.00.00.03 (2011.10.14) Copyright (c) 2009-2011 LSI Corporation. All rights reserved. SAS2IRCU: No command specified. sas2ircu <controller #> <command> <parameters> ... where <controller #> is: Number between 0 and 255 where <command> is: DISPLAY - display controller, volume and physical device info LIST - Lists all available LSI adapters (does not need ctlr #> CREATE - create an IR volume DELETE - Delete entire RAID configuration on the selected controller DELETEVOLUME - Delete a specific RAID Volume on the selected controller HOTSPARE - make drive a hot spare STATUS - display current volume status info CONSTCHK - Start Consistency Check operation on the specified IR Volume ACTIVATE - Activate an Inactive IR volume LOCATE - Locate a disk drive on an enclosure LOGIR - Upload or Clear IR Log data BOOTIR - Select an IR Boot Volume as primary boot device BOOTENCL - Select an Enclosure/Bay as primary boot device HELP - Display help information where <parameters> are: Command specific values; enter "sas2ircu <controller #> <command>" to get command specific help
sas2ircu命令需要一个控制器编号(或索引)。 该控制器号由list命令给出:
# ./sas2ircu list LSI Corporation SAS2 IR Configuration Utility. Version 11.00.00.03 (2011.10.14) Copyright (c) 2009-2011 LSI Corporation. All rights reserved. Adapter Vendor Device SubSys SubSys Index Type ID ID Pci Address Ven ID Dev ID ----- ------------ ------ ------ ----------------- ------ ------ 0 SAS2008 1000h 72h 00h:01h:00h:00h 1000h 3180h
您知道控制器ID,您可以使用status命令获取有关RAID卷的信息:
# ./sas2ircu 0 status LSI Corporation SAS2 IR Configuration Utility. Version 11.00.00.03 (2011.10.14) Copyright (c) 2009-2011 LSI Corporation. All rights reserved. Background command progress status for controller 0... IR Volume 1 Volume ID : 902 Current operation : None Volume status : Enabled Volume state : Optimal Volume wwid : 0c73f86fdc7305cf Physical disk I/Os : Not quiesced SAS2IRCU: Command STATUS Completed Successfully. SAS2IRCU: Utility Completed Successfully.
或者使用display命令获取所有的细节:
# ./sas2ircu 0 display LSI Corporation SAS2 IR Configuration Utility. Version 11.00.00.03 (2011.10.14) Copyright (c) 2009-2011 LSI Corporation. All rights reserved. Read configuration has been initiated for controller 0 ------------------------------------------------------------------------ Controller information ------------------------------------------------------------------------ Controller type : SAS2008 BIOS version : 7.03.04.00 Firmware version : 4.05.52.00 Channel description : 1 Serial Attached SCSI Initiator ID : 0 Maximum physical devices : 831 Concurrent commands supported : 1775 Slot : 0 Segment : 0 Bus : 1 Device : 0 Function : 0 RAID Support : Yes ------------------------------------------------------------------------ IR Volume information ------------------------------------------------------------------------ IR volume 1 Volume ID : 902 Status of volume : Okay (OKY) Volume wwid : 0c73f86fdc7305cf RAID level : RAID1 Size (in MB) : 139236 Physical hard disks : PHY[0] Enclosure#/Slot# : 1:0 PHY[1] Enclosure#/Slot# : 1:1 ------------------------------------------------------------------------ Physical device information ------------------------------------------------------------------------ Initiator at ID #0 Device is a Hard disk Enclosure # : 1 Slot # : 0 SAS Address : 5000cca-0-0ad9-9d21 State : Optimal (OPT) Size (in MB)/(in sectors) : 140009/286739328 Manufacturer : HITACHI Model Number : H103014SCSUN146G Firmware Revision : A2A8 Serial No : 001039FVP2DE GUID : 5000cca00ad99d20 Protocol : SAS Drive Type : SAS_HDD Device is a Hard disk Enclosure # : 1 Slot # : 1 SAS Address : 5000cca-0-0ad9-6fd5 State : Optimal (OPT) Size (in MB)/(in sectors) : 140009/286739328 Manufacturer : HITACHI Model Number : H103014SCSUN146G Firmware Revision : A2A8 Serial No : 001039FVL1WE GUID : 5000cca00ad96fd4 Protocol : SAS Drive Type : SAS_HDD Device is a Hard disk Enclosure # : 1 Slot # : 2 SAS Address : 5000cca-0-0ad7-ed1d State : Hot Spare (HSP) Size (in MB)/(in sectors) : 140009/286739328 Manufacturer : HITACHI Model Number : H103014SCSUN146G Firmware Revision : A2A8 Serial No : 001039FUS9HE GUID : 5000cca00ad7ed1c Protocol : SAS Drive Type : SAS_HDD Device is a Hard disk Enclosure # : 1 Slot # : 3 SAS Address : 5000cca-0-0ad8-59d9 State : Hot Spare (HSP) Size (in MB)/(in sectors) : 140009/286739328 Manufacturer : HITACHI Model Number : H103014SCSUN146G Firmware Revision : A2A8 Serial No : 001039FUZJZE GUID : 5000cca00ad859d8 Protocol : SAS Drive Type : SAS_HDD ------------------------------------------------------------------------ Enclosure information ------------------------------------------------------------------------ Enclosure# : 1 Logical ID : 500605b0:028cd7c0 Numslots : 8 StartSlot : 0 ------------------------------------------------------------------------ SAS2IRCU: Command DISPLAY Completed Successfully. SAS2IRCU: Utility Completed Successfully.
在这里您可以看到内部SAS磁盘的RAIDconfiguration:2个磁盘用于RAID-1卷和2个热备用磁盘。
感谢Pascal Kreyer的回答 。