Tag Archives: raid

3ware controller – tw_cli cheatsheet [JBOD, RAID-1]

After one of the RAID-1 HDDs replacement on the fly (hotplug) we have got the following picture:
tw_cli info c0

Unit UnitType Status
u0 RAID-1 DEGRADED
u1 JBOD OK
Port Status Unit
p0 OK u0
p1 OK u1

First of all, we need to delete newly detected as JBOD unit:
tw_cli maint deleteunit c0 u1
tw_cli info c0 u0

Unit UnitType Status
u0 RAID-1 DEGRADED
u0-0 DISK OK
u0-1 DISK DEGRADED

Having this done we are starting RAID-1 rebuild process to the p1 port`s HDD:
tw_cli maint rebuild c0 u0 p1

links:
https://twiki.cern.ch/twiki/bin/view/FIOgroup/DiskWinTwSystemJbodRaid1
http://www.lissyara.su/articles/freebsd/hardware/tw_cli/