Re: Curious problem with the VAX

From: William Webb (william.w.webb_at_gmail.com)
Date: 08/15/05


Date: Mon, 15 Aug 2005 15:24:24 -0400

On 15 Aug 2005 18:46:57 GMT, Bill Gunshannon <bill@cs.uofs.edu> wrote:
> Well, I was actually able to get the VAX going again. The CD seems
> to come and go pretty much as it pleases but it stays around long
> enough get things running again.
>
> But I have run into an interesting anomaly. I will cut and paste
> from my console and maybe someone can tell me what is going on and
> how to fix it.
>
> I have this at the end of my SYSTARTUP_VMS.COM (just before the EXIT)
>
>
> $ WRITE SYS$OUTPUT ""
> $ WRITE SYS$OUTPUT "Mount the USERS Filesystem"
> $ WRITE SYS$OUTPUT ""
> $ mount $1$DUA2: users users:
>
>
> After starting up the following is displayed on my console:
>
>
>
> Mount the USERS Filesystem
>
> %MOUNT-I-MOUNTED, USERS mounted on _$1$DUA2: (HSJ002)
>
>
> But when I do a SHOW DEV I get:
>
> Device Device Error Volume Free Trans Mnt
> Name Status Count Label Blocks Count Cnt
> $1$DKA40: (HSJ002) Online 0
> $1$DUA1: (HSJ002) Mounted 0 OVMSVAXSYS 87083342 173 1
> $1$DUA2: (HSJ002) Online 0
> $1$DUA3: (HSJ002) Online 0
>
> Device Device Error
> Name Status Count
> FTA0: Offline 0
> OPA0: Online 0
> TNA0: Offline 0
>
> Device Device Error
> Name Status Count
> EXA0: Online 0
> EXA3: Online 0
> EXA4: Online 0
> EXA5: Online 0
> EXB0: Online 0
> MPA0: Offline 0
> PAA0: Online 0
>
>
> You will note that $1$DUA2: is not mounted!!
>
> However, if I then type the same command I get:
>
>
> $ mount $1$DUA2: users users:
> %MOUNT-I-MOUNTED, USERS mounted on _$1$DUA2: (HSJ002)
> $ sh dev
>
> Device Device Error Volume Free Trans Mnt
> Name Status Count Label Blocks Count Cnt
> $1$DKA40: (HSJ002) Online 0
> $1$DUA1: (HSJ002) Mounted 0 OVMSVAXSYS 87083256 173 1
> $1$DUA2: (HSJ002) Mounted alloc 0 USERS 106613755 1 1
> $1$DUA3: (HSJ002) Online 0
>
> Device Device Error
> Name Status Count
> FTA0: Offline 0
> OPA0: Online 0
> TNA0: Offline 0
>
> Device Device Error
> Name Status Count
> EXA0: Online 0
> EXA3: Online 0
> EXA4: Online 0
> EXA5: Online 0
> EXB0: Online 0
> MPA0: Offline 0
> PAA0: Online 0
> $
>
>
> And now it is mounted!! Why does this command not work while booting
> (although the message says it does) and yet works fine afterwards?
>
> bill
>
> --
> Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves
> bill@cs.scranton.edu | and a sheep voting on what's for dinner.
> University of Scranton |
> Scranton, Pennsylvania | #include <std.disclaimer.h>
>

You're mounting it privately, for one thing.

You probably want to MOUNT/SYSTEM if your students' directories are
residing on that particular disk.

SYNTAX: MOUNT/SYSTEM <physical device name> <volume label>

There are more variations to mount than you can shake a stick at.

HELP /MOUNT is quite verbose.

Good practice is to refer to physical device names as little as possible;

Most system managers create system logicals for each physical disk
drive early in the startup process and refer to *them* thereafter
unless there's some requirement to refer to a physical device name
that can't be gotten around.

That way, if you have to restore or copy the contents of a failing
disk to a spare, you only have to change your reference in one place
instead of searching through all your DCL to replace all the instances
of Dxxx that are hardcoded in there.

Have you bought David Miller's book?

You ought to give it a look, as there's a lot in there that would make
your life easier.

HTH

WWWebb

-- 
NOTE: This email address is only used for noncommerical VMS-related
correspondence.
All unsolicited commercial email will be deemed to be a request for
services pursuant to the terms and conditions located at
http://bellsouthpwp.net/w/e/webbww/


Relevant Pages

  • Re: select() returns Success when device referred by fd no longer exists
    ... It refer to a future possible one. ... use without getting a 'disk full' error. ... If the resource whose status select has reported is ... because they have an open file descriptor refering to it, ...
    (comp.os.linux.development.apps)
  • RE: Mirroring Drives
    ... To edit boot.ini, please refer to following article: ... I think mirroed volumn will be OK since Striped volumes offer ... If a disk in a striped volume fails, ...
    (microsoft.public.win2000.networking)
  • Re: hard links to files on other filesystems disallowed: why?
    ... Hard links are duplicate directory entries actually on the disk. ... They cannot refer to another disk. ... inode on another filesystem that is also mounted. ...
    (comp.os.linux.misc)
  • Re: Worcester signalling
    ... It describes the 'banjo' disc signal and calling on disk that you ... refer to. ... What is the meaning of the white squashed hexagon on many ...
    (uk.railway)
  • Re: ERROR: unable to write header file
    ... > All those issues are OK, I have been using the machine in production for ... > 16Gb on the disk at the moment and have had no problems adding files. ... >> If the physical device is healthy, it could be something in the way the ...
    (comp.os.vms)