For details about the contents of the configuration file, see the Linux
documentation or use the
If you created a new configuration file, go to step 9.
7.
If you have already used a configuration file (
unnecessary
ARRAY
Delete the
line that includes the same name as the md device name (
ARRAY
created in step 6. In the following example, the underlined lines are to be deleted.
# cat /etc/mdadm.conf
DEVICE /dev/sdh1 /dev/sdi1
DEVICE /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=e39a6b15:32e48a5d:ca05f4db:25bc8af9
ARRAY /dev/md0 level=linear num-devices=1
UUID=426a9f1c:9cfa6310:6aa9a80b:11ea2102
8.
If you have already used a configuration file (
lines.
DEVICE
If the existing
DEVICE
lines created in step 6, edit the
DEVICE
The following are examples of editing the lines:
Before the correction:
DEVICE /dev/sdh1 /dev/sdi1
DEVICE /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1
After the correction:
DEVICE /dev/sdh1 /dev/sdi1
DEVICE /dev/sdf1 /dev/sdg1
9.
Edit the
/etc/mdadm.conf
configuration file:
DEVICE /dev/sdh1 /dev/sdi1
DEVICE /dev/sdf1 /dev/sdg1
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=e39a6b15:32e48a5d:ca05f4db:25bc8af9 auto=yes
10. Execute the following command to deactivate the md device.
command.
man
line in that configuration file.
lines include SCSI devices that are specified in the
DEVICE
file to add
auto=yes
3. Creating an HDLM Environment
), delete the
/etc/mdadm.conf
), edit the
/etc/mdadm.conf
lines to exclude the SCSI devices.
to the
line in the
ARRAY
)
md0
239