HP XP P9500 Storage User Manual

Page 262

Advertising
background image

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.

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

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.

Figure 3-32 Executing the raw Command

In this example, the command creates /dev/raw/raw1 as a character-type

device file for /dev/sddlmaa (major number of 253, minor number of 0).

Creating File Systems for HDLM (When Volume Management

Software Is Not Used)

This section describes how to build a file system in an HDLM-managed device

without using volume management software.

3-194

Creating an HDLM Environment

Hitachi Dynamic Link Manager User Guide (for Linux(R))

Advertising
This manual is related to the following products: