From: Wanderley Mendes <wander () cptec ! inpe ! br>
To: tru64-unix-managers
Subject: SUMMARY: (PARTIAL) dd close error
Date: Mon, 26 Jun 2000 14:16:08 +0000 [thread overview]
Message-ID: <96202908001079.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--Boundary_(ID_ZVdcmsC0E4wZvKW7A2opXg)", Size: 5299 bytes --]
--Boundary_(ID_ZVdcmsC0E4wZvKW7A2opXg)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8BIT
Hi fellows,
Thanks to:
Jim Belonis
h.b.j.ensing@kpn.com
Johannes Markstr�m <jomar@ikp.liu.se>
Oisin McGuinness
alan@nabeth.cxo.dec.com
First of all, I must say that I was using two dd commands to test
the performance of vdump, but the conclusion was that it's the same with
or without it, and more, the "dd close error" happens on both forms.
Second, due the size of all filesystems I know that just one tape is
not enough and all that I want is the multivolume functionality of dd
command.
The problem is that for any unknown reason, the dd fails at the end
of the first tape, giving me no possibility to treat the error via
Expect routines, as I do normally when using just vdump for local
filesystems. But my jukebox is directly attached to one host and it's
the only storage that I have, so I must use dd to do remote vdumps of
other hosts.
So, I don't know what dd is trying to do when it says "Please wait
for file closing", maybe it finds the end of tape, but there are still
some data in cache to write and this "no more room" causes the error
(?!?).
Another way maybe is try to monitor the tape used and do something
just before the end of tape through Expect. I can do this, but it's
disappointed.
Any idea?
Thanks
Wander
-------------------------------
-------------------------------
Original question:
Hi Managers,
I'm facing a weird problem with "dd" when using the following command
inside a shell script:
/usr/bin/rsh host_a "/sbin/vdump -0f - /QuarterBack/clone_users |
/sbin/dd ibs=64k obs=64k " | /sbin/dd ibs=64k obs=64k
of=/dev/nrmt1h
At the end of tape, dd issues the message:
Reached end of medium for /dev/nrmt1h; Please wait for file closing
dd close error: I/O error
... and aborts the script.
I've really failed to find a solution or anything like that on the
archives.
I'm using a TZ87 DLT Drive and OS Version is 4.0F patch kit # 1 (I
know...I know....)
--
----------------------=======----------------------
Wanderley O. Mendes
Software Specialist wander@cptec.inpe.br
Phone: +55-12-560-8432 Fax: +55-12-560-8435
INPE/CPTEC - Cachoeira Paulista - Sao Paulo - Brazil
----------------------=======----------------------
--Boundary_(ID_ZVdcmsC0E4wZvKW7A2opXg)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi fellows,
<p>Thanks to:
<br>Jim Belonis
<br>h.b.j.ensing@kpn.com
<br>Johannes Markström <jomar@ikp.liu.se>
<br>Oisin McGuinness
<br>alan@nabeth.cxo.dec.com
<p> First of all, I must say that I was using two dd
commands to test the performance of vdump, but the conclusion was that
it's the same with or without it, and more, the "dd close error" happens
on both forms.
<br> Second, due the size of all filesystems I know that
just one tape is not enough and all that I want is the multivolume functionality
of dd command.
<br> The problem is that for any unknown reason, the
dd fails at the end of the first tape, giving me no possibility to treat
the error via Expect routines, as I do normally when using just vdump
for local filesystems. But my jukebox is directly attached to one host
and it's the only storage that I have, so I must use dd to do remote
vdumps of other hosts.
<br> So, I don't know what dd is trying to do when it
says "Please wait for file closing", maybe it finds the end of tape, but
there are still some data in cache to write and this "no more room" causes
the error (?!?).
<br> Another way maybe is try to monitor the tape used
and do something just before the end of tape through Expect. I can
do this, but it's disappointed.
<p> Any idea?
<p>Thanks
<br>
<p>Wander
<br>-------------------------------
<br>-------------------------------
<br>Original question:
<br>
<p>Hi Managers,
<p>I'm facing a weird problem with "dd" when using the following command
inside a shell script:
<p>/usr/bin/rsh host_a "/sbin/vdump -0f - /QuarterBack/clone_users | /sbin/dd
ibs=64k obs=64k " | /sbin/dd ibs=64k obs=64k
<br>of=/dev/nrmt1h
<p>At the end of tape, dd issues the message:
<p>Reached end of medium for /dev/nrmt1h; Please wait for file closing
<br>dd close error: I/O error
<p>... and aborts the script.
<p>I've really failed to find a solution or anything like that on the archives.
<br>I'm using a TZ87 DLT Drive and OS Version is 4.0F patch kit # 1 (I
know...I know....)
<pre>--
----------------------=======----------------------
Wanderley O. Mendes
Software Specialist wander@cptec.inpe.br
Phone: +55-12-560-8432 Fax: +55-12-560-8435
INPE/CPTEC - Cachoeira Paulista - Sao Paulo - Brazil
----------------------=======----------------------</pre>
</html>
--Boundary_(ID_ZVdcmsC0E4wZvKW7A2opXg)--
reply other threads:[~2000-06-26 14:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox