Set up a raw partition on a new, blank disk that has been
formatted already. New disks typically are formatted by their manufacturers.
Procedure
- Partition the disk into the sizes of your
choice.
- Create a symbolic link to the raw device.
Make chunk_name a symbolic link to the
raw device.
root# ln -s raw_device_path chunk_name
This
step is optional, but use a symbolic link to the device. The reasons
are as follows.
- If you archive Informix® servers
using ccmsrv archive and restore the servers using ccmsrv
restore, the restored Informix server
configuration must be nearly identical to the archived server configuration.
You must restore to the same chunk file path used to archive the server.
Using a symbolic link for the chunk file path is a reliable way to
ensure that the archive and restore paths are identical.
- Using a symbolic link also facilitates changing the chunk file
to a different (but at least same size) partition, or to a larger
partition.
- Additionally, using symbolic links means that you do not have
problems if the raw partition name changes, for example, if you upgrade
the operating system.
- Change the ownership, group, and permission
of the raw partition path.
root# chown informix chunk_name
root# chgrp informix chunk_name
root# chmod 660 chunk_name
- When ccmsrv create prompts
for a raw partition name, type the path to the device file for that
partition.
Ensure that you reference the correct partition.
chunk_name
- For root, temp, log,
and ccm, repeat steps 2 to 4.
For
more information about how to partition a raw disk, see the documentation
for your operating system.