Installation guide

Choosing a Raw Partition
Select a raw partition on which to create and mount database devices.
1.
Determine which raw partitions are available.
2.
Determine the sizes of the raw partitions.
3.
From the list of available raw partitions, select a raw partition for each device.
4.
Verify with the operating system administrator that the partition you have chosen is
available.
5.
Make sure the "sybase" user has read and write privileges to the raw partition.
Note: For more information on choosing a raw partition, see your operating system
documentation.
Examples for Creating Raw Partitions
Specific system administration is required before you can enable and use raw devices. The
available tools to configure devices depend on the distribution configuration.
You must allocate physical disk space in partitions on the disks where you want to set up raw
devices. The physical IO subsystem can be on either SCSI or EIDE devices.
Note: You can create partitions with the Linux default fdisk(8) utility. You must have "root"
privileges to use the command fdisk. See the fdisk(8) man pages for a complete description of
the command.
This example shows how to set up partitions as raw devices, on four SCSI disks in the system
sda, sdb, sdc, and sdd.
1.
Start fdisk on /dev/sdd:
# fdisk /dev/sdd
The system returns:
The number of cylinders for this disk is set to 8683
....
Command (m for help):
2.
Enter p to print the current partition layout. The output is:
Disk /dev/sdd: 64 heads, 32 sectors, 8683 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 7499 7678960 83 Linux
/dev/sdd2 7500 8012 525312 82 Linux swap
/dev/sdd4 8013 8683 687104 5 Extended
This example shows the extended partition (sdd4) has 687104 free blocks, starting from 8013
and ending at 8683. You can assign the remaining partitions later. This example assigns an
additional partition for raw bound disk I/O:
CHAPTER 9: Postinstallation Tasks
Installation Guide 65