Error creating table
Posted in 2005
A user on Red Hat 9 with IDS 9.40.UC4 got "261: Cannot create file for table" plus "131: ISAM error: no free disk space" on a simple CREATE TABLE, despite having 1GB free at the OS level. Posting 'onstat -d' showed the problem: rootdbs was the only regular dbspace (the other was a blobspace, which can't hold table pages) and its chunks had only a handful of free pages left — far less than the 8-16 pages needed for a new table's first extent. Art Kagel advised adding a chunk to rootdbs or creating a new dbspace via onspaces/onmonitor; the poster confirmed it then worked. Lack of contiguous space for the first extent was also mentioned as a possible cause.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Storage & Space Management, Error Codes & Troubleshooting, Server Administration
When i creating table, the
dbacces say:
261: Cannot create file for table (informix.dbd_ix_tabinfo_typ).
131: ISAM error: no free disk space
I have 1Gb free space, and permiss for write.
--
Open WebMail Project (http://openwebmail.org)
Try
running onstat -d and see if you have a dbspace that is full. You
may need to add a chunk.
--EEM
> -----Original Message-----
> From: rguevara [mailto:rguevara@mcanet.com.ar]
> Sent: Wednesday, August 17, 2005 11:26 AM
> To: ids@iiug.org
> Subject: Error creating table [5633]
>
> When i creating table, the dbacces say:
>
> 261: Cannot create file for table (informix.dbd_ix_tabinfo_typ).
> 131: ISAM error: no free disk space>
> I have 1Gb free space, and permiss for write.
>
> --
> Open WebMail Project (http://openwebmail.org)
>
>
>
Post your platform, version of OS & Informix IDS, also post the CREATE TABLE
statement exactly as you entered it, the output of 'onstat -d', and the output
of the following SQL:
SELECT dbinfo('dbspace', partnum) FROM systables WHERE tabid = 1;
With that information, perhaps, someone can help you.
Art S. Kagel
----- Original Message -----
From: Rguevara <rguevara@mcanet.com.ar>
At: 8/17 13:03
When i creating table, the dbacces say:
261: Cannot create file for table (informix.dbd_ix_tabinfo_typ).
131: ISAM error: no free disk space
I have 1Gb free space, and permiss for write.
--
Open WebMail Project (http://openwebmail.org)
Sorry, i
very hurry , i work in an RedHat 9, IDS 9.40.UC4, the sql is:
CREATE TABLE "informix".dbd_ix_tabinfo_typ (
tabtype CHAR(1) NOT NULL UNIQUE,
typename CHAR(20) NOT NULL
)
the output of onstat -d:
IBM Informix Dynamic Server Version 9.40.UC4 -- On-Line -- Up 02:17:53 --27920 KbytesDbspacesaddress number flags fchunk nchunks flags owner
name30c8a7d8 1 0x20001 1 4 N informix rootdbs30d88eb0 2 0x20011 4 1 N B
informix blobspl 2 active, 2047 maximumNote: For BLOB chunks, the number of
free pages shown is out of date. Run 'onstat -d update' for current
stats.Chunksaddress chunk/dbs offset size free bpages flags pathname30c8a928 1
1 0 15000 1 PO-- /opt/INFORMIX/ser/online_root30c8aaf0 2 1 0 1000000 42 PO--
/opt/INFORMIX/ser/online_rootdbs.00130c8ac78 3 1 0 1000000 3 PO--
/opt/INFORMIX/ser/online_rootdbs.00230c8ae00 4 2 50000 500 ~500 500 POB-
/opt/INFORMIX/ser/blobsp.00131386018 5 1 0 1000000 0 PO--
/opt/INFORMIX/ser/online_rootdbs.003 5 active, 2047 maximumExpanded chunk
capacity mode: disabled
Thanks
--
Open WebMail Project (http://openwebmail.org)
---------- Original Message -----------
From: "ART KAGEL, BLOOMBERG/ 731 LEXIN" <KAGEL@bloomberg.net>
To: rguevara@mcanet.com.ar
Sent: Wed, 17 Aug 2005 13:10:32 -0400
Subject: Re: Error creating table [5633]
> Post your platform, version of OS & Informix IDS, also post the CREATE TABLE
> statement exactly as you entered it, the output of 'onstat -d', and the
output
> of the following SQL:
>
> SELECT dbinfo('dbspace', partnum) FROM systables WHERE tabid = 1;
>
> With that information, perhaps, someone can help you.
>
> Art S. Kagel
>
> ----- Original Message -----
> From: Rguevara <rguevara@mcanet.com.ar>
> At: 8/17 13:03
>
> When i creating table, the dbacces say:
>
> 261: Cannot create file for table (informix.dbd_ix_tabinfo_typ).
> 131: ISAM error: no free disk space>
> I have 1Gb free space, and permiss for write.
>
> --
> Open WebMail Project (http://openwebmail.org)
------- End of Original Message -------
------- End of Forwarded Message -------
--
Open WebMail Project (http://openwebmail.org)
According to onstat -d your rootdb space, which is your only regular dbspace
(blob spaces cannot hold table pages), is 150000 pages in size and has only one
free page (2K). The minimum space needed for a new table is 8 pages and the
default (you are using the defaults) size is 16 pages. You do not have any more
space available to create tables or expand existing ones, the error message is
correct. You have to use onspaces or onmonitor to add another chunk to the
root dbspace or to create another dbspace to hold this table.
Art S. Kagel
----- Original Message -----
From: Rguevara <rguevara@mcanet.com.ar>
At: 8/17 13:46
Sorry, i very hurry , i work in an RedHat 9, IDS 9.40.UC4, the sql is:
CREATE TABLE "informix".dbd_ix_tabinfo_typ (
tabtype CHAR(1) NOT NULL UNIQUE,
typename CHAR(20) NOT NULL
)
the output of onstat -d:
IBM Informix Dynamic Server Version 9.40.UC4 -- On-Line -- Up 02:17:53 --27920 KbytesDbspacesaddress number flags fchunk nchunks flags
owner name30c8a7d8 1 0x20001 1 4 N informix
rootdbs30d88eb0 2 0x20011 4 1 N B informix
blobspl 2 active, 2047 maximumNote: For BLOB chunks, the number of free pages
shown is out of date. Run 'onstat -d update' for current
stats.Chunksaddress chunk/dbs offset size free bpages
flags pathname30c8a928 1 1 0 15000 1
PO-- /opt/INFORMIX/ser/online_root30c8aaf0 2 1 0 1000000
42 PO-- /opt/INFORMIX/ser/online_rootdbs.00130c8ac78 3
1 0 1000000 3 PO--
/opt/INFORMIX/ser/online_rootdbs.00230c8ae00 4 2 50000 500
~500 500 POB- /opt/INFORMIX/ser/blobsp.00131386018 5 1
0 1000000 0
PO-- /opt/INFORMIX/ser/online_rootdbs.003 5 active, 2047
maximumExpanded chunk capacity mode: disabled
Thanks
--
Open WebMail Project (http://openwebmail.org)
---------- Original Message -----------
From: "ART KAGEL, BLOOMBERG/ 731 LEXIN" <KAGEL@bloomberg.net>
To: rguevara@mcanet.com.ar
Sent: Wed, 17 Aug 2005 13:10:32 -0400
Subject: Re: Error creating table [5633]
> Post your platform, version of OS & Informix IDS, also post the CREATE TABLE
> statement exactly as you entered it, the output of 'onstat -d', and the
output
> of the following SQL:
>
> SELECT dbinfo('dbspace', partnum) FROM systables WHERE tabid = 1;
>
> With that information, perhaps, someone can help you.
>
> Art S. Kagel
>
> ----- Original Message -----
> From: Rguevara <rguevara@mcanet.com.ar>
> At: 8/17 13:03
>
> When i creating table, the dbacces say:
>
> 261: Cannot create file for table (informix.dbd_ix_tabinfo_typ).
> 131: ISAM error: no free disk space>
> I have 1Gb free space, and permiss for write.
>
> --
> Open WebMail Project (http://openwebmail.org)
------- End of Original Message -------
Please check the First extent size for the table.
There may by total 1GB free on dbspace, but might not
have contiguous free disk space for the first extent.
Thanks
Anup
--- rguevara <rguevara@mcanet.com.ar> wrote:
> When i creating table, the dbacces say:
>
> 261: Cannot create file for table
> (informix.dbd_ix_tabinfo_typ).
> 131: ISAM error: no free disk space>
> I have 1Gb free space, and permiss for write.
>
> --
> Open WebMail Project (http://openwebmail.org)
>
>
>
>
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
Thanks, now work fine!
--
Open WebMail Project (http://openwebmail.org)
---------- Original Message -----------
From: "ART KAGEL, BLOOMBERG/ 731 LEXIN" <KAGEL@bloomberg.net>
To: rguevara@mcanet.com.ar
Sent: Wed, 17 Aug 2005 13:55:35 -0400
Subject: Re: Error creating table [5633]
> According to onstat -d your rootdb space, which is your only regular dbspace
> (blob spaces cannot hold table pages), is 150000 pages in size and has only
one
> free page (2K). The minimum space needed for a new table is 8 pages and the
> default (you are using the defaults) size is 16 pages. You do not have any
more
> space available to create tables or expand existing ones, the error message
is
> correct. You have to use onspaces or onmonitor to add another chunk to the
> root dbspace or to create another dbspace to hold this table.
>
> Art S. Kagel
> ----- Original Message -----
> From: Rguevara <rguevara@mcanet.com.ar>
> At: 8/17 13:46
>
> Sorry, i very hurry , i work in an RedHat 9, IDS 9.40.UC4, the sql is:
>
> CREATE TABLE "informix".dbd_ix_tabinfo_typ (
> tabtype CHAR(1) NOT NULL UNIQUE,
> typename CHAR(20) NOT NULL
> )
>
> the output of onstat -d:
> IBM Informix Dynamic Server Version 9.40.UC4 -- On-Line -- Up 02:17:53 --> 27920 KbytesDbspacesaddress number flags fchunk nchunks flags
> owner name30c8a7d8 1 0x20001 1 4 N informix
> rootdbs30d88eb0 2 0x20011 4 1 N B informix
> blobspl 2 active, 2047 maximumNote: For BLOB chunks, the number of free pages
> shown is out of date. Run 'onstat -d update' for current
> stats.Chunksaddress chunk/dbs offset size free bpages
> flags pathname30c8a928 1 1 0 15000 1
> PO-- /opt/INFORMIX/ser/online_root30c8aaf0 2 1 0 1000000
> 42 PO-- /opt/INFORMIX/ser/online_rootdbs.00130c8ac78 3
> 1 0 1000000 3 PO--
> /opt/INFORMIX/ser/online_rootdbs.00230c8ae00 4 2 50000 500
> ~500 500 POB- /opt/INFORMIX/ser/blobsp.00131386018 5 1
> 0 1000000 0
> PO-- /opt/INFORMIX/ser/online_rootdbs.003 5 active, 2047
> maximumExpanded chunk capacity mode: disabled
>
> Thanks
> --
> Open WebMail Project (http://openwebmail.org)
>
> ---------- Original Message -----------
> From: "ART KAGEL, BLOOMBERG/ 731 LEXIN" <KAGEL@bloomberg.net>
> To: rguevara@mcanet.com.ar
> Sent: Wed, 17 Aug 2005 13:10:32 -0400
> Subject: Re: Error creating table [5633]
>
> > Post your platform, version of OS & Informix IDS, also post the CREATE
TABLE
> > statement exactly as you entered it, the output of 'onstat -d', and the
output
>
> > of the following SQL:
> >
> > SELECT dbinfo('dbspace', partnum) FROM systables WHERE tabid = 1;
> >
> > With that information, perhaps, someone can help you.
> >
> > Art S. Kagel
> >
> > ----- Original Message -----
> > From: Rguevara <rguevara@mcanet.com.ar>
> > At: 8/17 13:03
> >
> > When i creating table, the dbacces say:
> >
> > 261: Cannot create file for table (informix.dbd_ix_tabinfo_typ).
> > 131: ISAM error: no free disk space> >
> > I have 1Gb free space, and permiss for write.
> >
> > --
> > Open WebMail Project (http://openwebmail.org)
> ------- End of Original Message -------
------- End of Original Message -------
Related threads
- IDS 10 table-level restore
- Informix Development Webinar December 11, 2007
- ontape -p/r with changed ROOTPATH
- Migrate from HP PA-RISC to HP ITANIUM by ontape