Configuring your Environment for Software RAID

Creating a Multiple Disk Device

2.Assemble the MD device on the other node by running the following command:

#mdadm -A -R /dev/md0 /dev/hpdev/sde1 /dev/hpdev/sdf1

3.Stop the MD device on the other node by running the following command:

#mdadm -S /dev/md0

You must stop the MD device soon after you assemble it on the second node.

4. If you want to create volume groups, restart the MD device on the

 

first node by running the following command:

 

# mdadm -A -R /dev/md0 /dev/hpdev/sde1 /dev/hpdev/sdf1

 

5. After you have created the volume groups, stop the MD device by

 

running the following command:

 

# mdadm -S /dev/md0

 

 

IMPORTANT

You would need to repeat this procedure to create all MD devices that are

 

used in a package.

 

When data is written to this device, the MD driver writes to both the

 

 

underlying disks. In case of read requests, the MD reads from one device

 

or the other based on its algorithms. After creating this device you treat

 

it like any other LUN that is going to have shared data in a Serviceguard

 

environment and then create a logical volume and a file system on it.

Chapter 3

73

Page 73
Image 73
HP serviceguard t2808-90006 manual # mdadm -A -R /dev/md0 /dev/hpdev/sde1 /dev/hpdev/sdf1