beautypg.com

HP StorageWorks 500 G2 Modular Smart Array User Manual

Page 29

background image

\_ 1:0:0:2 sdag 66:0 [ready ][active]

\_ 0:0:0:2 sdc 8:32 [ready ][active]

5.

Ensure that the MSA500 G2 storage system contains two identical MSA500 G2 controllers

connected to the same logical volume.

6.

To create multipath device /dev/md0, enter the following command:
mdadm -–create -–level multipath –n 2 /dev/md0 /dev/cciss/c1d0p2

/dev/cciss/c2d0p2

7.

To review the status, enter the following command:
mdadm –D /dev/md0

The output displayed must be similar to the following:

/dev/md0

Version : 00.90.00

Creation Time : Mon Apr 29 09:15:00 2003

Raid Level : multipath

Array Size : 14683328 (14.00 GiB 15.08 GB)

Raid Devices : 2

Total Devices : 2

Preferred Minor : 0

Persistence : Superblock is persistent

Update Time : Mon Apr 29 09:02:00 2003

State : dirty, no-errors

Active Devices : 2

Working Devices : 2

Failed Devices : 0

Spare Devices : 0

Number Major

Minor

RaidDevice

State

0 106

2

0

active sync

/dev/cciss/c2d0p2

1 105

2

1

active sync

/dev/cciss/c1d0p2

UUID : b1ec5895:5ed49b44:7ec7d4a8:397e19b1

IMPORTANT:

You can also review status by entering the following command:
cat /proc/mdstat
The output displayed must be similar to the following:

Personalities : [multipath]

read_ahead 1024 sectors

md0 : active multipath cciss/c2d0p2[0] cciss/c1d0p2[1]

14683328 blocks [2/2] [UU]

unused devices :

8.

To format the volume, enter the following command:
mkfs –t ext2 /dev/md0

9.

To mount the volume, enter the following command:
mount /dev/md0 /spare_filesystem

10.

To make md device available after reboot, enter the following command:
echo ’DEVICE

devicen>’> /dev/mdadm.conf

mdadm-detail-scan>>/etc/mdadm.conf

For more information on the mdadm command, enter the following command:

man mdadm

Configuration is complete.

Smart Array Multipath software user guide

29