recover command from client not automatically mounting media
Hi,
I'm currently recovering data from an old Network 7.3 Solaris 9 server, we are restoring all tape data to disk prior to decommisioning the server.
I am experiencing a strange issue where by running "recover" from a client does not automatically mount the tape in the jukebox, it just sits there with the message "waiting for LTO Ultrium-3 tape". I'm pretty sure on a previous test this did work, ie tape was automatically mounted to a drive to fullfil the restore request. If I manually mount the tape via nsrjb the restore works fine.
I've tried restarting the daemons, rebooting the server, but I'm still seeing the same issue.
In daemon log I see:
02/27/14 15:53:48 nsrd: media waiting event: waiting for LTO Ultrium-3 tape tape.022 on server
02/27/14 15:53:49 nsrmmd #3: Start nsrmmd #3, with PID 654, at HOST server
firstly, the library is working hence I can manually mount the tapes via nrsjb. The library status is:
Jukebox SL500: (Ready to accept commands)
Regarding read hostname etc, the environment is a single Networker server and a single Windows Server client (network client not a storage node). So I don't there should be any problems here.
The tapes themselves were long expired so I'm rebuilding the indexes via "scanner -i" so again I don't think there should be any issue with pools being linked to devices although I'm not sure where I would check that. Unfortuately there is no GUI installed on the server so I'm stuck with command line, nsradmin etc. I've managed to do what I needed via nsradmin to this point but its pretty hard going if you haven't any previous experience of it, which I hadn't!
From memory I think it should also work although I do recall there was some circumstances that a manual mount would be required.
Is you backup pool linked to certain devices?
Can you check the read hostname value of the jukebox and see if this is set and if so is it set to a storage node which you need or is allowed to mount the pool?
If it is not set at all – set to the storage node you want to use and then retry the restore.
Andy – nsrwatch should be available to you to see the devices etc configured.
As for nsradmin you can see the jukebox with the following:
Show all
Print type: nsr jukebox
You should be able to see what the read hostname value is (it used to take the name of the storage node with owned the first device) which in your case as there is only the NetWorker server with devices should be set to that (please check the exact name of the variable).
I've checked the value of read hostname, it was null previously. I've just changed it to the Networker server name but this doesn't seem to have made any difference. I've kicked off another restore from the same Windows client and I just see this in nsrwatch:
server2: browsing
Messages:
Thu 15:57:35 /dev/rmt/3cbn mounted LTO Ultrium-3 tape tape.022 (write pro
Thu 15:57:35 ctc:L:\Scor (3/19/09) starting read from tape.022 of 792 G
Thu 19:29:07 server2: browsing
Thu 19:29:08 server2: done browsing
Thu 19:29:08 server2: browsing
Thu 19:29:10 media waiting event: waiting for LTO Ultrium-3 tape tapeBD.001
Pending:
Thu 19:29:09 media waiting: waiting for LTO Ultrium-3 tape tapeBD.001 on
in what respect does it seem I do not use a barcode scanner? And yes the library has been inventoried and is correct and up to date. I've checked both tape devices and they are set as type "LTO Ultrium-3".
tape.022 is not the volume name you get when you use barcode to match volume names. You can do something like nsrjb -V to get scsi address on which library is and then you can do sjirdtag b.t.l (but.target.lun) to see barcodes.
sorry, maybe I've not been clear with the terminology. The issue is that the jukebox does not automatically move the tape to the drive. When I mounted the tape manually I did a nsrmm -m -f /dev/rmt/3cbn to "mount" the tape, this is expected and not an issue.
What I want and expect is if I run a recover on the Windows client that it should automatically move the tape within the jukebox from slot X to a free drive without any further intervention. This would be normal would it not?
in what respect does it seem I do not use a barcode scanner? And yes the library has been inventoried and is correct and up to date. I've checked both tape devices and they are set as type "LTO Ultrium-3".
Hi Bingo,
I am not next to the library either so cannot label a tape as the it isn't loaded with any spares currently. With respect to jbexercise, is this necessary given I know I can load/unload tabes via nsrjb? That is mechanically its fine and I can use Networker tools to operate it,
bingo.1
1 Rookie
•
2430 Posts
728
0
Posted February 27th, 2014 08:00
Could it be that the jukebox has been set to "service mode" or it has been "disabled" ?