3. Creating an HDLM Environment
282
3.20 Creating a Character-Type Device File for an HDLM Device
This section describes how to create a character-type device file for an HDLM device.
HDLM creates only a block-type device under
/dev
.
If the OS is Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6, use an
udev
rule file to create the character-type device file. If the OS is Red Hat
Enterprise Linux AS4/ES4 or SUSE LINUX Enterprise Server, use the
raw
command to create the character-type device file.
The following shows the difference between these two methods:
•
The character-type device file created by using the
raw
command is deleted
when the host is restarted.
•
The character-type device file created by using an
udev
rule file is not
deleted when the host is restarted.
3.20.1 When Using Red Hat Enterprise Linux 5 or Red Hat Enterprise
Linux 6
Use the
udev
rule file to create a character-type device file.
To create a character-type device file by using an
udev
rule file:
1.
Edit the
/etc/udev/rules.d/60-raw.rules
file.
For example, you might edit the file as follows:
ACTION=="add", KERNEL=="sddlmaa", RUN+="/bin/raw /dev/raw/
raw1 %N"
2.
Restart the host or execute the
start_udev
command.
The editing performed in step 1 is applied when the host is restarted or the
start_udev
command is executed.
The following shows an example of executing the
start_udev
command:
# /sbin/start_udev
3.20.2 When Using Red Hat Enterprise Linux AS4/ES4 or SUSE
LINUX Enterprise Server
A character-type device file is created from the HDLM device using the Linux
raw
command. The following is an example of executing the
raw
command for an HDLM
device.
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: ......