Re: Instance Initialization Problem
Posted in 1999
Just another FYI as well... It's probably not a good idea to put the symbolic links in /dev. On some platforms the OS will treat that as a pseudo directory and rebuild it when the server is rebooted. You could lose your links that way as well. It might be a better practice to put the symbolic links somewhere else. Maybe create a directory called "/db" or "/chunks" and put your symbolic links there. Lloyd AJ Wilson wrote: > Well, > > I guess I answered my own question. Because we had set our partitions > to start at cylinder 0, and informix user had ownership over the > partition, it was overwriting the area of the disk which contains the > partition information. This caused any information that was presently > there to be overwritten every time an informix instance was > re-initialized. > > A silly mistake on our part .... but it warns those future informix > pro's I guess what not to do :) > > Lloyd. > > Lloyd AJ Wilson wrote: > >> Hello, >> >> We are currently working with Informix Online 7.12 UC1 and we are >> having >> difficulties initializing our informix instance. Our servers run >> 128MB >> memory on a dual Ultra Sparc UNIX 300MHZ processors with 3 18GB >> ultra >> fast scsi hard drives. Each time we bring an instance online and >> then >> back to off line we can no longer initialize our instance using the >> same >> raw partition that the rootdbs was created on. >> >> When we were troubleshooting the problem we noticed that the reason >> it >> can no longer use the original partition is that the partition >> information that we were using ( lables etc. ) for informix was >> removed. For example we initialize our rootdbs for an informix >> instance >> to /dev/chunk1 ( a sym link ) with a 2GB parttion of the 3 listed >> above. >> The instance will initialize if this is my first time starting it >> up. >> Once I bring the instance down, and then try to re-initialize the >> instance (changing a few parameters for ex. ), it gives us an error >> that >> it can no longer find the device /dev/chunk1. If I do not touch >> anything >> of the old instance and try to re-initialize it is still the same >> problem because the partition information is gone. >> >> From my understanding you can bring down an informix instance and >> back >> up again can you not? Anyone have any ideas whats going on with our >> partitions? For each device there is one 2GB partition. Do we need >> to >> do something special with our partitions to make this work. Does >> informix do anything with the partition informix once an instance is >> >> created? >> >> Your help much appreciated. >> >> Thanks in advance. >> >> Lloyd Wilson >> Programmer / Analyst | Informix DBA >> Canada WorkinfoNET >> llwilson@istar.ca >