cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

not able to NDMP restore from duplicated LTO6 tape only

techiie
Level 3

Hi Team,

IHAC on NDMP restore issue, any help would be helpful.

we took NDMP backup to LTO3 tape successfully & able to restore the same data well -> duplicated the tape (NBU gui -> catalog) to LTO6 tapes (with different tape library but attached to same filer)
-> from NBU console,catalog area changed the 2nd copy (LTO6) as primary copy -> now whenever we try to restore the same data from LTO6 we see below error

26-sep-2014 11:23:53 - begin Restore
26-sep-2014 11:23:53 - number of images required: 1
26-sep-2014 11:23:53 - media needed: XXXXXXXX
26-sep-2014 11:23:53 - media needed: XXXXXXXX
26-sep-2014 11:23:56 - restoring from image fXXXXXXXX4
26-sep-2014 11:23:56 - Info bpbrm (pid=97302) ficheros1 is the host to restore to
26-sep-2014 11:23:56 - Info bpbrm (pid=97302) telling media manager to start restore on client
26-sep-2014 11:23:56 - Info bpbrm (pid=97302) spawning a brm child process
26-sep-2014 11:23:56 - Info bpbrm (pid=97302) child pid: 97314
26-sep-2014 11:23:57 - Info bpbrm (pid=97314) start tar on client
26-sep-2014 11:23:57 - Info tar (pid=97321) Restore started.
26-sep-2014 11:23:57 - requesting resource XXXXXXXX
26-sep-2014 11:23:57 - granted resource XXXXXXXX
26-sep-2014 11:23:57 - granted resource XXXXXXXX
26-sep-2014 11:23:58 - Info bptm (pid=97309) Waiting for mount of media id XXXXXXXX (copy 2) on server marlen.
26-sep-2014 11:23:58 - started process bptm (pid=97309)
26-sep-2014 11:23:58 - mounting XXXXXXXX
26-sep-2014 11:23:58 - Info bptm (pid=97309) INF - Waiting for mount of media id XXXXXXXXon server marlen for reading.
26-sep-2014 11:25:05 - Info ndmpagent (pid=97321) XXXXXXXX: SCSI: TAPE READ: short read for nrst11a
26-sep-2014 11:25:05 - mounted 000162; mount time: 0:01:07
26-sep-2014 11:25:05 - Info bptm (pid=97309) 000162
26-sep-2014 11:25:06 - Info bptm (pid=97309) INF - Waiting for positioning of media id 000162 on server marlen for reading.
26-sep-2014 11:25:06 - positioning 000162 to file 4
26-sep-2014 11:25:29 - positioned 000162; position time: 0:00:23
26-sep-2014 11:25:40 - begin reading
26-sep-2014 11:25:42 - Info ndmpagent (pid=97321) INF - Restoring NDMP files from /XXXXXXXX/ to [See line below]
26-sep-2014 11:25:42 - Info ndmpagent (pid=97321) INF - Restoring NDMP files from [See line above] to /XXXXXXXX
26-sep-2014 11:25:43 - Info ndmpagent (pid=97321) DAR disabled by host parameters
26-sep-2014 11:25:43 - Info ndmpagent (pid=97321) Attempting normal restore.
26-sep-2014 11:25:44 - Info ndmpagent (pid=97321) ficheros1: RESTORE: Tape record size should be 0, not 256.
26-sep-2014 11:25:44 - Info ndmpagent (pid=97321) ficheros1: RESTORE: Could not initialize media.
26-sep-2014 11:25:44 - Info ndmpagent (pid=97321) ficheros1: RESTORE: RESTORE IS ABORTED
26-sep-2014 11:25:44 - Error ndmpagent (pid=97321) ficheros1: DATA: Restore terminated: EVENT: INTERNAL ERROR (for vollunrec)
26-sep-2014 11:25:44 - Error ndmpagent (pid=97321) NDMP restore failed from path /vXXXXXXXXp
26-sep-2014 11:25:44 - Info ndmpagent (pid=97321) done. status: 5: the restore failed to recover the requested files
26-sep-2014 11:25:44 - end reading; read time: 0:00:04
26-sep-2014 11:25:45 - Info bpbrm (pid=97302) media manager for backup id fXXXXXXXX4 exited with status 0: the requested operation was successfully completed
26-sep-2014 11:25:45 - restored from image fXXXXXXXX4; restore time: 0:01:49
26-sep-2014 11:25:45 - end Restore; elapsed time 0:01:52
Failed to get status code information (2850)



ENV:
Master/Media on NBU7601/ SuseLinux 11.1

Filer:
os type "NetApp"
os version "NetApp Release 8.1.3P3 7-Mode"

Host supports LOCAL backup/restore
Host supports 3-way backup/restore

fragment size is 1TB for all STU. not changed.



I've requested customer for some logs, ll share if needed, but wanted to check first if anything I m missing very obvious.

1 ACCEPTED SOLUTION

Accepted Solutions

SymTerry
Level 6
Employee Accredited

This is an error from your filer. Found this NetApp KB article that talks about the error and how to fix:

A wrong tape record size is provided

How to determine if this is the cause:

  • Log in to the system shell and obtain access to the backup log file located in the /mroot/etc/log/backup path.

Check if the backup log displays the Could not initialize media error.

rst Mon Jun 25 09:54:13 GMT 2012 /vol/vs1_src/ Error (Could not initialize media.)

rst Mon Jun 25 09:54:13 GMT 2012 /vol/vs1_src/ Tape_close (ndmp)

rst Mon Jun 25 09:54:13 GMT 2012 /vol/vs1_src/ Abort (0 files, 0 MB)

Check the DMA logs for following error messages:

RESTORE: Tape record size should be 63, not 256.

RESTORE: Could not initialize media.

RESTORE: RESTORE IS ABORTED

DATA: Restore terminated: EVENT: INTERNAL ERROR (for vs1_src)

Resolution:

Retry the restore job with the correct block size as the blocking factor.

View solution in original post

1 REPLY 1

SymTerry
Level 6
Employee Accredited

This is an error from your filer. Found this NetApp KB article that talks about the error and how to fix:

A wrong tape record size is provided

How to determine if this is the cause:

  • Log in to the system shell and obtain access to the backup log file located in the /mroot/etc/log/backup path.

Check if the backup log displays the Could not initialize media error.

rst Mon Jun 25 09:54:13 GMT 2012 /vol/vs1_src/ Error (Could not initialize media.)

rst Mon Jun 25 09:54:13 GMT 2012 /vol/vs1_src/ Tape_close (ndmp)

rst Mon Jun 25 09:54:13 GMT 2012 /vol/vs1_src/ Abort (0 files, 0 MB)

Check the DMA logs for following error messages:

RESTORE: Tape record size should be 63, not 256.

RESTORE: Could not initialize media.

RESTORE: RESTORE IS ABORTED

DATA: Restore terminated: EVENT: INTERNAL ERROR (for vs1_src)

Resolution:

Retry the restore job with the correct block size as the blocking factor.