MMB CLI (Command Line Interface) Operations
2.6 PRIMEQUEST 2800B2/2800B model Commands
513
CA92344-0539-04
2.6.19 create raid logical_drive
Creates a logical drive to the specified RAID controller.
Privilege: Administrator, Operator, Partition Operator (Only managed partition)
(1) Input format
create raid logical_drive [SB | DU | IOU | PCI_BOX] <UNIT#>-<PCISLOT#>
disk=[<DISKSLOT#>{,<DISKSLOT#>…} | <PORT#>-<CASCADE#>-o<DISKSLOT#>{,<PORT#>-
<CASCADE#>-<DISKSLOT#>…}] level=<RAIDlevel> {spansize=<Span>} {size=<Size>[MB |
GB | TB]} {name=“<Name>”} {stripe=<StripeSize>} {init=[no | fast | slow]}
{force}
(2) Option
disk: This option specifies disk slot numbers for the internal disks (e.g. disk=0,1,2,3) or port number and
cascade numbers and disk slot numbers for the external disks on disk enclosures (e.g. disk=0-0-0,0-0-
1,1-0-0,1-0-1).
level: This option specifies RAID level from 0, 1, 5, 6 1E, 10, 50 or 60. (ex. level=5).
spansize: This option specifies number of drives per span. If the specified RAIDlevel is neither RAID-50 nor
RAID-60, the parameter is meaningless. (ex. spansize=5).
size: This option specifies size of the creation of logical drive. If this parameter is omitted, maximum size will
be assigned. (ex. size=512GB).
name: This option specifies
name strings of the logical drive. If this parameter is omitted, “”(null) will be set
for
the name. (ex. name=“Logical_Drive_0”).
stripe: This option specifies stripe size for the creation of logical drive from 8, 16, 32, 64, 128, 256, 512 or
1024. If this parameter is omitted, 64 will be set. (ex. stripe=1024).
init: This option specifies how you want to initialize the logical drive after the creation. If this parameter is
omitted, no initialization will be done. (ex. init=fast).
force: The command is executed without interactive operation with the user.
The mandatory options are “disk” and “level”, and the other options are omitted. The following table shows
the default values.
Options
Default values
spansize
If RAID-50 or RAID-60, Span=num of specified drives / 2.
Else if RAID-10, Span=2
Else, Span=num of specified drives.
size
maximum possible size
name
“LogicalDrive_0” (0 is changed corresponding to target ID)
stripe
64
init
Fast
(3) Usage example
Example:When you create a logical drive as RAID level 5 with using disk slot#0,1,2,3 on SB#0.
# create raid logical_drive SB 0-0
disk=0,1,2,3 level=5 size=512GB name=“Logical_Drive_0”
stripe=1024 init=fast force
Example:When you create a logical drive as RAID level 6 with using disk slot#0,1 on disk enclosure
1(port 0 cascade 0) and disk slot#22,23 on disk enclosure 2(port1 cascade0). And these enclosures
are attached to RAID card on IOU0-PCI Slot#0
# create raid logical_drive IOU 0-0 disk=0-0-0,0-0-1,1-0-0,1-0-1 level=5 size=512GB
name=“Logical_Drive_0” stripe=1024 init=fast force
(4) Message
The following table lists the messages which are displayed in this CLI.
For details of the messages, see the PRIMEQUEST 2000 Series Message Reference (CA92344-0540).
The command is executed successfully.
The operation is canceled
Too much arguments argc=%d.