Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mmrecov fails - tape not in media indexes?!

Status
Not open for further replies.

kythri

Technical User
Joined
Jan 21, 2003
Messages
116
Location
US
So, I rebuilt my server, reinstalled Legato 6.1.3, and proceeded to do an mmrecov, so I can get the server back up, as it does appear that my media indexes were corrupted, due to a faulty drive.

I went through the mmrecov prompts, it started scanning my tape, then aborted with a RAP error, saying that the tape in the drive was not in the media indexes.

What gives? Do I have to add this tape to the non-existant media indexs prior to an mmrecov?
 
In general, this is the obvious behavior - if your media is not in the index for whatever reason, you must scan it to be added.

However, it should not abort the process due to this reason. What exactly does the process report?
 
Here's what happens:

----BEGIN PASTE----

C:\>mmrecov
mmrecov: Using nbacknt as server

NOTICE: mmrecov is used to recover the NetWorker server's media index and
resource files from media (backup tapes or disks) when any of this
critical NetWorker data has been lost or damaged. Note that this
command will OVERWRITE the server's existing media index. mmrecov is not
used to recover NetWorker clients' on-line indexes; normal recover
procedures may be used for this purpose. See the Legato NetWorker
Disaster Recovery Guide for more details.

\\.\Tape0
\\.\Tape1
\\.\Tape2
\\.\Tape3

What is the name of the device you plan on using [\\.\Tape0]?
Enter the latest bootstrap save set id: 1128078081
Enter starting file number (if known) [0]: 58
Enter starting record number (if known) [0]: 0

Please insert the volume on which save set id 1128078081 started
into \\.\Tape0. When you have done this, press <RETURN>:

Scanning \\.\Tape0 for save set 1128078081; this may take a while...
scanner: scanning sdlt tape NB1197 on \\.\Tape0
C:\Program Files\Legato\nsr\res\nsr.res
C:\Program Files\Legato\nsr\res\nsr.res: file exists, overwriting
C:\Program Files\Legato\nsr\res\nsrjb.res
C:\Program Files\Legato\nsr\res\nsrjb.res: file exists, overwriting
C:\Program Files\Legato\nsr\res\nsrla.res
C:\Program Files\Legato\nsr\res\nsrla.res: file exists, overwriting
C:\Program Files\Legato\nsr\res\rservers
C:\Program Files\Legato\nsr\res\rservers: file exists, overwriting
C:\Program Files\Legato\nsr\res\servers
C:\Program Files\Legato\nsr\res\servers: file exists, overwriting
C:\Program Files\Legato\nsr\res\
nsrmmdbasm -r C:\Program Files\Legato\nsr\mm\mmvolume6\
C:\Program Files\Legato\nsr\mm\
scanner: ssid 1128078081: scan complete
scanner: ssid 1128078081: 4809 KB, 8 file(s)
\\.\Tape0: Mount operation in progress
\\.\Tape0: verifying label, moving backward 2 file(s)
\\.\Tape0: verifying label, rewinding
mmrecov: RAP error: sdlt tape NB1197 not in media index
mmrecov:
Cannot Mount volume on \\.\Tape0

If your resource files were lost, they are now recovered in the 'res.R'
directory. Copy or move them to the 'res' directory, after you have shut
down the service. Then restart the service.

Otherwise, just restart the service.

If the on-line index for nbacknt was lost, it can be recovered using
the nsrck command.

----END PASTE----

Contrary to what it says, there is no res.R directory created, no new files.
 
DOH DOH DOH.

My bad - apparently the bootstrap that I'm trying to recover is incomplete.

I went to the next oldest one, and everything recovered fine (40mb vs. 4mb)

Apologies for the disruption, but thank you for the help!!!
 
Good point. This may happen. It's always good to have more than the last bootstrap report. If not, use "scanner -Bv" to retrieve that information as "scanner -B" only reports the last one found on that media.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top