3-98 IBM Informix OnLine Database Server Administrator’s Guide
Create a Dbspace
Youcan create a dbspace while OnLine is in online mode. The newly added
dbspace (and its associated mirror, if there is one) is available immediately.
From DB-Monitor
1. Fromwithin DB-Monitor, select the Dbspaces menu, Create option to
create a dbspace.
2. Enter the name of the new dbspace in the fieldDbspace Name.
3. Ifyou want to create a mirror for the initial dbspace chunk, enter a Y
in theMirror field. Otherwise, enter N.
4. Enter the complete pathname for the initial primary chunk of the
dbspace in theFull Pathname field of the primary chunk section.
5. Specify an offset in theOffset field if it is appropriate for your
device.
6. Enter the size of the chunk, in kilobytes, in theSize field.
7. If you are mirroring this dbspace, enter the mirror chunk full
pathname,size, and optional offset in the mirror chunk section of the
screen.
From the Command Line
From the command line, execute thetbspaces utility with the following
options and parameters:
-c creates a new dbspace.
-d dbspace specifies a dbspace name.
-p pathname specifies the explicit pathname of the primary chunk, either a
raw device or aUNIX file.
-ooffset specifies the raw device offset in kilobytes, if appropriate.
-m indicatesdbspace mirroring and is followed by both pathname
and offset, if appropriate, for the dbspace mirror.