The V-Switch supports a maximum of 512 subdisks.

Creating a Subdisk (LUN Carving)

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.

Disk

Disk

Disk

 

Subdisk 1

Simple 1

 

Subdisk 2

Simple 2

 

Subdisk n

Simple n

10065

Figure 37. Partitioning a Physical Volume

subdisk create

You need to define four parameters to create a subdisk

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

-d

–sl

–sa

DISK ALIAS

ALIAS OF DISK TO

MANDATORY

Disk1

 

SPLIT

 

 

SPLIT LENGTH

LENGTH IN

MANDATORY

18000000

 

BLOCKS OF

(1 BLOCK =

 

 

SUBDISK

512 BYTES)

 

START ADDRESS

BLOCK TO BEGIN

OPTIONAL

0

 

COUNTING THE

DEFAULT: 0

 

SUBDISK LENGTH

FROM

–sd

SUBDISK ALIAS

USER-ASSIGNED

OPTIONAL

Subdisk1

 

 

ALIAS FOR SUBDISK

DEFAULT:

 

 

 

 

DEF_SPLIT_

 

 

 

 

CLUSTER NO_

 

 

 

 

DISK NO_END

 

 

 

 

ADDRESS IN

 

 

 

 

BLOCKS

 

 

 

 

 

 

Example:

In Figure 38, page 91, you see Disk 1 before a subdisk is created on it.

90

SANRAD V-Switch User Manual

Page 96
Image 96
SANRAD V-Switch manual Creating a Subdisk LUN Carving, Subdisk create, 18000000, Subdisk1