LSI Corporation
- 181 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 6: StorCLI
Working with the Storage Command Line Tool
storcli /c0 add vd raid10 size=2gb,3gb,4gb names=tmp1,tmp2,tmp3
drives=252:2-3,5,7 pdperarray=2
storcli /cx add vd cc|cachecade raid[0,1,10] drives=[
e
:]
s
|[
e
:]
s
-
x
|[
e
:]
s
-
x
,
y
[[wt|*wb|awb] ] [assignvds=0,1,2]
This command creates CacheCade virtual drives and associates existing virtual drives to CacheCade virtual drives. You
can use the following options to create the CacheCade virtual drive.
Table 49 Add RAID Configuration Input Options
Input example:
storcli /c0 add vd raid10 size=2gb,3gb,4gb names=tmp1,tmp2,tmp3 drives=252:2-3, 7
6.6.4.2
Delete Virtual Drives Commands
The Storage Command Line Tool supports the following virtual drive delete commands:
storcli /c
x
/v
x
|vall del
storcli /c
x
/v
x
|vall del cachecade
storcli /c
x
/v
x
|vall del force
NOTE
If the virtual drive has user data, you must use the
force
option to
delete the virtual drive.
A virtual drive with a valid master boot record (MBR) and a partition
table is considered to contain user data.
If you delete a virtual drive with a valid MBR without erasing the data and then create a new virtual drive using the
same set of physical drives and the same RAID level as the deleted virtual drive, the old unerased MBR still exists at
block0 of the new virtual drive, which makes it a virtual drive with valid user data. Therefore, you must provide the
force
option to delete this newly created virtual drive.
The detailed description for each command follows.
storcli /c
x
/v
x
|vall del
This command deletes a particular virtual drive or, when the
vall
option is used, all the virtual drives on the
controller are deleted.
Input example:
storcli /c0/v2 del
NOTE
This command deletes virtual drives. Data located on these drives will
no longer be accessible.
storcli /c
x
/v
x
|vall del cachecade
This command deletes a specific CacheCade virtual drive on a controller, or all the CacheCade configuration for
a controller.
Option
Value Range
Description
cachecade
—
Creates a CacheCade virtual drive.
raid
0
,
1
,
10
Sets the RAID type of the CacheCade virtual drive.
drives
Valid enclosure number and valid slot number See the
drives
row in the previous table for format.
wt|*wb|awb
wt
: Enables write through.
wb
: Enables write back.
awb
Enables always write back.
Enables or disables write cache.
assignvds
Valid virtual drive number (0 to 63)
Specifies the list of virtual drives associated with the new CacheCade
virtual drives.
Содержание ThinkServer RD650
Страница 1: ...ThinkServer 12 Gb s MegaRAID SAS Software User Guide ...
Страница 417: ......
Страница 418: ......