From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: emanuele.lombardi@casaccia.enea.it Newsgroups: gmane.os.tru64.managers Subject: SEMI-SUMMARY: moving cartridges in a MSL5026 Library set to "sequential" mode Date: Wed, 14 May 2003 18:05:47 +0200 (CEST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200305141605.h4EG5lNA1323094@tintoretto.casaccia.enea.it> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: main.gmane.org 1052928600 19167 80.91.224.249 (14 May 2003 16:10:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 May 2003 16:10:00 +0000 (UTC) Cc: emanuele.lombardi@casaccia.enea.it Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed May 14 18:09:54 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19FykA-0004TE-00 for ; Wed, 14 May 2003 18:04:38 +0200 Original-Received: (qmail 16883 invoked by uid 5); 14 May 2003 16:06:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16874 invoked by uid 49493); 14 May 2003 16:06:06 -0000 Original-Received: from emanuele.lombardi@casaccia.enea.it by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(2.5/5.0):. Processed in 0.532321 secs); 14 May 2003 16:06:06 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 14 May 2003 16:06:05 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HEV00JL9WQ324@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 14 May 2003 12:06:05 -0400 (EDT) Original-Received: from tintoretto.casaccia.enea.it (tintoretto.casaccia.enea.it [192.107.75.41]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HEV00208WPVI5@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 14 May 2003 12:05:56 -0400 (EDT) Original-Received: from canova.casaccia.enea.it (tintoretto2.casaccia.enea.it [192.107.75.42]) by tintoretto.casaccia.enea.it (8.12.8/8.12.8) with ESMTP id h4EG5lNA1323094; Wed, 14 May 2003 18:05:51 +0200 (CEST) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:4233 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4233 Dear alpha colleagues, This is not a summary but just what I've learned up to now about my new MSL5026 SDLT Library. 1) You can remotely move cartridges only when the Library is set to "Random mode". You can use the following way: a) WEB interface b) OS commands: robot ....... (from MRU kit) scu -f /dev/changer/mc0 show elements scu -f /dev/changer/mc0 move ...... 1) When the Library is set to "Sequential Mode" you loose any possibility to remotely move cartridges (both via OS commands and via the WEB interface): the only way to move cartridges is to step into the computer room and touch the LCD screen. Since Sequential mode is not settable using any O.S. command, it is impossibile to use sequential mode from scripts (and cron!) if it is necessary to select the cartridge on which start the job. Infact to start a Sequential mode action on a cartridge located in a slot (thus not already in a drive), if you don't want to step in the computer room, you have to: a) set the library into Random mode (via LCD or WEB interface) b) place the desired cartrige into the Library drive (via OS commands, LCD or WEB interface) c) set the library into Sequential mode (via LCD or WEB interface) d) start the script which uses the Tape unit /dev/tape/tapeX (not the Changer which does'nt work any more!) 2) Using the WEB interface there is no way to know the labels of the cartridges present in the slots (apart loading one by one into one drive). You can have the Library inventory list only from O.S. (thus only if you are in Random mode) using on of the following commands: robot show slot scu -f /dev/changer/mc0 show elements 3) THIS IS THE WORST (AND HP IS WORKING ON IT) I have not been able to let the Library automatically load the netx tape. I'm using vdump from O.S. and, even in Sequential mode I'm always requested to load next tape ...... ...... vdump: Change Tapes: Mount tape# 0002 vdump: can't open device file ; not ready The next tape is not mounted not even pressing RETURN so I can't hope to use "expect" do do the job. I tried with both the /dev/tape and the /dev/ntape devices. HP told me to check the following: 1) Library Mode must be changed from Random (default) to Sequential Drv0 2) Sequential Mode must remain at Normal (default) 3) Test Unit Ready (TUR) must remain at Custom (default) I checked all of them but the problem is always there. 4) In the User Guide (in the appendixes nobody ever reads) there are pictures showing that the hardware layout of a Random Library is different from the one of a Sequential one. The SCSI cable which connects the tape drive to the library controller board of a Library working in Random mode should be removed to properly set the Library itself to Sequential mode. Unfortunately I have the odd behavour pointed out at 3) even with this new hardware configuration. a) If the above SCSI cable is present then you can use both Random and Sequential mode (which does'nt work any way as said at 3)). In Random mode, from OS you see the Changer device /dev/changer/mcX and you can use it via robot and scu commands. In Sequential mode, the OS sees the Changer device, but it dosn't work. b) If the above SCSI cable is NOT present you can use ONLY Sequential mode since the OS doesn't see any changer device. Hoping all that stuff helps somebody, Ciao from Italy Emanuele --- $$$ Emanuele Lombardi $$$ mail: ENEA CLIM Casaccia $$$ I-00060 S.M. di Galeria (RM) ITALY $$$ mailto:emanuele.lombardi@casaccia.enea.it $$$ tel +39 0630483366 $$$ fax +39 0630484264 ||| $$$ \|/ ;_; $$$ What does a process need | /"\ $$$ to become a daemon ? | \v/ $$$ | | $$$ - a fork o---/!\--- $$$ | |_| $$$ | _/ \_ $$$* Contrary to popular belief, UNIX is user friendly. $$$ It's just very particular about who it makes friends with. $$$* Computers are not intelligent, but they think they are. $$$* True programmers never die, they just branch to an odd address $$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS