![background image](http://html.mh-extra.com/html/hitachi/dynamic-link-manager/dynamic-link-manager_user-manual_145987260.webp)
3. Creating an HDLM Environment
236
If the configuration file
/etc/mdadm.conf
has already been created, execute the
following command to create a backup:
# cp -pr /etc/mdadm.conf /etc/mdadm.conf.backup
5.
Execute the following command to create a configuration file:
# echo "DEVICE /dev/sddlmaa1 /dev/sddlmab1" >> /etc/
mdadm.conf
# mdadm --detail --scan | grep -w "/dev/md0" >> /etc/
mdadm.conf
For
sddlmaa1
and
sddlmab1
, specify the HDLM devices corresponding to
md0
,
which was displayed in step 3.
The following example shows the contents of the created configuration file:
# cat /etc/mdadm.conf
DEVICE /dev/sddlmaa1 /dev/sddlmab1
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=e39a6b15:32e48a5d:ca05f4db:25bc8af9
For details about the contents of the configuration file, see the Linux
documentation or use the
man
command.
6.
Edit the configuration file created in step 5.
Edit the
/etc/mdadm.conf
file to add
auto=yes
to the
ARRAY
line:
DEVICE /dev/sddlmaa1 /dev/sddlmab1
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=e39a6b15:32e48a5d:ca05f4db:25bc8af9 auto=yes
7.
Restart the host.
8.
Make sure that the md device has been activated.
In the following example, RAID1 (mirroring) is used for the md device:
# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sddlmaa1[0] sddlmab1[1]
5238528 blocks [2/2] [UU]
unused devices: <none>
Summary of Contents for Dynamic Link Manager
Page 1: ...Hitachi Dynamic Link Manager Software User s Guide for Linux R 3000 3 F04 60 E ...
Page 4: ......
Page 16: ......
Page 154: ...3 Creating an HDLM Environment 130 Figure 3 1 Flow of HDLM Environment Setup ...
Page 162: ...3 Creating an HDLM Environment 138 ...
Page 309: ...3 Creating an HDLM Environment 285 Figure 3 33 Example of Creating an ext2 File System ...
Page 352: ......
Page 362: ...4 HDLM Operation 338 A Fibre Channel switch s zone setting is changed ...
Page 375: ...4 HDLM Operation 351 ...
Page 410: ......
Page 546: ......
Page 549: ...8 Messages 525 HDLM driver filter component HDLM alert driver HDLM management target ...
Page 590: ...8 Messages 566 dd dd Maintenance information hexadecimal number Action None ...
Page 594: ...8 Messages 570 aa aa Name of file where error was detected Action Reinstall an HDLM ...
Page 713: ...8 Messages 689 utility see 7 2 DLMgetras Utility for Collecting HDLM Error Information ...
Page 714: ......
Page 738: ......