[Info-vax] Newbie II: proper dismount

Slor semaj at rols.ten
Thu Aug 27 21:58:08 EDT 2009


Despite all prevention efforts, John Santos
<john.santos at post.harvard.edu> wrote in
news:MPG.2500efb01eecfbb89897c1 at news.verizon.net: 

> In article <Xns9C74C9D893500emuslor at 69.16.185.252>, semaj at rols.ten 
> says...> 
>> Ok, one other question for the helpful souls here...  I have the
>> symbol "BOOT" defined as follows to be able to reboot from a
>> telnet/ssh terminal:
>> 
>> $ show sym boot
>>   BOOT == "RUN /DETACHED /INPUT=SYS$APPS:[TOOLS]BOOT.COM /OUTPUT=NL:
>>   SYS 
>> $SYSTEM:LOGINOUT.EXE"
>> 
>> And the boot.com script is simply this single line:
>> 
>> $ type sys$apps:[tools]boot.com
>> $ @SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES NONE
>> 
>> Whenever I reboot my machine that way (or shut it down with the
>> proper argument change for SHUTDOWN and power back on), it comes back
>> up with this:
>> 
>> %MOUNT-I-MOUNTED, APPS mounted on _AS600$DKA100:
>> %MOUNT-I-REBUILD, volume was improperly dismounted; rebuild in
>> progress %MOUNT-I-MOUNTED, USER mounted on _AS600$DKA300:
>> 
>> I assume the improper dismount is the USER volume, since the message 
>> comes before the mount message.  If I do the same reboot from the
>> hard console
>> 
>> $ show sym reboot
>>   REBOOT == "@SYS$SYSTEM:SHUTDOWN 0 SHUTDOWN NO YES LATER YES NONE"
>> 
>> then I do NOT get the message.  Seems like something I read a while
>> back when I first noticed this led me to believe it _could_ just be
>> due to a bug in OpenVMS 8.3, but I'm inclined to think I have
>> something setup wrong.  So, is there a piece I don't have quite right
>> for this to do a clean shutdown?  Perhaps I'm missing something in
>> part of the system shutdown routine that actually does the
>> dismounting?  If someone knows a fix, I'd be glad to have it.
> 
> Where does BOOT.COM live?  Is it on USER?  If so, then due to the open
> file, SHUTDOWN.COM can't cleanly dismount the disk, so you get the
> rebuild message.  Try moving it to the system disk.  I think there is
> special stuff in the shutdown code to dismount the system disk after
> all processes (including the shutdown process) have been removed.

I think you called it - it was actually on APPS, and moving it to the 
system disk got rid of the notice.  Thanks for the help and the other 
info.

-- 
James
http://www.e-host-direct.com
Reliable web hosting from $12/year.



More information about the Info-vax mailing list