To Create a Logical Drive With the
pcli
Utility
pcli Command
Description
cli /c0/vall show
Lists all logical drives.
You are now ready to use the
pcli
commands to create a logical drive, or MegaRAID virtual
drive, on the HBA.
To Create a Logical Drive With the
pcli
Utility
1.
Use the
/c0/eall/sall show
command to list all the physical drives attached to
the HBA.
Drives attached directly to the HBA are assigned an Enclosure Device ID number of 252 (only
eight physical drives can be attached in this way). Drives connected to the HBA through a
SAS expander or an external enclosure are assigned different Enclosure Device ID values. In
the following example, the physical drive listed in the output is attached directly to the HBA
(Enclosure Device ID value of
252
).
{0} ok
cli /c0/eall/sall show
Drive Information :
=================
-------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
-------------------------------------------------------------------------------
252:0 41 UGood 0 557.861 GB SAS HDD N N 512B ST360057SSUN600G U
252:1 25 UGood 0 557.861 GB SAS HDD N N 512B ST360057SSUN600G U
2.
Use the
add
command to create a logical drive (MegaRAID virtual disk) from the
physical disks.
{0} ok
cli add vd r0 drives=252:0
-- for RAID 0, with Enclosure #252 and Slot 0 --
{0} ok
cli add vd r1 drives=252:0,1
-- for RAID 1, with Enclosure #252 and Slots 0 and 1
--
3.
Use the
format(1M)
utility to label the physical disks from which you created the
logical drive.
All disks used by the HBA must be labeled, or contain a volume table of contents (VTOC). If
you attempt to use an unlabeled disk with the HBA, the disk might not be recognized by the
OS or the OS installation itself might fail. For more information about labeling disks, see the
documentation for the physical disks.
Chapter 3 • Creating a Bootable Drive in a Preboot Environment
23
Содержание 7116970
Страница 2: ......