command line‎ > ‎

pool

infx pool func=add|del|mod|clean|purge

 option
 description

 add  add to pool
 del  remove from the pool
 mod  change a pool entry
 clean  clean a pool entry
 purge  purge storage pool

See the Informix Administrator's Guide for more information about the storage pool. 

add to the pool

infx pool func=add path= off= size= alloc= pri= ext=yes|no

Add a file, device or directory to the storage pool. 

 option
 description

 path  path to the file, device or directory.
 off  offset into the device, in MB, to start this allocation from
 size  size of the file or device, in KB
 alloc  amount of space to allocate from this file or device for each chunk requrested
 pri  priority order 1 = low, 3 = high
 ext  specify ext=yes if you want the file or device to be expandable

When adding a file or device, leave the size blank and infx will automatically calculate it for you.

remove from the pool

infx pool func=del id=

Remove an entry from the storage pool. Use the infx spool command to find the id of the storage pool entry.

 option
 description

 id  the id of the storage pool entry to remove

modify pool entry

infx pool func=mod id= size= alloc= pri=

Modify a storage pool entry. Use the infx spool command to find the id's of the storage pool entryies

 option
 description

 id  the id of the storage pool entry to modify  
 size  the new size of this entry
 alloc  the new amount to allocate to chunks
 pri  the new priority of this entry, 1=low, 3=high

clean pool entry

infx pool func=clean path= force=

Clean up storage pool entries.

 option
 description

 path  the path of the entry in the pool to clean. Specify path=all to clean all storage pool entries
 force  specify force=yes to clean even if a level 0 archive has not been done on the root space

Expandable chunks cannot be cleaned.

clean directories

A directory is "cleaned" by removing any chunk files that were allocated from the pool, but are not being used as chunks anymore.

clean files and devices

Files and devices are "cleaned" by:
  • creating a storage pool entry for any unused portions on the file or device
  • combining adjacent storage pool entries into a single entry
Use the infx cmap command line utility to see which portions of a file or device are free, and which are allocated to the pool..

purge storage pool

infx pool func=purge status=full|errors|all

Remove entries from the storage pool based on status

 option
 description

 status  which entries to delete, or specify status=all to completely purge the storage pool