beautypg.com

Avago Technologies 3ware SAS 9750-4i User Manual

Page 69

background image

Controller Object Commands

www.lsi.com/channel/products

61

Both v0=n or vol=a:b:c:d work in conjunction with auto-carving, if that
feature is enabled. When auto-carving is used, v0=n and vol=a:b:c:d are
used to specify the size of the first few volumes, after which the auto-carve
size is used for additional volumes. (For more about auto-carving, see “/cx set
autocarve=on|off” on page 75
and “/cx set carvesize=[1024..32768]” on
page 76
.)

Example of RAID 5 unit created with first volume set to 10 GB:

//localhost> /c0 add type=raid5 disk=2-5 v0=10

Creating new unit on Controller /c0 ... Done. The new unit is /

c0/u0.

Setting write cache=ON for the new unit ... Done.

Setting default Command Queuing Policy for unit /c0/u0 to [on]

... Done.

After the unit creation, a subsequent show command for the unit shows the
the volume size(s):

//localhost> /c0/u0 show

Unit UnitType Status %RCmpl %V/I/M VPort Stripe Size(GB)

--------------------------------------------------------------

u0 RAID-5 OK - - - 256K 1117.56

u0-0 DISK OK - - p2 - 372.519

u0-1 DISK OK - - p3 - 372.519

u0-2 DISK OK - - p4 - 372.519

u0-3 DISK OK - - p5 - 372.519

u0/v0 Volume - - - - - 10

u0/v1 Volume - - - - - 1107.56

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.

Notes:

If the total size of the specified volumes (up to 4) exceeds the size of the

array, the volume(s) that exceeded the array’s size boundary will not be carved.