Installation guide
1.
Use the n command to create a new partition, and enter l at this prompt for "logical":
Command (m for help): n
Command action
l logical (5 or over)
p primary partition (1-4)
2. Accept the default by pressing Enter when you see:
First cylinder (8013-8683, default 8013):
3. Accept the default by pressing Enter again, when you see:
Last cylinder or +size or +sizeM or +sizeK
(8013-8683, default 8683): 8269
4.
Use the t command, enter 5 at this prompt:
Partition number (1-8): 5
5.
Enter 60 at this prompt:
Hex code (type L to list codes): 60
The output is:
Changed system type of partition 5 to 60 (Unknown)
6.
Repeat steps 1–5 to create four partitions for raw device I/O.
7.
Verify the setup using p to print the full partition table before writing it out. Make sure that
there are no overlapping partitions and the type for the unassigned partitions is Unknown
type 60.
You can now write this partition table to disk and quit the fdisk(8) utility.
Red Hat Raw Device Administration
Red Hat Enterprise Linux is fully equipped with the tools to set up raw devices and administer
them during a system start-up. Set up a Red Hat Enterprise Linux system to administer
partitions using the /etc/sysconfig/rawdevices file.
This is a plain text file that contains comments and examples for possible configurations:
# raw device bindings
# format: rawdev major minor
# rawdev blockdev
# example: /dev/raw/raw1 /dev/sda1
# /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/sdd1
/dev/raw/raw2 /dev/sdd2
/dev/raw/raw3 /dev/sdd3
/dev/raw/raw4 /dev/sdd4
Once you have created the raw devices, bind them by starting them from /etc/rc.d/
init.d/rawdevices.
[root@legolas init.d]# cd /etc/rc.d/init.d
[root@legolas init.d]# sh rawdevices start
Assigning devices:
/dev/raw/raw1 --> /dev/sdd5
/dev/raw/raw1: bound to major 3, minor 5
/dev/raw/raw2 --> /dev/sdd6
CHAPTER 9: Postinstallation Tasks
66 Adaptive Server Enterprise