RE: Why does it still think the LTAPEDEV is nul?
Posted in 2000
I did used ONMONITOR to change the LTAPEDEV parameter. However, it's only
work for changing the parameter from /dev/null to device BUT NOT from device
back to /dev/null. WHY?
-----Original Message-----
From: Art S. Kagel [mailto:kagel@bloomberg.net]
Sent: Tuesday, November 07, 2000 8:54 AM
To: informix-list@iiug.org
Subject: Re: Why does it still think the LTAPEDEV is nul?
OK, definitive answer. Since the engine has to check the value of LTAPEDEV
every time a logical log fills it ONLY looks at the copy in shared memory
that is created at engine startup. This is different from the TAPEDEV
parameter which is ONLY read from the ONCONFIG file. If you only changed
the value in the ONCONFIG file the engine AND ontape will not know about
the change until you shutdown and restart the engine. On UNIX you can
use the ONMONITOR utility to change the value of LTAPEDEV on disk and
onmonitor will ALSO change the in-memory version of that parameter so that
the change takes effect immediately. On NT there IS not onmonitor utility
so you are out-of-luck and have to shutdown and restart the engine.
Art S. Kagel
Impy wrote:
>
> In article <8tjdbc$9cm$07$1@news.t-online.com>,
> "Erik Stahlhut" <isr-est@t-online.de> wrote:
> > Please check the entries in the reserved pages with oncheck -cr. If
> there's
> > a difference between the onconfig-file and the r.-pages you must
> reboot the
> > server.
> >
> > Regards
> > Erik Stahlhut
> Thanks, that helped me figure out what to do (but I had to dig deep to
> remember how to stop/start services from a prompt since I am doing this
> remotely.) But it still didn't answer my question.
> oncheck -pr showed:> ONCONFIG config file error on element TAPEDEV.
> Value in reserved page: nul
> Value in config file: \\\\.\\TAPE0
> ONCONFIG config file error on element LTAPEDEV.
> Value in reserved page: nul
> Value in config file: \\\\.\\TAPE2
> Why did this become a problem?
> Thanks for any light you can shed on this.
> Wynne
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.