Networker

Re: [Networker] [I] Re: Tape Sorting Routine

2006-04-28 17:19:37
Subject: Re: [Networker] [I] Re: Tape Sorting Routine
From: Ernst Bokkelkamp <ernst AT BOKKELKAMP DOT DE>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 28 Apr 2006 23:17:24 +0200
I did it !!!!  Many years ago ;-)

Once upon a time I received a new STK 9740 (?) Library with +/- 300 brand
new barcode labelled tape that I inserted into the library using the slot
numbers in the library documentation. My luck, the slot number with the
library did not correspond with the slot number assigned by networker.
I wrote a perl script to generate nsrjb command to sort the tapes using the
cap so that the barcode corresponded to the slot number. If I remember
correctly it did run for a day or more. 
I used a very simple algoritm. Start with slot 1, if the barcode does not
match slot number then find the cartridge with the corresponding barcode and
swap them using the cap.

It might be that sorting the library might be a waste of time, but in this
case it did a good burn-in for the library.

Bye
Ernie
 
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] 
On
Behalf Of King, David
Sent: Friday, April 28, 2006 10:55 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] [I] Re: Tape Sorting Routine


Yes, if your I/O ports work.  Ours are disabled temporarily due to
incompatibilities with EMC Data Manager.

I agree it is mostly not worth the effort.  I was hoping someone else made
the effort though ;>) 


David L. King


-----Original Message-----
From: John Stoffel [mailto:john.stoffel AT taec.toshiba DOT com] 
Sent: Friday, April 28, 2006 4:22 PM
To: Legato NetWorker discussion; King, David
Subject: [I] Re: Tape Sorting Routine


David> What with us replacing many tapes that have gone bad with new
David> ones, our barcodes are out of order.

In which way?  In the library itself?  While in some ways it's nice to have
it sorted, it's not worth the effort... especially if you have hundreds of
tapes in the library.  

David> Has anyone written a routine to resort them?    

I don't bother, I just use the import/export ports to pull tapes when
needed.  And I let the library stuff tapes in where it sorta/kinda wants em.

It's like trying to use tapes in a sequential manner when doing backups.
Don't bother.  Just generate the report(s) on which tapes need to be pulled
and pull those tapes.

If you're opening the library to hunt down tapes to add/pull, then I guess I
could see wanting to sort them, but even still, don't big libraries have a
large enough import/export slot to do bulk transfers?

John

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type
"signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems wit this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or via RSS at
http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>