* vdump & automated tape change
@ 1999-11-16 5:00 Kaare Schou
1999-11-17 5:00 ` Massimo Gais
0 siblings, 1 reply; 3+ messages in thread
From: Kaare Schou @ 1999-11-16 5:00 UTC (permalink / raw)
Hi.
Alpha8400 / DUNIX 4.0D / DLT MiniLibrary (TL891) / Media Robot Utility
I make backup using vdump. Doing so I get a prompt on stderr when tape is
full
vdump: Change Tapes: Mount tape# 0002
vdump: Press RETURN when tape is mounted...
Of course, I like to script that action (is'nt that the whole idea of tape
robots ?). I've made something like:
TAPE=/dev/nrmt0h
vdump ... 2>&1 |&
while read -p ;do
if [[ $(print $REPLY | cut -f 2 -d :) = ' Change Tapes' ]] ;then
[ robot blah blah to change the tape (works fine)]
print -p '\r'
fi
Doing so, however, vdump returns:
vdump: out of space and unable to prompt input for new tape; [25] Not a
typewriter
Of course, scitpts using named pipes, bidirectional 2<> and other desparate
things have been tried, so far with no success. Can anyone out there tell me
how to make this work. Any clues will be appreciated.
--Kaare
------------------
Kaare Schou | Royal Danish Administration of Navigation and Hydrography
Mailto:KSc@fomfrv.dk | http://www.fomfrv.dk
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: vdump & automated tape change
1999-11-16 5:00 vdump & automated tape change Kaare Schou
@ 1999-11-17 5:00 ` Massimo Gais
1999-11-17 5:00 ` Jesper Frank Nemholt
0 siblings, 1 reply; 3+ messages in thread
From: Massimo Gais @ 1999-11-17 5:00 UTC (permalink / raw)
To: KSc
Kaare Schou wrote:
>
> Hi.
> Alpha8400 / DUNIX 4.0D / DLT MiniLibrary (TL891) / Media Robot Utility
> I make backup using vdump. Doing so I get a prompt on stderr when tape is
> full
>
> vdump: Change Tapes: Mount tape# 0002
> vdump: Press RETURN when tape is mounted...
>
> Of course, I like to script that action (is'nt that the whole idea of tape
> robots ?). I've made something like:
>
> TAPE=/dev/nrmt0h
> vdump ... 2>&1 |&
> while read -p ;do
> if [[ $(print $REPLY | cut -f 2 -d :) = ' Change Tapes' ]] ;then
> [ robot blah blah to change the tape (works fine)]
> print -p '\r'
> fi
>
> Doing so, however, vdump returns:
>
> vdump: out of space and unable to prompt input for new tape; [25] Not a
> typewriter
>
> Of course, scitpts using named pipes, bidirectional 2<> and other desparate
> things have been tried, so far with no success. Can anyone out there tell me
> how to make this work. Any clues will be appreciated.
>
Watch out! The vdump/vrestore seems to be seriously unable to manage the
multitape archives... Some time ago there was a thread on the "alpha-osf
managers"
mailing list.
With vdump, the suggested solution is to use "expect" package, which is
able to
read the stdout/stderr of the vdump command, change the tape and "press
the
return button" to continue.
Vrestore seems to be bugged (v4.0d), so that the diagnostic messages are
wrong if
LANG variable is set to en_US.ISO8859-1 and anyway it has problem to
handle the
exit condition when it's interacting with a (robotic) operator.
Maybe things are changed now, I dunno. Anyway I'll wait a while before
to try
to dump my 15GB filesystem with vdump on a multi-DAT!
Regards
--
Massimo Gais <mgais@na.astro.it>
----
"True programmers never die,
they just branch to an odd address..."
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: vdump & automated tape change
1999-11-17 5:00 ` Massimo Gais
@ 1999-11-17 5:00 ` Jesper Frank Nemholt
0 siblings, 0 replies; 3+ messages in thread
From: Jesper Frank Nemholt @ 1999-11-17 5:00 UTC (permalink / raw)
Massimo Gais wrote:
>
> Kaare Schou wrote:
> >
> > Hi.
> > Alpha8400 / DUNIX 4.0D / DLT MiniLibrary (TL891) / Media Robot Utility
> > I make backup using vdump. Doing so I get a prompt on stderr when tape is
> > full
> >
> > vdump: Change Tapes: Mount tape# 0002
> > vdump: Press RETURN when tape is mounted...
> >
> > Of course, I like to script that action (is'nt that the whole idea of tape
> > robots ?). I've made something like:
> >
> > TAPE=/dev/nrmt0h
> > vdump ... 2>&1 |&
> > while read -p ;do
> > if [[ $(print $REPLY | cut -f 2 -d :) = ' Change Tapes' ]] ;then
> > [ robot blah blah to change the tape (works fine)]
> > print -p '\r'
> > fi
> >
> > Doing so, however, vdump returns:
> >
> > vdump: out of space and unable to prompt input for new tape; [25] Not a
> > typewriter
> >
> > Of course, scitpts using named pipes, bidirectional 2<> and other desparate
> > things have been tried, so far with no success. Can anyone out there tell me
> > how to make this work. Any clues will be appreciated.
> >
>
> Watch out! The vdump/vrestore seems to be seriously unable to manage the
> multitape archives... Some time ago there was a thread on the "alpha-osf
> managers"
> mailing list.
One could also use Networker which is included in dunix.
vdump works the best with one DLT tape.
l8r/Jspr
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-11-17 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-16 5:00 vdump & automated tape change Kaare Schou
1999-11-17 5:00 ` Massimo Gais
1999-11-17 5:00 ` Jesper Frank Nemholt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox