beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 259

background image

3. Creating an HDLM Environment

235

Selected partition 1
Hex code (type L to list codes): 83

Command (m for help): p

Disk /dev/sddlmaa: 5368 MB, 5368709120 bytes
166 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 10292 * 512 = 5269504 bytes

Device Boot Start End Blocks Id System
/dev/sddlmaa1 1 1018 5238597 83 Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

Also perform the above operation for

/dev/sddlmab

.

2.

Create an md device.
In the following example, RAID1 (mirroring) is used for the md device:


# mdadm -C /dev/md0 -l1 -n2 /dev/sddlmaa1 /dev/sddlmab1
mdadm: /dev/sddlmaa1 appears to contain an ext2fs file system
size=5238592K mtime=Fri Jan 25 19:26:25 2008
mdadm: /dev/sddlmab1 appears to contain an ext2fs file system
size=5238592K mtime=Fri Jan 25 19:27:07 2008
Continue creating array? y
mdadm: array /dev/md0 started.

3.

Make sure that the md device has been installed in HDLM.
In the following example, RAID1 (mirroring) is used for the md device:


# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sddlmaa1[0] sddlmab1[1]
5238528 blocks [2/2] [UU]
unused devices:

Make sure that

md0 : active

and the HDLM devices are displayed.

4.

If necessary, back up the configuration file.

This manual is related to the following products: