This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tw_cli [2010/07/17 21:19] k2patel |
tw_cli [2010/07/17 21:25] k2patel |
||
---|---|---|---|
Line 26: | Line 26: | ||
==== Re-detecting a disk ==== | ==== Re-detecting a disk ==== | ||
+ | It varies based on your version of tw_cli. | ||
+ | |||
+ | <code bash | rescan or add you can use any one of them based on version OR try from top to bottom stop when succeed> | ||
+ | rescan c1 | ||
+ | OR | ||
+ | maint rescan c1 | ||
+ | OR | ||
+ | maint add c1 p2 | ||
+ | </code> | ||
==== Rebuilding an array ==== | ==== Rebuilding an array ==== | ||
+ | <code bash | After rescan you need to rebuild> | ||
+ | maint rebuild c1 u2 p2 | ||
+ | </code> | ||
==== Creating a RAID unit ==== | ==== Creating a RAID unit ==== | ||
+ | == RAID1 == | ||
+ | <code bash> | ||
+ | maint createunit c1 rraid1 p2:3 | ||
+ | </code> | ||
+ | |||
+ | == RAID5 == | ||
+ | <code bash> | ||
+ | maint createunit c1 rraid5 p0:1:2:3:4:5:6 | ||
+ | </code> | ||
+ | |||
==== Assigning a disk as a 'hot spare' ==== | ==== Assigning a disk as a 'hot spare' ==== |