Once the partitions are created and the devices are bound for raw disk I/O, Adaptive Server is able to use them. If Adaptive Server is running as user sybase, then apply read, write, and owner permissions to the /dev/raw/raw# device entries and the raw bound control device /dev/rawctl for user sybase.
See the chown(1), chgrp(1), and chmod(1) commands to apply correct permissions.
To verify your settings, query the device binding using the raw command, enter:
# raw -qa
The output should be:
/dev/raw/raw1: bound to major 3, minor 5 /dev/raw/raw2: bound to major 3, minor 6 /dev/raw/raw3: bound to major 3, minor 7 /dev/raw/raw4: bound to major 3, minor 8
You should have root privileges to execute this
command. In case you do not have root permission, you may see the
following output for the
raw -qa
command:
Cannot open master raw device '/dev/rawctl' (Permission denied)
Using the raw devices, Adaptive Server and the installation and configuration utility, srvbuild, detects and presents their size automatically. Just enter the absolute path to the raw device when creating the master, sybsystemprocs, sybtempdb, or any other device.