Hitachi XP P9500 User Manual page 225

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

Advertisement

/dev/sddlmaa1
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Also perform the above operation for /dev/sddlmab.
2
Create an md device.
.
In the following example, RAID1 (mirroring) is used for the md device:
# mdadm -C /dev/md0 -l1 -n2 /dev/sddlmaa1 /dev/sddlmab1
mdadm: /dev/sddlmaa1 appears to contain an ext2fs file system
size=5238592K
mdadm: /dev/sddlmab1 appears to contain an ext2fs file system
size=5238592K
Continue creating array? y
mdadm: array /dev/md0 started.
3
Make sure that the md device has been installed in HDLM.
.
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>
Make sure that md0 : active and the HDLM devices are displayed.
4
If necessary, back up the configuration file.
.
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.
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
1
1018
5238597
mtime=Fri Jan 25 19:26:25 2008
mtime=Fri Jan 25 19:27:07 2008
83
Linux
3-157

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Dynamic link manager

Table of Contents