2012年1月12日木曜日

ディスクの保守ランプ点灯太郎

DELL R310についてるコントローラー(PERC H200 Adapter)で
ディスクの保守ランプを点灯させる方法だーお

事前に、dellでだしてるomreport,omconfigをインストールしとくこと。


#事前にディスクの情報を確認
#vdisk
/opt/dell/srvadmin/bin/omreport storage vdisk controller=0
Virtual Disk 0 on Controller PERC H200 Adapter (Slot 2)

Controller PERC H200 Adapter (Slot 2)
ID : 0
Status : Ok
Name : Virtual Disk 0
State : Ready
Hot Spare Policy violated : Not Assigned
Virtual Disk Bad Blocks : Not Applicable
Secured : Not Applicable
Progress : Not Applicable
Layout : RAID-1
Size : 232.25 GB (249376538624 bytes)
Device Name : /dev/sda
Bus Protocol : SATA
Media : HDD
Read Policy : Not Applicable
Write Policy : Not Applicable
Cache Policy : Not Applicable
Stripe Element Size : 64 KB
Disk Cache Policy : Disabled

#pdisk確認
/opt/dell/srvadmin/bin/omreport storage pdisk controller=0
List of Physical Disks on Controller PERC H200 Adapter (Slot 2)

Controller PERC H200 Adapter (Slot 2)
ID : 0:0:0
Status : Ok
Power Status : Not Applicable
Name : Physical Disk 0:0:0
State : Online
Failure Predicted : No
Certified : Yes
Encryption Capable : No
Secured : Not Applicable
Progress : Not Applicable
Bus Protocol : SATA
Media : HDD
Mirror Set ID : Not Applicable
Capacity : 232.25 GB (249376538624 bytes)
Used RAID Disk Space : 232.25 GB (249376538624 bytes)
Available RAID Disk Space : 0.00 GB (0 bytes)
Hot Spare : No
Vendor ID : DELL
Product ID : SAMSUNG HE253GJ
Revision : 1AJ30001
Serial No. : S2B5J90B222087222087
Part Number : Not Available
Negotiated Speed : 3.00 Gbps
Capable Speed : Not Available
Manufacture Day : Not Available
Manufacture Week : Not Available
Manufacture Year : Not Available
SAS Address : 4433221107000000

ID : 0:0:1
Status : Ok
Power Status : Not Applicable
Name : Physical Disk 0:0:1
State : Online
Failure Predicted : No
Certified : Yes
Encryption Capable : No
Secured : Not Applicable
Progress : Not Applicable
Bus Protocol : SATA
Media : HDD
Mirror Set ID : Not Applicable
Capacity : 232.25 GB (249376538624 bytes)
Used RAID Disk Space : 232.25 GB (249376538624 bytes)
Available RAID Disk Space : 0.00 GB (0 bytes)
Hot Spare : No
Vendor ID : DELL
Product ID : SAMSUNG HE253GJ
Revision : 1AJ30001
Serial No. : S2B5J90B222091222091
Part Number : Not Available
Negotiated Speed : 3.00 Gbps
Capable Speed : Not Available
Manufacture Day : Not Available
Manufacture Week : Not Available
Manufacture Year : Not Available
SAS Address : 4433221106000000

#ランプ点灯(pdiskの値は、omreport pdiskでとったIDをいれる
/opt/dell/srvadmin/bin/omconfig storage pdisk action=blink controller=0 pdisk=0:0:0

#ランプ消灯
/opt/dell/srvadmin/bin/omconfig storage pdisk action=unblink controller=0 pdisk=0:0:0

0 件のコメント: