3. Creating an HDLM Environment
238
2.
If necessary, back up the application data residing on the md device.
3.
If file systems have been mounted on the md device, unmount them.
4.
Check the status of the md device.
Execute the following command to check the configuration of the md device:
# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdh1[0] sdi1[1]
5238528 blocks [2/2] [UU]
unused devices: <none>
Make sure that
md0 : active
and that SCSI devices are displayed.
If
md0 : active
is not displayed, activate the md device.
5.
If you have already used a configuration file (
/etc/mdadm.conf
), back up that
file.
Execute the following command to back up that configuration file:
# cp -pr /etc/mdadm.conf /etc/mdadm.conf.backup
6.
Execute the following command to create a configuration file:
Even if a configuration file had already been used in step 5, you still need to create
a configuration file so that the md device will be managed by HDLM.
# echo "DEVICE /dev/sdh1 /dev/sdi1" >> /etc/mdadm.conf
# 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
Содержание Dynamic Link Manager
Страница 1: ...Hitachi Dynamic Link Manager Software User s Guide for Linux R 3000 3 F04 60 E ...
Страница 4: ......
Страница 16: ......
Страница 79: ...2 HDLM Functions 55 Figure 2 16 Example System Configuration Using HDLM and Global Link Manager ...
Страница 154: ...3 Creating an HDLM Environment 130 Figure 3 1 Flow of HDLM Environment Setup ...
Страница 162: ...3 Creating an HDLM Environment 138 ...
Страница 272: ...3 Creating an HDLM Environment 248 Example of executing the parted command IA32 IPF or EM64T AMD64 ...
Страница 294: ...3 Creating an HDLM Environment 270 see whether the HDLM device corresponding to the SCSI device has been created ...
Страница 309: ...3 Creating an HDLM Environment 285 Figure 3 33 Example of Creating an ext2 File System ...
Страница 352: ......
Страница 362: ...4 HDLM Operation 338 A Fibre Channel switch s zone setting is changed ...
Страница 375: ...4 HDLM Operation 351 ...
Страница 410: ......
Страница 546: ......
Страница 549: ...8 Messages 525 HDLM driver filter component HDLM alert driver HDLM management target ...
Страница 590: ...8 Messages 566 dd dd Maintenance information hexadecimal number Action None ...
Страница 594: ...8 Messages 570 aa aa Name of file where error was detected Action Reinstall an HDLM ...
Страница 707: ...8 Messages 683 KAPL15404 W The HDLM Manager was executed by the user who does not have the authority ...
Страница 713: ...8 Messages 689 utility see 7 2 DLMgetras Utility for Collecting HDLM Error Information ...
Страница 714: ......
Страница 738: ......