SANRAD V-Switch Switch User Manual


 
90 SANRAD V-Switch User Manual
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 37. 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
–sd
SUBDISK ALIAS USER-ASSIGNED
ALIAS FOR SUBDISK
OPTIONAL
DEFAULT:
D
EF_SPLIT_
CLUSTER NO_
DISK NO_END
ADDRESS IN
BLOCKS
Subdisk1
Example:
In Figure 38, page 91, you see Disk 1 before a subdisk is created on it.