Installation guide

d) To make sure the raw device binding runs whenever you restart the system, enter:
# /sbin/chkconfig rawdevices on
If you are using Red Hat Enterprise Linux system running release 5 or later, modify the /etc/udev/
rules.d/60-raw.rules
file:
# Enter raw device bindings here.
#
# An example would be:
# ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N"
# to bind /dev/raw/raw1 to /dev/sda, or
# ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/
raw2 %M %m"
# to bind /dev/raw/raw2 to the device with major 8, minor 1.
ACTION=="add", KERNEL=="sdb5", OWNER=="sybase",RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sdb6", OWNER=="sybase",RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", KERNEL=="sdb7", OWNER=="sybase",RUN+="/bin/raw /dev/raw/raw3 %N"
If you are using SuSE:
a) Modify the /etc/raw file:
# /etc/raw
#
# sample configuration to bind raw devices
# to block devices
#
# The format of this file is:
# raw<N>:<blockdev>
#
# example:
# ---------
# raw1:hdb1
#
# this means: bind /dev/raw/raw1 to /dev/hdb1
#
# ...
raw1:sda7
raw2:sda8
raw3:sda9
b) Bind the raw devices by starting them with the script /etc/init.d/raw:
# cd /etc/init.d
# sh raw start
bind /dev/raw/raw1 to /dev/sdb1... done
bind /dev/raw/raw2 to /dev/sdb2... done
bind /dev/raw/raw3 to /dev/sdb3... done
...
c) To make sure the raw device binding runs whenever you restart the system, enter:
# /sbin/chkconfig raw on
Installation Guide for Linux
Postinstallation Tasks
©
2014 SAP SE or an SAP affiliate company. All rights reserved.
63