Skip to main content
NetApp Knowledge Base

NDMP DAR restores of single file failing with bad seek to offset error

Views:
417
Visibility:
Public
Votes:
0
Category:
ndmp
Specialty:
dp
Last Updated:

Applies to

  • ONTAP 9
  • Data ONTAP 8 7-Mode
  • NDMP DAR restore
  • NetVault

Issue

When restoring large NDMP backups and the requested file spans multiple tapes, the DAR restores go into a loop and failed with a bad seek to offset error.

  • Bad seek to offset error is seen on the Backup.gz.

Example:

rst Wed Apr 14 16:27:01 KST 2021 /vol/ndmptest/ Start (Level 0, NDMP)
rst Wed Apr 14 16:27:01 KST 2021 /vol/ndmptest/ Options (b=64, d, y, H)
rst Wed Apr 14 16:27:01 KST 2021 /vol/ndmptest/ Tape_open (ndmp)
rst Wed Apr 14 19:03:32 KST 2021 /vol/ndmptest/ Error (Bad seek to offset: 14015553116160)
rst Wed Apr 14 19:03:33 KST 2021 /vol/ndmptest/ Tape_close (ndmp)
rst Wed Apr 14 19:03:33 KST 2021 /vol/ndmptest/ Abort (17 files, 22065 MB)
 
  • Mover paused on EOF at offset and WINDOWS length invalid -- changing to INFINITY warnings are reported on NDMPD.gz

Example:

Wed Apr 14 2021 16:27:01 +09:00 [kern_ndmpd:info:4147] [33431] NOTICE: DIRECT ACCESS RECOVERY (DAR) requested
Wed Apr 14 2021 16:27:01 +09:00 [kern_ndmpd:info:4147] [33431] INFO: DATA: START RECOVER request: nlist size 1
Wed Apr 14 2021 16:27:01 +09:00 [kern_ndmpd:info:4147] [33431] INFO: DATA notification state 1 (SESS_STATE: LISTENING) event 10 (EVENT: STATE CHANGE)
Wed Apr 14 2021 16:27:01 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER: notification state 1 (SESS_STATE: LISTENING) event 10 (EVENT: STATE CHANGE)
Wed Apr 14 2021 16:27:01 +09:00 [kern_ndmpd:info:4147] [33431] INFO: DATA notification state 4 (SESS_STATE: ACTIVE) event 10 (EVENT: STATE CHANGE)
Wed Apr 14 2021 16:27:01 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER: notification state 4 (SESS_STATE: ACTIVE) event 10 (EVENT: STATE CHANGE)
Wed Apr 14 2021 18:20:02 +09:00 [kern_ndmpd:info:4147] [33431] INFO: DATA notification state 3 (SESS_STATE: PAUSED) event 8 (EVENT: SEEK)
Wed Apr 14 2021 18:25:22 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER: signaling EOF at 6754681946112 to 14015553077248 on SEEK FSR
Wed Apr 14 2021 18:25:22 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER pause on 'EOF' at offset 14015553077248
......
Wed Apr 14 2021 19:03:16 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER: signaling EOF at 0 to 14015553077248 on SEEK FSR
Wed Apr 14 2021 19:03:16 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER pause on 'EOF' at offset 14015553077248
Wed Apr 14 2021 19:03:25 +09:00 [kern_ndmpd:info:4147] [33431] WARN: MOVER: WINDOW length 6754681946112 (0x624b26b0000) invalid -- changing to INFINITY
Wed Apr 14 2021 19:03:25 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER: READ CONTINUE: L:-1 O:0 record 0
Wed Apr 14 2021 19:03:25 +09:00 [kern_ndmpd:info:4147] [33431] INFO: DATA notification state 3 (SESS_STATE: PAUSED) event 8 (EVENT: SEEK)
Wed Apr 14 2021 19:03:25 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER: notification state 3 (SESS_STATE: PAUSED) event 8 (EVENT: SEEK)
Wed Apr 14 2021 19:03:32 +09:00 [kern_ndmpd:info:4147] [33431] INFO: MOVER: received ABORT command

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.