The chunk '/.../chunk2' will not fit in the space specified 
Author Message
 The chunk '/.../chunk2' will not fit in the space specified

Hi there,
    I could not find anything in the Archive, so here's the problem ...

We are on Solaris 2.6,  Informix 9.21 and RAID 1+0.
I'm trying to create a dbspace into   .../chunk2    that is a link to
raw device
    chunk2 -> /dev/rdsk/c1t0d2s0

No matter offset and size, I get
    Verifying physical disk space, please wait ...
     The chunk '.../chunk2' will not fit in the space specified.

How all this started ( if it helps ).
 Last night I crashed the engine badly (still not sure how exactly).  I
even could not stop it with onmode -ky.  It was dumping tons of shmem*
and af* into /tmp.  I finally had to reboot the box.
When I tried to bring the engine online I got

----------- online.log ---------------------------------
19:42:44  Informix Dynamic Server 2000 Started.
19:42:44  Requested shared memory segment size rounded from 48000KB to
48128KB

Thu Oct  5 19:42:45 2000

19:42:45  Event alarms enabled.  ALARMPROG =
'/opt/informix/ifmx_flx4/alarms/log_full.sh'
19:42:45  Booting Language <c> from module <>
19:42:45  Loading Module <CNULL>
19:42:45  Booting Language <builtin> from module <>
19:42:45  Loading Module <BUILTINNULL>
19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1  ...
19:42:52  Assert Failed: chunk failed sanity check

19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1

                Thread(23, main_loop(), d00c018, 1)
                File: rspartn.c Line: 7212
19:42:52   Results: Chunk 1 is being taken OFFLINE.
19:42:52   Action: Restore chunk from archive.
19:42:52  stack trace for pid 414 written to /tmp/af.3ff11fc
19:42:52   See Also: /tmp/af.3ff11fc
19:42:53  I/O error, Primary Chunk '/opt/informix/ifmx_flx4/dbsp/chunk2'
-- Offline (sanity)
19:42:53  Informix Dynamic Server 2000 Stopped.

19:42:53  mt_shm_remove: WARNING: may not have removed all/correct
segments

------------ -- af.3ff11fc ------------
 19:42:52  mt_aio_wait(d05b688)
19:42:52  chunkio(3, 0xd6fb800, 0x2, 1, 0xd00b918, 53, 1) errno 5
AIOREQ *a
0d6de104: 00000000 00000000 00000000 00000000   ........ ........
0d6de114: 00000000 00000000 0d05b800 0d0517a8   ........ ........
0d6de124: 0000104d 41494f72 65710000 00000000   ...MAIOr eq......
0d6de134: 07d10000 00000000 00000003 00000401   ........ ........
0d6de144: 0000000b 00000002 00000001 00000000   ........ ........
0d6de154: 00000001 0d05b6fc 00000000 00000000   ........ ........
0d6de164: 00000005 00000001 00000000 00000000   ........ ........
0d6de174: 00000000                              ....
19:42:52  sane_chopen:bfphysio on primary chunk failed
page
0d6fb800: 00000000 00000000 00000000 00000000   ........ ........
0d6fb810  *
19:42:52
19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1     Software
Serial Number AAC#J912336

19:42:52  Assert Failed: chunk failed sanity check


                Thread(23, main_loop(), d00c018, 1)
                File: rspartn.c Line: 7212
19:42:52   Results: Chunk 1 is being taken OFFLINE.
19:42:52   Action: Restore chunk from archive.
19:42:52  Stack for thread: 23 main_loop()

 base: 0x0d6cf018
  len:   66048
   pc: 0x006da000
  tos: 0x0d6ddb50
state: running
   vp: 1

0x006d9478 (oninit)afhandler(0x3ff11fc, 0x0, 0x1, 0xd03c018, 0x1,
0xd00c018)
0x006d8eb8 (oninit)afwarn_interface(0xd706f28, 0x9ff848, 0xd706f60,
0x99f68c, 0x1c2c, 0xd05b688)
0x0046ffb0 (oninit)sane_chopen(0x9ff1fc, 0x9ff848, 0x1c00, 0x4000000,
0xd6fb580, 0xd6fb580)
0x0046fb10 (oninit)chopen_util(0xffffffff, 0x1, 0xd00b930, 0x6e6b3200,
0x6f, 0xff0000)
0x000d51ec (oninit)initpzero(0x0, 0x0, 0xd00b918, 0x0, 0x0, 0x0)
0x000d2400 (oninit)initseg (0x97c014, 0x8edfb0, 0xef529dc8, 0x91a485,
0x0, 0x0)
0x000cbb0c (oninit)main_loop(0xa13a74, 0x1, 0xa141e8, 0xa14a60, 0x1,
0xd00c0a8)
0x006baee0 (oninit)startup (0xa13a14, 0x8edc00, 0x0, 0x0, 0x4,
0xd4560b8)
0x000caef4 (oninit)main    (0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
0x00000000 (*nosymtab*)0x0

19:42:52   See Also: /tmp/af.3ff11fc

---------------------------------
Begin System Alarm Program Output
---------------------------------

Assertion Failure Type: Warning
Host Name:              flx4
Database Server Name:   ifmx_flx4
Time of failure:        Thu Oct  5 19:42:53 EDT 2000
AF file:                /tmp/af.3ff11fc
Shared memory file:     None
System Blocking:        OFF

-------------------------------
End System Alarm Program Output
-------------------------------

19:42:53  sh /opt/informix/ids921/etc/evidence.sh 1 0 /tmp/af.3ff11fc 1
0xd00c018 23 0xd6c7238 1025 0 0 0 0
19:42:53
------------------ End of assertion failure 0 -----------------

I reinitialized the engine (linking rootdbs to another device) and
everything was back to normal :-)
Except I still can not do anything to '.../chunk2'.  We just started
using raw devices and I have no idea how I can check what's going on
with them.

Thanks in advance ( a lot ) !
zarif



Wed, 18 Jun 1902 08:00:00 GMT
 The chunk '/.../chunk2' will not fit in the space specified

Please post output from onstat -d.  Did you do a restore?  Was it
successful, or did you just initialize the database?

Quote:


>Subject: The chunk '/.../chunk2' will not fit in the space specified
>Date: Fri, 06 Oct 2000 13:18:23 -0400

>Hi there,
>     I could not find anything in the Archive, so here's the problem ...

>We are on Solaris 2.6,  Informix 9.21 and RAID 1+0.
>I'm trying to create a dbspace into   .../chunk2    that is a link to
>raw device
>     chunk2 -> /dev/rdsk/c1t0d2s0

>No matter offset and size, I get
>     Verifying physical disk space, please wait ...
>      The chunk '.../chunk2' will not fit in the space specified.

>How all this started ( if it helps ).
>  Last night I crashed the engine badly (still not sure how exactly).  I
>even could not stop it with onmode -ky.  It was dumping tons of shmem*
>and af* into /tmp.  I finally had to reboot the box.
>When I tried to bring the engine online I got

>----------- online.log ---------------------------------
>19:42:44  Informix Dynamic Server 2000 Started.
>19:42:44  Requested shared memory segment size rounded from 48000KB to
>48128KB

>Thu Oct  5 19:42:45 2000

>19:42:45  Event alarms enabled.  ALARMPROG =
>'/opt/informix/ifmx_flx4/alarms/log_full.sh'
>19:42:45  Booting Language <c> from module <>
>19:42:45  Loading Module <CNULL>
>19:42:45  Booting Language <builtin> from module <>
>19:42:45  Loading Module <BUILTINNULL>
>19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1  ...
>19:42:52  Assert Failed: chunk failed sanity check

>19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1

>                 Thread(23, main_loop(), d00c018, 1)
>                 File: rspartn.c Line: 7212
>19:42:52   Results: Chunk 1 is being taken OFFLINE.
>19:42:52   Action: Restore chunk from archive.
>19:42:52  stack trace for pid 414 written to /tmp/af.3ff11fc
>19:42:52   See Also: /tmp/af.3ff11fc
>19:42:53  I/O error, Primary Chunk '/opt/informix/ifmx_flx4/dbsp/chunk2'
>-- Offline (sanity)
>19:42:53  Informix Dynamic Server 2000 Stopped.

>19:42:53  mt_shm_remove: WARNING: may not have removed all/correct
>segments

>------------ -- af.3ff11fc ------------
>  19:42:52  mt_aio_wait(d05b688)
>19:42:52  chunkio(3, 0xd6fb800, 0x2, 1, 0xd00b918, 53, 1) errno 5
>AIOREQ *a
>0d6de104: 00000000 00000000 00000000 00000000   ........ ........
>0d6de114: 00000000 00000000 0d05b800 0d0517a8   ........ ........
>0d6de124: 0000104d 41494f72 65710000 00000000   ...MAIOr eq......
>0d6de134: 07d10000 00000000 00000003 00000401   ........ ........
>0d6de144: 0000000b 00000002 00000001 00000000   ........ ........
>0d6de154: 00000001 0d05b6fc 00000000 00000000   ........ ........
>0d6de164: 00000005 00000001 00000000 00000000   ........ ........
>0d6de174: 00000000                              ....
>19:42:52  sane_chopen:bfphysio on primary chunk failed
>page
>0d6fb800: 00000000 00000000 00000000 00000000   ........ ........
>0d6fb810  *
>19:42:52
>19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1     Software
>Serial Number AAC#J912336

>19:42:52  Assert Failed: chunk failed sanity check


>                 Thread(23, main_loop(), d00c018, 1)
>                 File: rspartn.c Line: 7212
>19:42:52   Results: Chunk 1 is being taken OFFLINE.
>19:42:52   Action: Restore chunk from archive.
>19:42:52  Stack for thread: 23 main_loop()

>  base: 0x0d6cf018
>   len:   66048
>    pc: 0x006da000
>   tos: 0x0d6ddb50
>state: running
>    vp: 1

>0x006d9478 (oninit)afhandler(0x3ff11fc, 0x0, 0x1, 0xd03c018, 0x1,
>0xd00c018)
>0x006d8eb8 (oninit)afwarn_interface(0xd706f28, 0x9ff848, 0xd706f60,
>0x99f68c, 0x1c2c, 0xd05b688)
>0x0046ffb0 (oninit)sane_chopen(0x9ff1fc, 0x9ff848, 0x1c00, 0x4000000,
>0xd6fb580, 0xd6fb580)
>0x0046fb10 (oninit)chopen_util(0xffffffff, 0x1, 0xd00b930, 0x6e6b3200,
>0x6f, 0xff0000)
>0x000d51ec (oninit)initpzero(0x0, 0x0, 0xd00b918, 0x0, 0x0, 0x0)
>0x000d2400 (oninit)initseg (0x97c014, 0x8edfb0, 0xef529dc8, 0x91a485,
>0x0, 0x0)
>0x000cbb0c (oninit)main_loop(0xa13a74, 0x1, 0xa141e8, 0xa14a60, 0x1,
>0xd00c0a8)
>0x006baee0 (oninit)startup (0xa13a14, 0x8edc00, 0x0, 0x0, 0x4,
>0xd4560b8)
>0x000caef4 (oninit)main    (0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
>0x00000000 (*nosymtab*)0x0

>19:42:52   See Also: /tmp/af.3ff11fc

>---------------------------------
>Begin System Alarm Program Output
>---------------------------------

>Assertion Failure Type: Warning
>Host Name:              flx4
>Database Server Name:   ifmx_flx4
>Time of failure:        Thu Oct  5 19:42:53 EDT 2000
>AF file:                /tmp/af.3ff11fc
>Shared memory file:     None
>System Blocking:        OFF

>-------------------------------
>End System Alarm Program Output
>-------------------------------

>19:42:53  sh /opt/informix/ids921/etc/evidence.sh 1 0 /tmp/af.3ff11fc 1
>0xd00c018 23 0xd6c7238 1025 0 0 0 0
>19:42:53
>------------------ End of assertion failure 0 -----------------

>I reinitialized the engine (linking rootdbs to another device) and
>everything was back to normal :-)
>Except I still can not do anything to '.../chunk2'.  We just started
>using raw devices and I have no idea how I can check what's going on
>with them.

>Thanks in advance ( a lot ) !
>zarif

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.



Wed, 18 Jun 1902 08:00:00 GMT
 The chunk '/.../chunk2' will not fit in the space specified

No I did not do a restore - Murphie's law - no backup when you need it.
I had a dbexport's output though and a script to recreate all dbspaces, to
move logs and such ...
It's not a production database, but still I had to restore it quickly and
unfortunately did not have chance to dig it.  So, I just re-initialized the
database.  Anyway, here's the current onstat -d ( after oninit -i ):
----------------------------------------
Informix Dynamic Server 2000 Version 9.21.UC1     -- On-Line -- Up 18:14:47
-- 317440 Kbytes

Dbspaces
address  number   flags    fchunk     nchunks  flags    owner    name
d00b7d0  1        0x1           1        1        N         informix rootdbs

d00ba80  2        0x1           2        1        N         informix physdbs

d00bbc8  3        0x1           3        1        N         informix log1dbs

d00bd10  4        0x1           4        1        N         informix log2dbs

d00be58  5        0x2001     5        1        N T      informix tmp1dbs
d03b830  6        0x2001     6        1        N T      informix tmp2dbs
d03b978  7        0x2001     7        1        N T      informix tmp3dbs
d03bac0  8        0x2001     8        1        N T      informix tmp4dbs
d9693d0  9        0x1           9        1        N         informix
sabre_r2dbs
d9699e8  10       0x1         10       1        N         informix
sabre_tr2dbs
 10 active, 2047 maximum

Chunks
address  chk/dbs offset   size         free     bpages   flags pathname
d00b918  1     1          0     50000    43976              PO-
/opt/informix/ifmx_flx4/dbsp/chunk1
d04a5f0   2     2          0     50000    4947                PO-
/opt/informix/ifmx_flx4/dbsp/chunk4
d04a758   3    3          0      25500    10447              PO-
/opt/informix/ifmx_flx4/dbsp/chunk6
d04a8c0   4    4           0     25500    15447              PO-
/opt/informix/ifmx_flx4/dbsp/chunk8
d04aa28   5    5    52500    25000    24797              PO-
/opt/informix/ifmx_flx4/dbsp/chunk1
d04ab90   6    6    52500    25000    24797             PO-
/opt/informix/ifmx_flx4/dbsp/chunk4
d04acf8    7    7    30000    25000    24797             PO-
/opt/informix/ifmx_flx4/dbsp/chunk6
d04ae60    8    8   30000    25000    24797              PO-
/opt/informix/ifmx_flx4/dbsp/chunk8
d969518   9    9   77500     600000  108818           PO-
/opt/informix/ifmx_flx4/dbsp/chunk1
d969b30  10  10  600000   95000    94947             PO-
/opt/informix/ifmx_flx4/dbsp/chunk4
 10 active, 2047 maximum
-----------------------------------------------------

thanks,
zarif

Quote:

> Please post output from onstat -d.  Did you do a restore?  Was it
> successful, or did you just initialize the database?



> >Subject: The chunk '/.../chunk2' will not fit in the space specified
> >Date: Fri, 06 Oct 2000 13:18:23 -0400

> >Hi there,
> >     I could not find anything in the Archive, so here's the problem ...

> >We are on Solaris 2.6,  Informix 9.21 and RAID 1+0.
> >I'm trying to create a dbspace into   .../chunk2    that is a link to
> >raw device
> >     chunk2 -> /dev/rdsk/c1t0d2s0

> >No matter offset and size, I get
> >     Verifying physical disk space, please wait ...
> >      The chunk '.../chunk2' will not fit in the space specified.

> >How all this started ( if it helps ).
> >  Last night I crashed the engine badly (still not sure how exactly).  I
> >even could not stop it with onmode -ky.  It was dumping tons of shmem*
> >and af* into /tmp.  I finally had to reboot the box.
> >When I tried to bring the engine online I got

> >----------- online.log ---------------------------------
> >19:42:44  Informix Dynamic Server 2000 Started.
> >19:42:44  Requested shared memory segment size rounded from 48000KB to
> >48128KB

> >Thu Oct  5 19:42:45 2000

> >19:42:45  Event alarms enabled.  ALARMPROG =
> >'/opt/informix/ifmx_flx4/alarms/log_full.sh'
> >19:42:45  Booting Language <c> from module <>
> >19:42:45  Loading Module <CNULL>
> >19:42:45  Booting Language <builtin> from module <>
> >19:42:45  Loading Module <BUILTINNULL>
> >19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1  ...
> >19:42:52  Assert Failed: chunk failed sanity check

> >19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1

> >                 Thread(23, main_loop(), d00c018, 1)
> >                 File: rspartn.c Line: 7212
> >19:42:52   Results: Chunk 1 is being taken OFFLINE.
> >19:42:52   Action: Restore chunk from archive.
> >19:42:52  stack trace for pid 414 written to /tmp/af.3ff11fc
> >19:42:52   See Also: /tmp/af.3ff11fc
> >19:42:53  I/O error, Primary Chunk '/opt/informix/ifmx_flx4/dbsp/chunk2'
> >-- Offline (sanity)
> >19:42:53  Informix Dynamic Server 2000 Stopped.

> >19:42:53  mt_shm_remove: WARNING: may not have removed all/correct
> >segments

> >------------ -- af.3ff11fc ------------
> >  19:42:52  mt_aio_wait(d05b688)
> >19:42:52  chunkio(3, 0xd6fb800, 0x2, 1, 0xd00b918, 53, 1) errno 5
> >AIOREQ *a
> >0d6de104: 00000000 00000000 00000000 00000000   ........ ........
> >0d6de114: 00000000 00000000 0d05b800 0d0517a8   ........ ........
> >0d6de124: 0000104d 41494f72 65710000 00000000   ...MAIOr eq......
> >0d6de134: 07d10000 00000000 00000003 00000401   ........ ........
> >0d6de144: 0000000b 00000002 00000001 00000000   ........ ........
> >0d6de154: 00000001 0d05b6fc 00000000 00000000   ........ ........
> >0d6de164: 00000005 00000001 00000000 00000000   ........ ........
> >0d6de174: 00000000                              ....
> >19:42:52  sane_chopen:bfphysio on primary chunk failed
> >page
> >0d6fb800: 00000000 00000000 00000000 00000000   ........ ........
> >0d6fb810  *
> >19:42:52
> >19:42:52  Informix Dynamic Server 2000 Version 9.21.UC1     Software
> >Serial Number AAC#J912336

> >19:42:52  Assert Failed: chunk failed sanity check


> >                 Thread(23, main_loop(), d00c018, 1)
> >                 File: rspartn.c Line: 7212
> >19:42:52   Results: Chunk 1 is being taken OFFLINE.
> >19:42:52   Action: Restore chunk from archive.
> >19:42:52  Stack for thread: 23 main_loop()

> >  base: 0x0d6cf018
> >   len:   66048
> >    pc: 0x006da000
> >   tos: 0x0d6ddb50
> >state: running
> >    vp: 1

> >0x006d9478 (oninit)afhandler(0x3ff11fc, 0x0, 0x1, 0xd03c018, 0x1,
> >0xd00c018)
> >0x006d8eb8 (oninit)afwarn_interface(0xd706f28, 0x9ff848, 0xd706f60,
> >0x99f68c, 0x1c2c, 0xd05b688)
> >0x0046ffb0 (oninit)sane_chopen(0x9ff1fc, 0x9ff848, 0x1c00, 0x4000000,
> >0xd6fb580, 0xd6fb580)
> >0x0046fb10 (oninit)chopen_util(0xffffffff, 0x1, 0xd00b930, 0x6e6b3200,
> >0x6f, 0xff0000)
> >0x000d51ec (oninit)initpzero(0x0, 0x0, 0xd00b918, 0x0, 0x0, 0x0)
> >0x000d2400 (oninit)initseg (0x97c014, 0x8edfb0, 0xef529dc8, 0x91a485,
> >0x0, 0x0)
> >0x000cbb0c (oninit)main_loop(0xa13a74, 0x1, 0xa141e8, 0xa14a60, 0x1,
> >0xd00c0a8)
> >0x006baee0 (oninit)startup (0xa13a14, 0x8edc00, 0x0, 0x0, 0x4,
> >0xd4560b8)
> >0x000caef4 (oninit)main    (0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
> >0x00000000 (*nosymtab*)0x0

> >19:42:52   See Also: /tmp/af.3ff11fc

> >---------------------------------
> >Begin System Alarm Program Output
> >---------------------------------

> >Assertion Failure Type: Warning
> >Host Name:              flx4
> >Database Server Name:   ifmx_flx4
> >Time of failure:        Thu Oct  5 19:42:53 EDT 2000
> >AF file:                /tmp/af.3ff11fc
> >Shared memory file:     None
> >System Blocking:        OFF

> >-------------------------------
> >End System Alarm Program Output
> >-------------------------------

> >19:42:53  sh /opt/informix/ids921/etc/evidence.sh 1 0 /tmp/af.3ff11fc 1
> >0xd00c018 23 0xd6c7238 1025 0 0 0 0
> >19:42:53
> >------------------ End of assertion failure 0 -----------------

> >I reinitialized the engine (linking rootdbs to another device) and
> >everything was back to normal :-)
> >Except I still can not do anything to '.../chunk2'.  We just started
> >using raw devices and I have no idea how I can check what's going on
> >with them.

> >Thanks in advance ( a lot ) !
> >zarif

> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

> Share information about yourself, create your own public profile at
> http://profiles.msn.com.



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. The chunk 'xxx' will not fit in the space specifed

2. It's not ODBC - It's not ASP - It's OLE/DB

3. The file you've specified is not a valid SQL Server database file

4. RESTORE LOG WITH STANDBY - can't find file (not the one I specified)

5. -1207 value not fit in allotted space

6. Invalid Column Prefix 'inserted': No table Name Specified

7. The chunk specified does not exist

8. Stored procedures: sending data to SP's that have Spaces not workin

9. **************!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Help me !!!!!!!!!!!!!!!!!!!!!!!!'''''''''''''''''''''''*************

10. Text won't fit in text box

11. Auto Fit in DBGrid's columns

12. 4GL form won't fit on a screen


 
Powered by phpBB® Forum Software