From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Schepers, Jan" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: vdump message Date: Wed, 29 May 2002 11:37:57 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1022665496 3185 127.0.0.1 (29 May 2002 09:44:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 29 May 2002 09:44:56 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17D00l-0000pG-00 for ; Wed, 29 May 2002 11:44:55 +0200 Original-Received: (qmail 12657 invoked by uid 5); 29 May 2002 09:38:17 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12649 invoked from network); 29 May 2002 09:38:17 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 29 May 2002 09:38:17 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWV0076R9FT46@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 29 May 2002 05:38:17 -0400 (EDT) Original-Received: from gw-nl1.origin-it.com (gw-nl1.origin-it.com [193.79.128.34]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWV00D1A9FPSC@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 29 May 2002 05:38:14 -0400 (EDT) Original-Received: from exchsmtp-nl1.origin-it.com (localhost.origin-it.com [127.0.0.1]) by gw-nl1.origin-it.com with ESMTP id LAA00407 for ; Wed, 29 May 2002 11:38:02 +0200 Original-Received: from exchsmtp-nl1.origin-it.com(172.16.127.66) by gw-nl1.origin-it.com via mwrap (4.0a) id xma000405; Wed, 29 May 2002 11:38:03 +0200 Original-Received: from mail.nl.origin-it.com (mail.nl.origin-it.com [172.16.127.67]) by exchsmtp-nl1.origin-it.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id LAA29988 for ; Wed, 29 May 2002 11:38:01 +0200 (MET DST) Original-Received: from c1s0x002.cor.srvfarm.origin-it.com (c1s0x002.cor.srvfarm.origin-it.com [172.16.127.24]) by mail.nl.origin-it.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id LAA02919 for ; Wed, 29 May 2002 11:38:01 +0200 (MET DST) Original-Received: by c1s0x002.cor.srvfarm.origin-it.com with Internet Mail Service (5.5.2650.21) id ; Wed, 29 May 2002 11:38:01 +0200 Content-return: allowed Original-To: 'Tru64' X-Mailer: Internet Mail Service (5.5.2650.21) Xref: main.gmane.org gmane.os.tru64.managers:359 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:359 List, I posed this question: > when trying to write a file system to tape with > > # vdump -0f /dev/nrmt0h /file/system > > I get the following message of which I cannot find anything > in the manual > > vdump: unable to write to device < /dev/nrmt0h >, [5] I/O error > vdump: do you want to retry? > > o What does it mean ? > o How can I give a default from within a script ? > o Anything else ? Answer 1 -------- To get more details the error log files must be looked at by means of tools like - uerf(8) be sure to use the option "-o full". Thne support of this tool has stopped around the the time the first 4000/4100 class came out. - dia - Compaq Analyze - DECevent Which is not installed on the base system. However, the kit is on one of the Associated Product CDROMs (for modern versions). Likely suspects (which the error log will probably not distinguish between) are: - bad tape (bad spots) - bad cable - bad drive - dirty drive to distinguish between these suspects, you would have to swap with working equipment piece-by-piece. Also, sometimes tapes have 'I/O error' when they are full (or maybe the tapes just get worse near the end-of-tape). Zero the tape with the command dd if=/dev/zero of=/dev/tape/tape0 bs=64k where /dev/zero is the input file, bs the block size and the drive the output file. check dd(1) --- Solved the incident by changing the (old?) used --- --- tape by a brand new one. --- Answer 2 -------- Vdump is meant as an interactive program. 'expect' may be used to intercept prompts and setup a dialog within a script. Answer 3 -------- I should have given mode details, like model, OS version etc. Compiled from various answers. Thanks to: - Jim Belonis - Raul Sossa - Jenny Butler - Mohamed Ahmed - Michael Taylor - Pat O'Brien - Stan Horwitz - Jim Smart - Jose Fabregas - John Maloney - Peter Gergen - Alan regards, Yann