Networker

Re: [Networker] Recover after Retirement - Volumes Leaving Media DB

2008-04-24 17:40:59
Subject: Re: [Networker] Recover after Retirement - Volumes Leaving Media DB
From: Davina Treiber <Davina.Treiber AT PEEVRO.CO DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 24 Apr 2008 22:37:45 +0100
Randy Doering wrote:
----- Original Message ----
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Sent: Thursday, April 24, 2008 3:08:04 PM
Subject: Re: [Networker] Recover after Retirement - Volumes Leaving Media DB

On Thu, Apr 24, 2008 at 02:26:57PM -0400, Randy Doering wrote:
This time, Networker sees the tapes loaded, online via nsrjb, after nsrjb -
I -S. Now when I kicked off the restore it says it needs tape 000068, and tape 000068 is loaded in the LTO3 drive. But Networker continues to request for this tape to be loaded until it times out with the following in the daemon.log file:

04/24/08 13:16:16 nsrd: Operation 2 started : Load volume `000068'.
04/24/08 13:16:16 nsrd: media waiting event: waiting for LTO Ultrium-3 tape 000068 on a11ns01 04/24/08 13:25:49 nsrd: [Jukebox `nsr_juke', operation # 2]. Expected volume `000068' in slot `8'. The actual volume is `<NULL>'. 04/24/08 13:31:16 nsrd: media critical event: waiting for LTO Ultrium-3 tape 000068 on a11ns01

Can you mount that volume manually with nsrjb?
Actually, I can't. Specifying both the Slot and just the Volume gives me: nsrjb -l 000068
nsrjb: Error: Cannot allocate 1 devices needed for Load operation, number of 
available and usable devices = 0
nsrjb: error, Jukebox command terminated with errors.
[root@b2u32]/nsr/logs>nsrjb -l -S 8
nsrjb: Error: Cannot allocate 1 devices needed for Load operation, number of 
available and usable devices = 0
nsrjb: error, Jukebox command terminated with errors.

nsrjb -l 000068 -f /dev/nst9
nsrjb: Error: Device `/dev/nst9' is not available.
nsrjb: error, Jukebox command terminated with errors.

I was previously able to inventory using: nsrjb -v -I -S 8 -f /dev/nst9 and 
that worked.

The recover does send the tape to the drive, but guess it's not actually 
"loading" it. Rerun jbconfig?

Sounds like the tape drive is not where NetWorker thinks it is. The clue is the
Expected volume `000068' in slot `8'. The actual volume is `<NULL>'.
message. You probably tried to read the tape in a drive other than where the tape was loaded. Could be a persistent binding/naming problem or some other config issue.

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 with 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