After
you create partitions and bind the devices for raw disk
I/O, Adaptive Server can use them.
Prerequisites
Confirm that you have root privileges to execute th raw -qa command on your system, or else you see a message such as:
Cannot open master raw device '/dev/rawctl'
(Permission denied)
Task
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. See the chown(1), chgrp(1), and chmod(1) commands
to apply correct permissions.
- Verify your settings by querying the device
binding with the raw command:
# raw -qa
You should see:
/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
- Using the raw devices, Adaptive Server and the installation
and configuration utility, srvbuild, detect
and present size automatically. Enter the absolute path to the
raw device when creating devices such as master, sybsystemprocs, sybtempdb.