Operating System - OpenVMS
1753801 Members
8144 Online
108805 Solutions
New Discussion юеВ

Re: mount disks in systartup_vms.com

 
olive_wide
Frequent Advisor

mount disks in systartup_vms.com

Two nodes' cluster.I had add the following in systartup_vms.com on EACH NODE($1$dga: is MSA1000 disks):
$mount $1$dga1:/cluster DATA1
$mount $1$dga2:/cluster DATA2
$mount $1$dga3:/cluster DATA3
But when the system normal startup,and mounting the $1$dga1:,always displays:
%mount-i-mounted,data1 mounted on _$1$dga1: (BU)
%mount-i-rebuild,volume was improperly dismounted; rebuild in progress

The $1$dga2: and $1$dga3: all are mounted good.
I want to know if it is a error?
12 REPLIES 12
Peter Barkas
Regular Advisor

Re: mount disks in systartup_vms.com

This message can be caused by the disk not being dismounted before the system is shut down. For example due to a power failure. There may or may not be serious consequences. You may see other messages and there could be files in syslost when the rebuild is complete.
Martin Vorlaender
Honored Contributor

Re: mount disks in systartup_vms.com

Olive,

$ help/mess "rebuild in progress"

REBUILD, volume was improperly dismounted; rebuild in progress

Facility: MOUNT, Mount Utility

Explanation: You mounted a volume using the /REBUILD qualifier (which is the default) and the volume was last dismounted improperly, for example, because the system crashed. The volume is being rebuilt to recover disk resources that were cached when the volume was improperly dismounted.

User Action: After you have rebuilt the volume, it is good practice to use the Analyze/Disk_Structure utility to check for other errors and inconsistencies.


AFAIK, no ill consequences (apart from some diskspace used).

cu,
Martin
olive_wide
Frequent Advisor

Re: mount disks in systartup_vms.com

Thank you all,
I know the meaning of "mount-i-rebuild,volume was improperly dismounted; rebuild in progress"
What I want to know is WHY ONLY $1$dga1: displays this error information. $1$dga2: ,$1$dga3 all are good,WHY??
Willem Grooters
Honored Contributor

Re: mount disks in systartup_vms.com

As said, this is caused by closaing down the system without the disk propely DISMOUNTed (normally done in SYSHUTDOWN.COM). It might be obvious: Does this device contain system files like SYSUAF or page- and/or swapfiles? That may pretent the disk to dismount properly.

Willem
Willem Grooters
OpenVMS Developer & System Manager
Karl Rohwedder
Honored Contributor

Re: mount disks in systartup_vms.com

There were open files during DISMOUNT, the shutdown should report such things.

If the REBUILD takes too long during startup, you can mount with /NOREBUILD and perform the rebuild later during nightjobs...

regards Kalle
Antoniov.
Honored Contributor

Re: mount disks in systartup_vms.com

Oliver,
I guess in SYS$MANAGER:SYSHUTDWN.COM misses some SHUTDOWN procedure; e.g. TCP/IP, Pathwork or some other.

Antonio Vigliotti
Antonio Maria Vigliotti
Volker Halle
Honored Contributor

Re: mount disks in systartup_vms.com

Olive,

you could put a SHOW DEV/FILES $1$DGA1: as the last line in your SYSHUTDWN.COM - this will show the open files during shutdown. Use /OUTPUT=filename to save this information to a file, if you don't record the output from running SHUTDOWN.

Then you have to find out, what you could do to stop the applications or cause them to close their files.

Volker.
Uwe Zessin
Honored Contributor

Re: mount disks in systartup_vms.com

Two node cluster? Sounds like $1$DGA1: is the quorum disk...
.
Veli K├╢rkk├╢
Trusted Contributor

Re: mount disks in systartup_vms.com

Well, if you really want to find out, start with

$ show device/mounted $1$dg

Check the transaction count. It must be either 1 (or 3 if the disk in question has disk quotas enabled) for disk to be cleanly dismountable.

To see (most) of stuff open you could do e.q.

$ show device/files $1$dga1:

It might be pagefile, swapfile, installed images (of an non system disk app), app process running and keeping files open) maybe RDB database or something like that.

Do have your SYS$MANAGER:SYSHUTDWN.COM populated with stuff to shutdown things you start up in SYS$MANAGER:SYSTARTUP_VMS.COM.

E.q. if you do during startup

$ @sys$startup:rmonstart71.com

do should do

$ @sys$startup:rmonstop71.com

during shutdown.

Append a

$ SPAWN

to SYHUTDWN.COM, do shutdown and use

$ show device/files $1$dga1:

to check what is still missing from SYSHUTDWN.COM.

Once you reach situation where Trans Count is 1 (or 3), the disk gets cleanly dismounted and you will not that the rebuild stuff done during reboot.

Note that pagefile, swpapfile on disk maybe unresolvable issue w.r.t. this symptom though.

And this whole thing is much important anyway
when using HBVS since one would want to avoid
merges.

_veli