6-8 SANRAD V-Switch CLI User Manual
Table 6-3: Volume Details
Alias Vol Type # of Blocks Block Size State
Trans1 Transpar 1024 512 Internal
Creating a Subdisk (LUN Carving)
The V-Switch
supports a maximum
of 512 subdisks.
You can create one or more subdisks on a physical disk. The subdisks can
then be converted to simple volumes to be used for creating concatenated,
striped and mirrored virtual volumes. When you create a subdisk, only
the defined area is converted into a subdisk. You must individually
convert each disk area into a subdisk for the physical volume to be usable
by the Volume Manager.
10065
Disk Disk
Simple 2
Simple n
Simple 1
Subdisk 2
Subdisk n
Subdisk 1
Disk
Figure 6-3. Partitioning a Physical Volume
subdisk create
You need to define four parameters to create a subdisk
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-d
DISK ALIAS ALIAS OF DISK TO
SPLIT
MANDATORY
Disk1
–sl
SPLIT LENGTH LENGTH IN
BLOCKS OF
SUBDISK
MANDATORY
(1
BLOCK =
512
BYTES)
18000000
–sa
START ADDRESS BLOCK TO BEGIN
COUNTING THE
SUBDISK LENGTH
FROM
OPTIONAL
DEFAULT: 0
0