Allocating cooked file spaces on UNIX™
The following procedure shows an example of allocating disk space for a cooked file.
About this task
,
To allocate disk space for a cooked file called usr/data/my_chunk, on UNIX™:
Procedure
- Log-in as user informix: su informix
- Change directories to the directory where the cooked space will be located: cd /usr/data
- Create your chunk by concatenating null to the file name that the database server will use for disk space: cat /dev/null > my_chunk
- Set the file permissions to
660
(rw-rw----): chmod 660 my_chunk - You must set both group and owner
of the file to informix:
ls -l my_chunk -rw-rw---- 1 informix informix 0 Oct 12 13:43 my_chunk
- Use onspaces to create the storage space or chunk.
Results
For information about how to create a storage space using the file you have allocated, see Creating a dbspace that uses the default page size, Creating a blobspace, and Creating an sbspace.