|
Hello to all,
can someone explain me what is the correct sequence to use the library map ? If I've undesrtand , when I need to checkin some new tape into library i need to : TSM : LABEL LIBVOLUME "LIB_NAME" SEARCH=BULK LABELSOURCE=BARCODE CHECKIN=SCRATCH OVERWRITE=NO vtlcmd open map vtlcmd load map XXXXXL1 vtlcmd close map TSM : REPLY XXX Now i've got the Tape loaded into my library ..... The question is : now i need to update the config file for library and put the TAPE into a SLOT or the file is autoupdated by the software ? If I have to manually update the file, the first empty slot is OK ? Thanks for reply Bye Crippa Andrea |
|
You got the vtl side of things correct. now you need to get the application to inventory the library & empty the MAP. NetBackup, thats a 'vmupdate -rt tld -rn 0 -empty_map -use_barcode_rules' Or use the GUI! Sent from my iPad On Jul 4, 2011, at 19:59, "crippa.andrea [via MHVTL - Linux Virtual Tape Library - CommunityForums]" <[hidden email]> wrote:
|
|
Administrator
|
In reply to this post by crippa.andrea
As of right now mhvtl will not keep track of media moving around in/out or within after daemons restart if you don't update manually in /etc/mhvtl/device.conf ... |
|
Administrator
|
Perhaps I should add this into the GUI to make things a bit easier to update .. http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com/ANNOUNCE-Web-Console-GUI-add-on-for-mhvtl-by-nia-tp3136431p3136431.html |
|
Administrator
|
I meant /etc/mhvtl/library_contents.* not /etc/mhvtl/device.conf nia |
|
In reply to this post by nia
Tomorrow i'll try to take a look to the Gui. By the way ..... I've wrote to the scst-devel mailing list for the crash that happens when use iscsi initiator in conjunction with IBM driver. Today i've tested the scst target with TD1 drive type and the result is that TD1 doesn't crash the scst software. P.S. : The GUI is written completely by you ? Can I give a look to the code ? Bye Crippa Andrea |
|
Administrator
|
Ok, cool .. There should be also an option to turn on/off before you compile scst that may stop the crashing. I think. ~# pwd ~#/scst/src ~# grep USE_EXPECTED_VALUES Makefile EXTRA_CFLAGS += -DCONFIG_SCST_USE_EXPECTED_VALUES Yes, I have written all of it by myself. The code is GPL, so you can do whatever you wish with it .. You can also contribute to mine, if you wish .. I will provide instructions for that under that post. nia |
|
In reply to this post by crippa.andrea
Sorry, I mis-understood your query.
nia is correct. Media tracking is not persistent across the vtllibrary restarts. This is by design. The /etc/mhvtl/library_contents.XX file is read when 'vtllibrary -q XX' is started and the state initialised the the file contents. Currently there is no method to keep the in-core and library_contents.XX in sync. This was one of the items to be added when going across to an xml config file format. However, I've just never quite got there. Cheers Mark |
| Powered by Nabble | See how NAML generates this page |
