From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Markus Waldorf Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Setting up DLT tape drive Date: Mon, 13 Jan 2003 15:36:14 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042468528 5110 80.91.224.249 (13 Jan 2003 14:35:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2003 14:35:28 +0000 (UTC) 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 18Y5gS-0001K6-00 for ; Mon, 13 Jan 2003 15:35:24 +0100 Original-Received: (qmail 29046 invoked by uid 5); 13 Jan 2003 14:36:30 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29037 invoked by uid 49493); 13 Jan 2003 14:36:30 -0000 Original-Received: from waldorfm@rferl.org by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.0/5.0):. Processed in 0.490657 secs); 13 Jan 2003 14:36:30 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 13 Jan 2003 14:36:29 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H8N00IGXPWQQH@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 13 Jan 2003 09:36:29 -0500 (EST) Original-Received: from rferl.org (praguegate.rferl.org [194.228.91.19]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H8N0010NPWKI0@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 13 Jan 2003 09:36:24 -0500 (EST) Original-Received: from prglnmail01.ad.rferl.org (172.16.42.41) by rferl.org with ESMTP (Eudora Internet Mail Server 3.0.3) for ; Mon, 13 Jan 2003 15:36:18 +0100 Original-Received: from [172.16.8.25] ([172.16.8.25]) by prglnmail01.ad.rferl.org (Lotus Domino Release 5.0.11) with ESMTP id 2003011315361703:32463 ; Mon, 13 Jan 2003 15:36:17 +0100 Original-To: "Tru64-Unix-Managers \(E-mail\)" X-MIMETrack: Itemize by SMTP Server on PRGLNMail01/CZ/RFERL(Release 5.0.11 |July 24, 2002) at 01/13/2003 03:36:17 PM, Serialize by Router on PRGLNMail01/CZ/RFERL(Release 5.0.11 |July 24, 2002) at 01/13/2003 03:36:18 PM, Serialize complete at 01/13/2003 03:36:18 PM User-Agent: Microsoft-Entourage/10.1.0.2006 Xref: main.gmane.org gmane.os.tru64.managers:2941 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2941 Thanks a lot to everyone who responded so far, in particular to Johan Brusche and Dr. Thomas Blinn. So far there is no explanation for the ID:21 device accompanied by the DLT-4000 drive, but using the commands below was enough to get the tape going. The commands I used were: hwmgr -delete component -id 21 21: 3 merlin tape none 0 1 (null) 23: 4 merlin tape none 0 2 tape1 [1/3/0] .. but then the drive appeared again as ID:0. BTW: The ID in the 2nd column is a "logical id" not the scsi target id. # hwmgr -scan scsi # hwmgr -refresh scsi # hwmgr -show scsi 0: 3 merlin tape none 0 1 (null) 18: 0 merlin disk none 2 1 dsk0 [0/1/0] 19: 1 merlin disk none 0 1 dsk1 [0/2/0] 20: 2 merlin cdrom none 0 1 cdrom0 [0/5/0] 23: 4 merlin tape none 0 2 tape1 [1/3/0] and "dsfmgr -m tape1 tape0" to get my tape0 back. Now I can use e.g. "mt rewind". Also, very interesting commands and readings were: --------------------------------------------------------------------------- # hwmgr -sho scsi -id 23 -full 23: 4 merlin tape none 0 2 tape1 [1/3/0] WWID:04100022:"Quantum DLT4000 CX741M6206" BUS TARGET LUN PATH STATE ------------------------------ >>> 1 4 0 stale 1 3 0 valid The stale path tells you that the same drive serial number was seen at one time on the system with SCSI target-id #4. Normally you should be able to clear the stale path with the command "hwmgr refresh scsi" --------------------------------------------------------------------------- # hwmgr view device 4: /dev/kevm 18: /dev/disk/dsk0c IBM DNES-309170 bus-0-targ-1-lun-0 19: /dev/disk/dsk1c IBM DNES-309170 bus-0-targ-2-lun-0 20: /dev/disk/cdrom0c SONY CD-R CDU920S bus-0-targ-5-lun-0 23: /dev/ntape/tape1 Quantum DLT4000 bus-1-targ-3-lun-0 --------------------------------------------------------------------------- Deleting a previously detected entry. # hwmgr -delete component -id 21 hwmgr: Delete operation was successful # hwmgr -show scsi 0: 3 merlin tape none 0 1 (null) 18: 0 merlin disk none 2 1 dsk0 [0/1/0] 19: 1 merlin disk none 0 1 dsk1 [0/2/0] 20: 2 merlin cdrom none 0 1 cdrom0 [0/5/0] 23: 4 merlin tape none 0 2 tape1 [1/3/0] But, now it shows up at HWID:0. .... 8-( --------------------------------------------------------------------------- The "file" command shows device characteristics: # file /dev/ntape/tape0 /dev/ntape/tape0: character special (19/70) SCSI #1 "DLT4000" tape #4 (SCSI ID #0) (SCSI LUN #4) errors = 0/1 81630_bpi --------------------------------------------------------------------------- There is device information in /etc/ddr.dbase (text format). --------------------------------------------------------------------------- Original message: Hello, I'm trying to use an old single DLT 20/40 tape drive (APS not Digital) on an old DEC 3000 M700 workstation. The device is properly terminated, does not make any ID conflict and works fine when I boot into OpenVMS 7.2, but it has trouble when booting into Tru64 v5.1 on the same machine (different HD). Are there any specific requirements for the drive to be used under Unix? Unfortunately the vendor does not have appropriate online information, I cannot locate the manual anymore and did not find any useful info on the net. At the console: >>> sho dev ... ... MKB300 B/3/0 TAPE RM DLT-4000 CD5A At the OS: # hwmgr -show scsi SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH ------------------------------------------------------------------------- 18: 0 merlin disk none 2 1 dsk0 [0/1/0] 19: 1 merlin disk none 0 1 dsk1 [0/2/0] 20: 2 merlin cdrom none 0 1 cdrom0 [0/5/0] 21: 3 merlin tape none 0 1 (null) 23: 4 merlin tape none 0 2 tape1 [1/3/0] As you can see, the tape uses ID 3, but the system somehow involves ID 4. It seems like other devices look strange too, e.g. cdrom real ID 5, but Tru64 ID 2, or is it just listing in numerical order? Anyway, no problems under OpenVMS on the same computer. I cannot use the tape drive under Tru64 (tried all tape device files), Error: no such device or address. Any ideas? Best regards, Markus Waldorf RFE/RL, Inc. www.rferl.org