
3. Creating an HDLM Environment
243
1. Stop all applications that are using the existing md device.
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 : [multipath]
md0 : active multipath sdo1[0] sdh1[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. Specify the settings required for the md device, and then install HDLM.
Perform steps 5 to 12 in (1) When the MULTIPATH Function Is Not Being Used
for md Devices.
6. Check the correspondence with HDLM device.
Execute the HDLM-configuration definition utility
dlmcfgmgr with the -v
parameter specified:
# dlmcfgmgr -v
HDevName Management Device Host Channel Target Lun
/dev/sdd
lmaa configured /dev/sdh 1 0 0 0
/dev/sdo
2 0 0 1
KAPL10302-I /sbin/dlmcfgmgr completed normally.
The HDevName and Device columns display HDLM devices and SCSI devices,
respectively.
7. Create an md device.
Based on the correspondence between the HDLM devices and SCSI devices
checked in step 6, create an md device.
When you specify a device name, you must also specify the partition number that
is displayed in step 4.
# mdadm -C /dev/md0 -llinear -f -n1 /dev/sddlmaa1
mdadm: /dev/sddlmaa1 appears to contain an ext2fs file system
Comentarios a estos manuales