Home | Previous Page | Next Page   Disk, Memory, and Process Management > Managing Disk Space > Allocating Disk Space >

Allocating Cooked File Spaces on UNIX

The following procedure shows an example of allocating a cooked file usr/data/my_chunk for disk space on UNIX.

To allocate cooked file space
  1. Log in as user informix:
    su informix
  2. Change directories to the directory where the cooked space will reside:
    cd /usr/data
  3. Create your chunk by concatenating null to the filename that the database server will use for disk space:
    cat /dev/null > my_chunk
  4. Set the file permissions to 660 (rw-rw----):
    chmod 660 my_chunk
  5. 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
  6. Use onspaces to create the storage space or chunk.

For information on how to create a storage space using the file you have allocated, refer to Creating a Dbspace that Uses the Default Page Size, Creating a Blobspace, and Creating an Sbspace.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]