Hitachi XP P9500 User Manual page 282

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

Advertisement

# dlmcfgmgr -v
HDevName
/dev/sddlmaa configured /dev/sdh
KAPL10302-I /sbin/dlmcfgmgr completed normally.
The HDevName and Device columns display HDLM devices and SCSI
devices, respectively.
6
Create an md device.
.
Based on the correspondence between the HDLM devices and SCSI
devices checked in step 5, create an md device.
When you specify a device name, you must also specify the partition
number that is displayed in step 2.
Specify all SCSI devices that correspond to HDLM devices:
# mdadm -C /dev/md0 -lmp -n2 /dev/sdh1 /dev/sdo1
mdadm: /dev/sdh1 appears to contain an ext2fs file system
mdadm: /dev/sdh1 appears to be part of a raid array:
mdadm: /dev/sdo1 appears to contain an ext2fs file system
mdadm: /dev/sdo1 appears to be part of a raid array:
Continue creating array? y
mdadm: array /dev/md0 started.
7
Create a configuration file.
.
Execute the following command to add an md device definition to the
existing configuration file /etc/mdadm.conf:
# mdadm --detail --scan | grep -w "/dev/md0" >> /etc/mdadm.conf
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/sddlmaa1
ARRAY /dev/md0 level=linear num-devices=1 UUID=426a9f1c:
9cfa6310:6aa9a80b:11ea2102 auto=yes
ARRAY /dev/md0 level=multipath num-devices=2
UUID=8db667ff:e7472a25:3a84b801:025a6a57
For details about the contents of the configuration file, see the Linux
documentation or use the man command.
8
If the configuration file /etc/mdadm.conf has been recreated, 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 7. In the following example, the underlined
lines are to be deleted.
3-214
Management Device
size=5238528K
mtime=Wed Feb
level=-1 devices=1 ctime=Wed Feb
size=5238528K
mtime=Wed Feb
level=-1 devices=1 ctime=Wed Feb
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
Host Channel Target Lun
1
/dev/sdo
2
6 20:02:45 2008
6 19:31:04 2008
6 20:02:45 2008
6 19:31:04 2008
0
0
0
0
0
1

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Dynamic link manager

Table of Contents