Re: Help! Need to change chunk's device filename.
Posted in 2000
Steve Mading wrote in message <8clr2l$17us$1@news.doit.wisc.edu>...
>
>Note, this is in relation to Informix Online 7.23 on SGI Irix 6.4
>
>Help! Due to reasons too complex to go into in this message,
>the device file names for some of our raw chunks have changed.
>Now our Informix database won't work since the chunks' device files
>have been renamed. The problem is that I can't find a way to
>re-name the chunks
You can't.
> On Irix 6.4 it can't be done
>because the /dev directory and the /hw directory are not the same
>filesystem (can't hardlink), and Informix won't accept a symlink
>for chunks
????????????????????
>3 - Run "oninit -i" and re-make the database from scratch, remaking
>the dbspaces from scratch too.
> - Failed: Got this message:
>
> oninit: Fatal error in shared memory creation
>
> (Not a useful message because it *always* says that for
> any sort of error the prevents oninit from running
You may get more info from oninit -iv, and almose certainly will from the
online.log.
>> I'm at a loss how to continue.
I think you'll have to restore from a backup which, if you've not used
links, means you'll have to get your original device names back somehow, on
this or another server.
Maybe Tech Support could help with some clever utility?