You can use the following command:
dd if=<raw disk path> bs=2k count=2 | od -x | more
to examine the page headers for each chunk file. If this is Informix 10 or later then the first four bytes on each page are the page number (the first page in a chunk is page zero) and the 5th and 6th bytes on each page is the chunk number (note if the chunk belongs to a dbspace with a larger pagesize (so all windows and AIX users) adjust the bs=2k appropriately so you can compare this 16bit integer from page to page to validate that it looks like a good Informix chunk file). These are binary values so you will have to interpolate the hex output and recognize whether your system is BIG-ENDIAN or LITTLE-ENDIAN if there are more than 255 chunks. (Older versions encoded the chunk number in the first twelve bits out of the first four bytes <once bytes were rearranged for endianness>.)
You will find the chunk list starting on page 6 or 7 (the engine alternates updating one of the other) of the root chunk (chunk #1) and can view the paths using od -c. If you have more than a few chunks you will have to look at the extended chunk table pages which IB begin on page 14 of the root chunk (there will actually be a pointer to the page number in the header of the first chunk page naming the actual next page).
This is all described in more detail in my Informix Internals presentation which I last presented at the IIUG Conference in 2008 which should be online at the IIUG site members pages.
Art
Art S. Kagel
Advanced DataTools (
www.advancedatatools.com)
Blog:
http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves.