Chapter 2. CLI Syntax Reference
59
3ware SAS/SATA RAID Controller CLI Guide, Version 9.5.1
Example of RAID 0 unit created with volume sizes set to 2000, 500, 1024,
and 700 GB:
The example below combines auto-carving and
vol=
a:b:c:d
.
Notice that the
last volume (u0/v5) is odd-sized (247.188 GB).
Volumes 0 through 3 are carved using the first four sizes as specified.
Volumes 4, 5, and 6 are the auto carved volumes (1024 GB each). Volume 6 is
the remainder of the carve size.
//localhost> /c2 add type=raid0 disk=0:1:2:4:5:6:
7 vol=2000:500:1024:700
Creating new unit on controller /c2 ... Done. The new unit is /
c2/u0.
Setting default Command Queuing Policy for unit /c2/u0 to [on]
... Done.
Setting write cache=ON for the new unit ... Done.
After the unit creation, a subsequent
show
command for the unit shows the
volume sizes:
//localhost> /c2/u0 show
Unit UnitType Status %RCmpl %V/I/M Port Stripe Size(GB)
------------------------------------------------------------------------
u0 RAID-0 OK - - - 64K 6519.19
u0-0 DISK OK - - p0 - 931.312
u0-1 DISK OK - - p1 - 931.312
u0-2 DISK OK - - p2 - 931.312
u0-3 DISK OK - - p4 - 931.312
u0-4 DISK OK - - p5 - 931.312
u0-5 DISK OK - - p6 - 931.312
u0-6 DISK OK - - p7 - 931.312
u0/v0 Volume - - - - - 2000
u0/v1 Volume - - - - - 500
u0/v2 Volume - - - - - 1024
u0/v3 Volume - - - - - 700
u0/v4 Volume - - - - - 1024
u0/v5 Volume - - - - - 1024
u0/v6 Volume - - - - - 247.188
/c
x
rescan [noscan]
This command instructs the controller to rescan all ports, vports, and phys and
reconstitute all units. The controller will update its list of disks, and attempts
to read every DCB (Disk Configuration Block) in order to re-assemble its
view and awareness of logical units. Any newly found unit(s) or drive(s) will
be listed.
noscan
is used to not inform the operating system of the unit discovery. The
default is to inform the operating system.