RAID Cards: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
= 3ware = | |||
== CLI == | |||
=== Replacing a failed drive === | |||
So, if after inserting a brand new disk you see: | |||
<pre> | |||
tw_cli /c0 show all | |||
Port Status Unit Size Blocks Serial | |||
--------------------------------------------------------------- | |||
p0 OK u0 1.82 TB 3907029168 WD-WCAVY0647904 | |||
p1 OK u0 1.82 TB 3907029168 WD-WCAVY0608298 | |||
p2 OK u1 1.82 TB 3907029168 WD-WCAVY0629856 | |||
p3 OK u1 1.82 TB 3907029168 WD-WCAVY0627316 | |||
p4 OK - 1.82 TB 3907029168 WD-WCAVY0564054 | |||
</pre> | |||
then you should run: | |||
<pre> | |||
tw_cli /c0 rescan | |||
tw_cli /c0 show all | |||
Port Status Unit Size Blocks Serial | |||
--------------------------------------------------------------- | |||
p0 OK u0 1.82 TB 3907029168 WD-WCAVY0647904 | |||
p1 OK u0 1.82 TB 3907029168 WD-WCAVY0608298 | |||
p2 OK u1 1.82 TB 3907029168 WD-WCAVY0629856 | |||
p3 OK u1 1.82 TB 3907029168 WD-WCAVY0627316 | |||
p4 DEGRADED u1 1.82 TB 3907029168 WD-WCAVY0564054 | |||
</pre> | |||
and the array should show that it is rebuilding | |||
BUT, if you attempt to rebuild with a command like that, and you get: | |||
Error: The following drive(s) cannot be used [4]. | |||
you need to remove it, then rescan, then rebuild: | |||
tw_cli /c0/p4 remove | |||
tw_cli /c0 rescan | |||
tw_cli /c0/u0 start rebuild disk=4 | |||
= Areca = | = Areca = | ||
Downloads http://www.areca.com.tw/support/main.htm | Downloads http://www.areca.com.tw/support/main.htm |
Revision as of 13:27, 19 December 2012
3ware
CLI
Replacing a failed drive
So, if after inserting a brand new disk you see:
tw_cli /c0 show all Port Status Unit Size Blocks Serial --------------------------------------------------------------- p0 OK u0 1.82 TB 3907029168 WD-WCAVY0647904 p1 OK u0 1.82 TB 3907029168 WD-WCAVY0608298 p2 OK u1 1.82 TB 3907029168 WD-WCAVY0629856 p3 OK u1 1.82 TB 3907029168 WD-WCAVY0627316 p4 OK - 1.82 TB 3907029168 WD-WCAVY0564054
then you should run:
tw_cli /c0 rescan tw_cli /c0 show all Port Status Unit Size Blocks Serial --------------------------------------------------------------- p0 OK u0 1.82 TB 3907029168 WD-WCAVY0647904 p1 OK u0 1.82 TB 3907029168 WD-WCAVY0608298 p2 OK u1 1.82 TB 3907029168 WD-WCAVY0629856 p3 OK u1 1.82 TB 3907029168 WD-WCAVY0627316 p4 DEGRADED u1 1.82 TB 3907029168 WD-WCAVY0564054
and the array should show that it is rebuilding
BUT, if you attempt to rebuild with a command like that, and you get:
Error: The following drive(s) cannot be used [4].
you need to remove it, then rescan, then rebuild:
tw_cli /c0/p4 remove tw_cli /c0 rescan tw_cli /c0/u0 start rebuild disk=4
Areca
Downloads http://www.areca.com.tw/support/main.htm
CLI Manual http://www.areca.us/support/download/RaidCards/Documents/Manual_Spec/CLIManual.zip
CLI
cli64 vsf info cli64 rsf info cli64 disk info cli64 event info cli64 vsf check vol=1
Updating F/W
cd /tmp wget http://www.areca.us/support/download/RaidCards/BIOS_Firmware/ARC1160.zip cli64 sys updatefw path=/tmp/ARC1160/149-20101202/ARC1160FIRM.BIN