Creating a subdisk (lun carving) – SANRAD I3.1.1205 User Manual
Page 100

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.
100
6
5
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
S
WITCH
P
ARAMETER
D
EFINITION
S
TATUS
E
XAMPLE
-d
DISK ALIAS
ALIAS OF DISK TO
SPLIT
MANDATORY
Disk1
–sl
SPLIT LENGTH
L
ENGTH IN
B
LOCKS OF
S
UBDISK
MANDATORY
(1
BLOCK
=
512
BYTES
)
18000000
–sa
START ADDRESS
BLOCK TO BEGIN
COUNTING THE
SUBDISK LENGTH
FROM
OPTIONAL
DEFAULT
:
0
0