No can do. Actually the primary chunk is NOT changed, just ask onstat -d!
It is just that when the engine starts up and reads the OTHER link, as
specified in $ONCONFIG it reads the chunklist table from there, closes the
ROOTDBS file specified in $ONCONFIG and reopens the chunks as named in the
reserved page chunklist table. You cannot modify the chunk table yourself
without detailed knowledge of the IDS disk structures, Informix tech
support has no tool to rename chunks, and tech support will NOT alter any
disk structure without a tested and proven tool.
Art S. Kagel
Andreas Bettin wrote:
>
> Hello!
>
> OS: Digital Unix 4.0E
> DB: DSA 7.24.FC4X1
> Appl.: SAP R/3
>
> My problem after migration to a new system with ontape:
>
> We have a archive restored into a new system. On the old system the
> chunks
> was reside in /informix/PN1/sapdata/physdev{n}. Because of
> SAP-Restrictions,
> we had changed the chunks to /informix/PMM/sapdata/physdev{n}.
>
> To restore the data on the new system, we have softlinked PMM to PN1.
> Restore was successfully and system is running without problems.
>
> Now, we need to change the chunk-path's from /informix/PN1 to
> /informix/PMM
> in the database, because the tool "sapdba" see that all chunks in the
> PMM path
> not used by the db.
>
> The primary chunk to rootdbs was successfully changed in the onconfig.
>
> Can anyone give me suggestions/tipps or can help me?
>
> Tks in advance!
>
> Andreas Bettin
> DBA Pneuhage / Germany