Currently there are 4x 2 TB drives setup in RAID 5. I am trying to find out before purchasing more disks if it is possible to install one more 2 TB drive and extend the RAID 5 array without losing data? It seems that with LSI you can extend an existing RAID array, but this is a legacy 3ware adapter and it doesn't seem to support MegaCli. Just some 3ware CLI that I haven't really used before.
I did find this article. http://www.cyberciti.biz/files/tw_cli.8.html
And I see this.
I know that is a bit different, but I am wondering it adding a spare 2 TB and using a similar command will expand on the existing RAID 5?
I did find this article. http://www.cyberciti.biz/files/tw_cli.8.html
And I see this.
Code:
In the case of capacity expansion:
$ tw_cli /c0/u3 migrate type=raid10 disk=10-11 stripe=16
Indicates that the destination unit has a RAID type of raid10 and has the disks 10 and 11 in addition to all the disks in the existing unit u3.
The following shows how migrating units would be displayed...
3ware CLI> /c0 show
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-5 OK - - 64K 596.004 ON OFF
u2 SPARE OK - - - 149.042 - OFF
u3 Migrator MIGRATING - 39 - 149.001 ON OFF
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 149.05 GB 312581808 WD-WCANM1771318
p1 OK u0 149.05 GB 312581808 WD-WCANM1757592
p2 OK u0 149.05 GB 312581808 WD-WCANM1782201
p3 OK u0 149.05 GB 312581808 WD-WCANM1753998
p4 OK u2 149.05 GB 312581808 WD-WCANM1766952
p5 OK u3 149.05 GB 312581808 WD-WCANM1882472
p6 OK u0 149.05 GB 312581808 WD-WCANM1883862
p7 OK u3 149.05 GB 312581808 WD-WCANM1778008
p8 OK - 149.05 GB 312581808 WD-WCANM1770998
p9 NOT-PRESENT - - - -
p10 OK u3 149.05 GB 312581808 WD-WCANM1869003
p11 OK u3 149.05 GB 312581808 WD-WCANM1762464
3ware CLI> /c0/u0 show
Unit UnitType Status %RCmpl %V/I/M Port Stripe Size(GB)
------------------------------------------------------------------------
u3 Migrator MIGRATING - 39 - - -
su3 RAID-1 OK - - - - 149.001
su3-0 DISK OK - - p5 - 149.001
su3-1 DISK OK - - p7 - 149.001
su3/v0 Volume - - - - - 149.001
du3 RAID-10 OK - - - 16K 298.002
du3-0 RAID-1 OK - - - - -
du3-0-0 DISK OK - - p5 - 149.001
du3-0-1 DISK OK - - p7 - 149.001
du3-1 RAID-1 OK - - - - -
du3-1-0 DISK OK - - p10 - 149.001
du3-1-1 DISK OK - - p11 - 149.001
du3/v0 Volume - - - - - 149.001
The above report indicates that /c0/u3 is a migrating unit with 39% completion. The report also indicate that Source Unit su0 is of type RAID-1 and Destination Unit du0 is of type RAID-10.
I know that is a bit different, but I am wondering it adding a spare 2 TB and using a similar command will expand on the existing RAID 5?