The chunk '/.../chunk2' will not fit in the space specified
Posted in 2000
Topics: Storage & Space Management, Error Codes & Troubleshooting, Server Administration, Platform-Specific Issues
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 to48128KB
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
19:42:52 Who: Session(1, informix@flx4, 0, 218349592)
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/correctsegments
------------ -- 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 failedpage
0d6fb800: 00000000 00000000 00000000 00000000 ........ ........
0d6fb810 *
19:42:52
19:42:52 Informix Dynamic Server 2000 Version 9.21.UC1 SoftwareSerial Number AAC#J912336
19:42:52 Assert Failed: chunk failed sanity check
19:42:52 Who: Session(1, informix@flx4, 0, 218349592)
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 10xd00c018 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