Hitachi XP P9500 User Manual page 228

Command suite for linux(r)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

# mdadm --detail --scan | grep -w "/dev/md0" >> /etc/mdadm.conf
For sdh1 and sdi1, specify the SCSI devices displayed in step 4.
The following example shows the contents of the created configuration
file:
The underlined part indicates the lines added in this step.
# 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
For details about the contents of the configuration file, see the Linux
documentation or use the man command.
If you created a new configuration file, go to step 9.
7
If you have already used a configuration file (/etc/mdadm.conf), delete
.
the unnecessary ARRAY line in that configuration file.
Delete the ARRAY line that includes the same name as the md device
name (md0) 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 (/etc/mdadm.conf), edit the
.
DEVICE lines.
If the existing DEVICE lines include SCSI devices that are specified in the
DEVICE lines created in step 6, edit the DEVICE lines to exclude the SCSI
devices.
The following are examples of editing the lines:
Before the correction:
After the correction:
9
Edit the /etc/mdadm.conf file to add auto=yes to the ARRAY line in the
.
configuration file:
DEVICE /dev/sdh1 /dev/sdi1
DEVICE /dev/sdf1 /dev/sdg1
3-160
DEVICE /dev/sdh1 /dev/sdi1
DEVICE /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1
DEVICE /dev/sdh1 /dev/sdi1
DEVICE /dev/sdf1 /dev/sdg1
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Dynamic link manager

Table of Contents