From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Raine Newsgroups: gmane.os.tru64.managers Subject: vdump strangeness Date: Fri, 04 Oct 2002 09:38:16 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20021004093816.A15101@mail.mrc-dunn.cam.ac.uk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033724423 14649 127.0.0.1 (4 Oct 2002 09:40:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2002 09:40:23 +0000 (UTC) Cc: IT Support Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17xOwV-0003nz-00 for ; Fri, 04 Oct 2002 11:40:20 +0200 Original-Received: (qmail 21925 invoked by uid 5); 4 Oct 2002 09:40:34 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21916 invoked by uid 49493); 4 Oct 2002 09:40:34 -0000 Original-Received: from ar@mrc-dunn.cam.ac.uk by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-5.6/5.0):. Processed in 0.437384 secs); 04 Oct 2002 09:40:34 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 4 Oct 2002 09:40:33 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3G00GRAAVLAF@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 04 Oct 2002 05:40:33 -0400 (EDT) Original-Received: from plum.csi.cam.ac.uk (plum.csi.cam.ac.uk [131.111.8.3]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3G007CTAVFK0@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 04 Oct 2002 05:40:27 -0400 (EDT) Original-Received: from mail.mrc-dunn.cam.ac.uk ([193.60.81.53]) by plum.csi.cam.ac.uk with esmtp (Exim 4.10) id 17xOwc-0005iZ-00 for tru64-unix-managers@ornl.gov; Fri, 04 Oct 2002 10:40:26 +0100 Original-Received: by mail.mrc-dunn.cam.ac.uk (8.9.3) id JAA15365; Fri, 04 Oct 2002 09:38:16 +0100 Original-To: tru64-unix-managers@ornl.gov Content-Disposition: inline User-Agent: Mutt/1.2i Xref: main.gmane.org gmane.os.tru64.managers:1953 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1953 Dear Managers, I've been having difficulties with my vdump scripts, using a NEO Overland tape library containing an SuperDLT drive. Vdump seems to behave differently on this system than it does on my TL800 containing a DLT8000 drive. What I am seeing is that *vdump* is rewinding the tape at the end of the job, when using the NEO/SDLT, but doesn't using the TL800/DLT. (Furthermore, if there are errors, then the NEO/SDLT goes offline, but the TL800/DLT doesn't - but this isn't my main problem). I'm pretty sure that I am using the non-rewind devices in both cases: beta # cd /dev beta # ls -l DLT0 SDLT0 lrwxrwxrwx 1 root system 14 Jul 23 14:52 DLT0 -> ntape/tape0_d1 lrwxrwxrwx 1 root system 14 Jul 23 14:52 SDLT0 -> ntape/tape3_d1 My vdump commands were: /sbin/vdump -0 -u -b 64 -f /dev/DLT0 and /sbin/vdump -0 -u -b 64 -f /dev/SDLT0 I noticed, that the man-page describes options: -N Does not rewind the storage device when it is a tape. -U Does not unload the storage device when it is a tape. However, including -N, or both of these causes vdump to exit with a Segmentation fault. Including just -U doesn't stop the tape rewinding. Can anyone tell me (a) whether it is vdump that is doing the rewinding and ignoring the choice of non-rewinding tape device? (b) is there anything else that I've missed, or do I just need to make my scripts explicitly forward the tape again (using mt) after each vdump? I'm running 5.1 PK3 on an ES40 Regards, Andrew -- Dr. Andrew Raine, Head of IT, MRC Dunn Human Nutrition Unit, Wellcome Trust/MRC Building, Hills Road, Cambridge, CB2 2XY, UK phone: +44 (0)1223 252830 fax: +44 (0)1223 252835 web: www.mrc-dunn.cam.ac.uk email: Andrew.Raine@mrc-dunn.cam.ac.uk