Managing an MD Device

Starting the MD Device

Starting the MD Device

After you create an MD device, you would need to stop and start the MD device to ensure that it is active. You would not need to start the MD device in any other scenario as this is handled by the XDC software.

To start the MD device, run the following command:

# mdadm -A -R <md_device_name>

<md_mirror_component_persistent_name_0> <md_mirror_component_persistent_name_1>

Example A-2 Starting the MD Device /dev/md0

To start the MD device /dev/md0, run the following command:

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

Following is an example of what the /proc/mdstat file contents will look like once the MD is started:

[root@dlhct1 dev]# cat /proc/mdstat Personalities : [raid1]

md0 : active raid1 sde[1] sdf[0] 9766784 blocks [2/2] [UU] unused devices: <none>

100

Appendix A

Page 100
Image 100
HP serviceguard t2808-90006 manual Example A-2 Starting the MD Device /dev/md0