Now I just realized how much I value tapeutil command for AIX. I use this command almost daily to see if there are any tapes loaded in the i/o door. tapeutil -f /dev/smc0 inventory.
I am not familiar with ntutil command other than PD drive issue; however, here's the link for Installation and User's Guide which might be helpful. If anyone can come up with a single command in ntutil that will provide similar as tapeutil -f /dev/smc0 inventory this would be awesome. Not sure if this is possible or not. ftp://ftp.software.ibm.com/storage/devdrvr/Doc/IBM_ultrium_tape_IUG.pdf Sung Y. Lee "Prather, Wanda" <[EMAIL PROTECTED] UAPL.EDU> To Sent by: "ADSM: [EMAIL PROTECTED] Dist Stor cc Manager" <[EMAIL PROTECTED] Subject .EDU> Re: query bulk i/o 11/16/2004 03:18 PM Please respond to "ADSM: Dist Stor Manager" <[EMAIL PROTECTED] .EDU> The only way I can think of to do that, is to query the particular slot numbers that make up YOUR I/O door. You can only do that with something that you can issue the appropriate SCSI commands with, like mtlib or lbtest, and you have to have a version of it you can run in background mode and parse the output, etc. Non-trivial, and definitely not something you can do without a lot of host language scripting. -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bertrand Sent: Tuesday, November 16, 2004 2:57 PM To: [EMAIL PROTECTED] Subject: Re: query bulk i/o No, we don't have autovault or mtlib. I do however have NTutil, but not really sure how to use it for this. I know that I used it in the past for troubleshooting old 3583 library issues. Seems like overkill for this, more of an IBM hardware troubleshooting tool. I only used it under the guidance of IBM support. I am only using command line for my scripts, tying dsmadmc commands together with text outputs and a few Unix for dos tools for the text manipulation like getting rid of the header information from the text file of my tapes to export list. Yes, I saw your post a year or two back on this subject. I had hoped that someone had a fix or work around or would direct me to upgrade if it was a new feature. Your tip to script a 10 count checkout is workable. I could do that but I am lazy, I want to know if any tapes are already in bulk before I start without having to physically/manually check the bulk I/O. I really don't think it's too much to ask for. OK since I haven't really been bombarded with responses I guess we can write this one up for a future request for TSM 10.0, if I only knew where to send those.... :) Thanks again Wanda I always appreciate it. Mark Bertrand -----Original Message----- From: Prather, Wanda [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 1:43 PM To: [EMAIL PROTECTED] Subject: Re: query bulk i/o I hate it when that happens (I consider it a major failing of DRM). 1) use Autovault instead, you tell it the max number of tapes to eject and it won't go over. (It can't tell, however, if some of your 10 slots are already full before it starts, it just counts to 10). 2) Write your own script (host language, not TSM) that does a Q DRMEDIA, parses the results and ejects 10 tapes at a time (what are you using now for scripting, perl?) 3) out of curiosity, if you don't have tapeutil, do you have mtlib? You must have something installed with the LTO drivers? -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bertrand Sent: Tuesday, November 16, 2004 9:21 AM To: [EMAIL PROTECTED] Subject: query bulk i/o Has this been resolved yet, in any version? There are a few posts about this issue but I can't seem to find resolution. My basic problem is that I want to write a script that removes export tapes but I don't want it to run if the bulk I/O is full. Funny, I can checkin tapes search=bulk so I know TSM knows the meaning of bulk, why can't I "query bulk"? I also struggle with daily DRM moves that will sometimes go over my allotted 10 I/O and leave tapes for me to find in the system, joy, joy. Nice add-on for "untilfull", but not a viable solution. I just want a way to see if any tapes are in the bulk I/O, is that too much to ask??????? TSM Server 5.1.6.3 Windows 2K (this means I don't have tapeutil, AIX guys) IBM 3584 Library Thanks, Mark Bertrand