Hitachi Dynamic Link Manager Software Users Guide for Linux

Creating an md Device
This subsection explains the procedure for creating a new md device in a
multi-path environment in which HDLM has been installed.
During this procedure, /dev/md0 is created on /dev/sddlmaa1 and /dev/
sddlmab1. Use the following procedure to configure the environment shown in
Figure 3-11 Device Configuration When Creating an md Device on an HDLM
Device on page 3-161.
Figure 3-11 Device Configuration When Creating an md Device on an
HDLM Device
To create an md device:
1. Create a disk partition.
Specify the disk partition type 83 when you create a disk partition.
The following example shows how to execute the fdisk command to
create a disk partition:
# fdisk /dev/sddlmaa
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1018, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1018, default
1018):
Using default value 1018
Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 83
Command (m for help): p
Creating an HDLM Environment
3-161
Hitachi Dynamic Link Manager (for Linux®) User Guide