|  | VAX_UHAD8$  robot show robot  $1$dua4001: drive
DRIVE:          0               TLB015
DRIVE:          1               TLB013
DRIVE:          2               Empty
DRIVE:          3               Empty
Magtape $200$MUA120: (HSJ305), device type TZ88, is online, allocated,
    controller supports tape data caching (write-back cache enabled), mounted,
    volume is marked for dismount, file-oriented device, served to cluster via
    TMSCP Server, error logging is enabled.
    Error count                    0    Operations completed
29
    Owner process          "MXD1ACP"    Owner UIC
[VMS,SYSTEM]
    Owner process ID        2020231B    Dev Prot
S:RWPL,O:RWPL,G:R,W:RWPL
    Reference count                2    Default buffer size
10000
    Volume label            "TLB015"    Relative volume no.
0
    Record size                    0    Transaction count
2
    Mount status             Process    Mount count
1
    ACP process name       "MXD1ACP"
    Density                     6666    Format
Normal-11
    Host name               "HSJ305"    Host type, avail              HSJ3,
yes
    Alternate host name     "HSJ306"    Alt. type, avail              HSJ3,
yes
    Allocation class             200
  Volume status:  no-unload on dismount, odd parity.
Magtape $200$MUA130: (HSJ306), device type TZ88, is online, allocated,
    controller supports tape data caching (write-back cache enabled), file-
    oriented device, served to cluster via TMSCP Server, error logging is
    enabled.
    Error count                    0    Operations completed
94
    Owner process          "MXU1ACP"    Owner UIC
[VMS,SYSTEM]
    Owner process ID        20202317    Dev Prot
S:RWPL,O:RWPL,G:R,W:RWPL
    Reference count                1    Default buffer size
10000
    Density                     6666    Format
Normal-11
    Host name               "HSJ306"    Host type, avail              HSJ3,
yes
    Alternate host name     "HSJ305"    Alt. type, avail              HSJ3,
yes
    Allocation class             200
  Volume status:  no-unload on dismount, beginning-of-tape, odd parity.
 | 
|  | 
VAX_UHAD8$  sh dev      mua130
Device                  Device           Error    Volume         Free  Trans
Mnt
 Name                   Status           Count     Label        Blocks Count
Cnt
$200$MUA130:  (HSJ305)  Mounted dismount     3     TLB014            0     2
1
                        cached alloc
>SDA>SHOW DEVICE on_drive_thats_hung
I/O data structures
-------------------
(HSJ306$MUA130) HSJ305$MUA130           TZ88              UCB address:
8896E9C0
Device status:   00000810 online,valid
Characteristics: 0CEC4038 dir,sdi,sqd,fod,avl,mnt,dmt,elg,all,idv,odv
                 000026B1 clu,2p,mscp,srv,nnm,wbc,loc
Owner UIC [000001,000004]   Operation count         22   ORB address
88539C80
      PID        0001003F   Error count              3   DDB address
88251240
Alloc. lock ID   08008F63   Reference count          2   DDT address
88FAA794
Alloc. class          200   BOFF                  0000   VCB address
889AB740
Class/Type          02/3E   Byte count            0000   CRB address
882512C0
Def. buf. size      32768   SVAPTE            00000000   PDT address
880D6B90
DEVDEPEND        000011C0   DEVSTS                4030   CDDB address
88D95700
DEVDEPND2        001102FC   RWAITCNT              0000   2P_CDDB addr.
88D94800
FLCK index             34   Object count            41   2P_DDB address
88249AC0
DLCK address     00000000                                I/O wait queue
empty
Device   DEVSTS   status:   4030 bit4,bit5,mscp_ignsrv
I/O data structures
-------------------
                --- Primary Class Driver Data Block (CDDB) 88D95700 ---
Status:              0040 alcls_set
Status2:             0000
Controller Flags:    00D4 cf_mlths,cf_this,cf_misc,cf_attn
Allocation class     200    CDRP Queue         empty    DDB address
88251240
System ID       100A1720    Restart Queue      empty    CRB address
882512C0
                    4200    DAP Count              2    CDDB link
88D95C00
Contrl. ID      51900678    Contr. timeout       255    PDT address
880D6B90
                01270009    Reinit Count           0    Original UCB
00000000
Response ID     00000000    Wait UCB Count         0    UCB chain
88973600
MSCP Cmd status 00000000
I/O data structures
-------------------
                --- Secondary Class Driver Data Block (CDDB) 88D94800 ---
Status:              0040 alcls_set
Status2:             0000
Controller Flags:    00D4 cf_mlths,cf_this,cf_misc,cf_attn
Allocation class     200    CDRP Queue         empty    DDB address
88249AC0
System ID       10041120    Restart Queue      empty    CRB address
88249B40
                    4200    DAP Count              1    CDDB link
88D94D00
Contrl. ID      42700301    Contr. timeout       255    PDT address
880D6B90
                01270001    Reinit Count           0    Original UCB
00000000
Response ID     00000000    Wait UCB Count         0    UCB chain
8896EB00
MSCP Cmd status 00000000
        *** I/O request queue is empty ***
I/O data structures
-------------------
                --- Volume Control Block (VCB) 889AB740 ---
Volume: TLB014
Status:   00
Mode:   0000
Transactions           2    Rel. volume            0    AQB address
881BF7C0
Start record          36    Tape vol. list  881C4340    Virt. pg. queue
00279270
Tapemark count         0                                Blocked queue
empty
I/O data structures
-------------------
                    --- ACP Queue Block (AQB) 881BF7C0 ---
ACP requests are serviced by process MXS1ACP whose PID is 0001003F
Status: 00
Mount count            1    ACP type       undefined    Linkage
881BAEC0
                            ACP class            136    Request queue
00000000
        *** ACP request queue is empty ***
I/O data structures
-------------------
HSJ305$MUA130 (HSJ306$MUA130)           TZ88              UCB address:
8896E9C0
Device status:   00000810 online,valid
Characteristics: 0CEC4038 dir,sdi,sqd,fod,avl,mnt,dmt,elg,all,idv,odv
                 000026B1 clu,2p,mscp,srv,nnm,wbc,loc
Owner UIC [000001,000004]   Operation count         22   ORB address
88539C80
      PID        0001003F   Error count              3   DDB address
88251240
Alloc. lock ID   08008F63   Reference count          2   DDT address
88FAA794
Alloc. class          200   BOFF                  0000   VCB address
889AB740
Class/Type          02/3E   Byte count            0000   CRB address
882512C0
Def. buf. size      32768   SVAPTE            00000000   PDT address
880D6B90
DEVDEPEND        000011C0   DEVSTS                4030   CDDB address
88D95700
DEVDEPND2        001102FC   RWAITCNT              0000   2P_CDDB addr.
88D94800
FLCK index             34   Object count            41   2P_DDB address
88249AC0
DLCK address     00000000                                I/O wait queue
empty
Device   DEVSTS   status:   4030 bit4,bit5,mscp_ignsrv
I/O data structures
-------------------
                --- Primary Class Driver Data Block (CDDB) 88D95700 ---
Status:              0040 alcls_set
Status2:             0000
Controller Flags:    00D4 cf_mlths,cf_this,cf_misc,cf_attn
Allocation class     200    CDRP Queue         empty    DDB address
88251240
System ID       100A1720    Restart Queue      empty    CRB address
882512C0
                    4200    DAP Count              1    CDDB link
88D95C00
Contrl. ID      51900678    Contr. timeout       255    PDT address
880D6B90
                01270009    Reinit Count           0    Original UCB
00000000
Response ID     00000000    Wait UCB Count         0    UCB chain
88973600
MSCP Cmd status 00000000
I/O data structures
-------------------
                --- Secondary Class Driver Data Block (CDDB) 88D94800 ---
Status:              0040 alcls_set
Status2:             0000
Controller Flags:    00D4 cf_mlths,cf_this,cf_misc,cf_attn
Allocation class     200    CDRP Queue         empty    DDB address
88249AC0
System ID       10041120    Restart Queue      empty    CRB address
88249B40
                    4200    DAP Count              1    CDDB link
88D94D00
Contrl. ID      42700301    Contr. timeout       255    PDT address
880D6B90
                01270001    Reinit Count           0    Original UCB
00000000
Response ID     00000000    Wait UCB Count         0    UCB chain
8896EB00
MSCP Cmd status 00000000
        *** I/O request queue is empty ***
I/O data structures
-------------------
                --- Volume Control Block (VCB) 889AB740 ---
Volume: TLB014
Status:   00
Mode:   0000
Transactions           2    Rel. volume            0    AQB address
881BF7C0
Start record          36    Tape vol. list  881C4340    Virt. pg. queue
00279270
Tapemark count         0                                Blocked queue
empty
I/O data structures
-------------------
                    --- ACP Queue Block (AQB) 881BF7C0 ---
ACP requests are serviced by process MXS1ACP whose PID is 0001003F
Status: 00
Mount count            1    ACP type       undefined    Linkage
881BAEC0
                            ACP class            136    Request queue
00000000
        *** ACP request queue is empty ***
>SDA>SHOW PROCESS/CHAN on_process_thats_creating_files
Process index: 0167   Name: Hyland on VT222   Extended PID: 20401167
--------------------------------------------------------------------
                            Process active channels
                            -----------------------
Channel  Window           Status        Device/file accessed
-------  ------           ------        --------------------
  0010  00000000                        DSA0:
  0020  8821CE80                        DSA0:[VMS$COMMON.SYSEXE]SDA.EXE;1
  0030  8819DE00
DSA0:[VMS$COMMON.SYSLIB]SECURESHRP.EXE;2
 (section file)
  0040  00000000                        VTA222:
  0050  8819FD00
DSA0:[VMS$COMMON.SYSLIB]SECURESHR.EXE;2
(section file)
  0060  00000000                        VTA222:
  0070  881A1700                        DSA0:[VMS$COMMON.SYSLIB]LIBRTL.EXE;14
(s
ection file)
  0080  8819F0C0                        DSA0:[VMS$COMMON.SYSLIB]SMGSHR.EXE;2
(se
ction file)
  0090  8819BA80                        DSA0:[VMS$COMMON.SYSEXE]DCL.EXE;1
(secti
    Press RETURN for more.
SDA> 0  8819EF40                        DSA0:[VMS$COMMON.SYSLIB]SCRSHR.EXE;1
(se
ction file)
Process index: 0167   Name: Hyland on VT222   Extended PID: 20401167
--------------------------------------------------------------------
Channel  Window           Status        Device/file accessed
-------  ------           ------        --------------------
  00B0  881B47C0
DSA0:[VMS$COMMON.SYSLIB]DCLTABLES.EXE;26
8 (section file)
  00C0  8819EAC0                        DSA0:[VMS$COMMON.SYSLIB]LBRSHR.EXE;14
(s
ection file)
  00D0  00000000                        VTA222:
  00E0  8865E6C0                        DSA0:[UHCOMMON.VICKIE.LIB]SDA.INIT;1
  0100  00000000                        VTA222:
  0110  00000000                        VTA222:
  0120  881A0700
DSA0:[VMS$COMMON.SYSMSG]PRGDEVMSG.EXE;1
(section file)
  0130  881A0880
DSA0:[VMS$COMMON.SYSMSG]SHRIMGMSG.EXE;1
(section file)
VAX_UHAD8$  sh dev/full mua130
Magtape $200$MUA130: (HSJ305), device type TZ88, is online, allocated,
    controller supports tape data caching (write-back cache enabled), mounted,
    volume is marked for dismount, file-oriented device, served to cluster via
    TMSCP Server, error logging is enabled.
    Error count                    3    Operations completed
22
    Owner process          "MXS1ACP"    Owner UIC
[VMS,SYSTEM]
    Owner process ID        2040023F    Dev Prot
S:RWPL,O:RWPL,G:R,W:RWPL
    Reference count                2    Default buffer size
32768
    Volume label            "TLB014"    Relative volume no.
0
    Record size                    0    Transaction count
2
    Mount status             Process    Mount count
1
    ACP process name       "MXS1ACP"
    Density                     6666    Format
Normal-11
    Host name               "HSJ305"    Host type, avail              HSJ3,
yes
    Alternate host name     "HSJ306"    Alt. type, avail              HSJ3,
yes
    Allocation class             200
  Volume status:  no-unload on dismount, odd parity.
 | 
|  | >Yes it does, but these are manual steps that she has to take to clear the drives.
    
    I understand that.  I asked the question to help in my diagnosis, not
    to suggest a workaround.
    
    SMF DISMOUNT causes execution of the same code which should be executed
    about 30 seconds after the file is closed.  The fact that the dismount
    succeeds and clears the drive tells me that no file is open, and that
    the problem is probably with the timer, not with the code it executes.
    
    I recall that there was a problem with pthread_delay (cma_delay) where
    for small time values, it never returned.  This would cause the
    behavior we're seeing, but I'm skeptical of this, because the SMF delay
    involved is 15 seconds, and this usually happened with delays of one
    second or less.  There is a STARs article and a VMS patch for this
    problem.
    
    Could I get VMS, MDMS, and SMF versions and architectures?
    
    - Dan.
 |