[Info-vax] Undo Autogen on VMS 7.3
AEF
spamsink2001 at yahoo.com
Mon Nov 1 20:44:37 EDT 2010
On Nov 1, 7:57 pm, "Richard B. Gilbert" <rgilber... at comcast.net>
wrote:
> On 11/1/2010 6:00 PM, Rob Jarratt wrote:
>
> > I have an old Alpha 433au to which I just added some extra memory. So I
> > did an Autogen, but it looks like there were some problems with the
> > parameters as there were conflicting SCSNODE values etc. I pressed
> > ahead, but would now like to go back to the previous configuration. Is
> > this possible? If so, how do I do it? Note that I have not purged any
> > files in sys$system, so I am wondering if it is just a matter of
> > deleting the most recent SETPARAMS.DAT and rebooting?
>
> > Thanks
>
> > Rob
>
> It's too late now but ISTR that there is a way to get AUTOGEN to tell
> you what it thought should be done without actually doing it. Sorry I
> can't be more specific but it has been too many years since I actually
> did it.
$ @SYS$UPDATE:AUTOGEN SAVPARAMS TESTFILES
You can also use GETDATA or GENPARAMS as the first phase. The
important part is to not go past the TESTFILES stage. Then read the
report to see what AUTOGEN would have done if you went to the GENFILES
or SETPARAMS or a later phase.
To undo the parameter changes you could RENAME SETPARAMS.DAT
SETPARAMS.DAT-OLD and then run
@SYS$UPDATE:AUTOGEN SETPARAMS REBOOT
but that won't undo any pagefile or swapfile changes. Those you'd have
to fix manually by running @SYS$UPDATE:SWAPFILES followed by any
needed PURGing or RENaming. Or you can run a full blown AUTOGEN again
once you have your problem fixed. Be sure to always do a dry run by
using TESTFILES as your end phase before committing your changes.
AEF
More information about the Info-vax
mailing list