Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Tape status.  Messages to VMS
@ 1994-08-02 23:49 Scott McCann
  1994-08-05 19:42 ` Jeff Lanka
  0 siblings, 1 reply; 2+ messages in thread
From: Scott McCann @ 1994-08-02 23:49 UTC (permalink / raw)


I am new to System Administration on an OSF/1 v2.0 box.  Any
suggestions to the following two questions would be appreciated.
Thanks in advance.

	- How can I check that a TLZ06 tape drive is loaded?
(Want to check prior to backups starting).  Scenerio is that
Operator feeds OSF/1 box a new tape each morning and backups
run late at night during batch cycle. The 
'mt -f /dev/rmt1h status' command doesn't seem appropriate
for use inside a script.

	- Is there a way to send a message to a VMS Cluster
from OSF/1?  DECNET is running on VMS Cluster and OSF/1.  (I
could do this via VMS mail, but would rather issue something
similar to the OpenVMS command reply/user=xxx "Hello").








^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tape status.  Messages to VMS
  1994-08-02 23:49 Tape status. Messages to VMS Scott McCann
@ 1994-08-05 19:42 ` Jeff Lanka
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Lanka @ 1994-08-05 19:42 UTC (permalink / raw)





>	- How can I check that a TLZ06 tape drive is loaded?
>(Want to check prior to backups starting).  Scenerio is that
>Operator feeds OSF/1 box a new tape each morning and backups
>run late at night during batch cycle. The 
>'mt -f /dev/rmt1h status' command doesn't seem appropriate
>for use inside a script.


We have a script with the following segment in it:


                        Press <RETURN> when ready....\c"
read choice

while [ `file /dev/rmt0h|awk '{print $NF}'` -eq 'offline' ]
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
        do
        /bin/echo "

                        ERROR: tape is NOT mounted...
                        Please mount a tape..........\n\c"
        sleep 02
        /bin/echo "

                        Press <RETURN> when ready....\c"
        read choice
done



--
Jeff Lanka
VMS/Unix SM sysdev
Dow Jones/Telerate




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-08-05 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-02 23:49 Tape status. Messages to VMS Scott McCann
1994-08-05 19:42 ` Jeff Lanka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox