SAP Knowledge Base Article - Preview

3721041 - HANA Tenant DB restore stuck at __readdir64_r

Symptom

  • When attempting to restore a tenant DB using HANA Studio, the process gets stuck at the following phase:

  • The backup.log only contains the RECOVER DATA command, and no further logs are generated afterward.
2026-01-12T16:12:05+05:30  P0065873      19bb1cc773e INFO    RECOVERY RECOVER DATA started [1768214525758]
2026-01-12T16:12:05+05:30  P0065873      19bb1cc773e INFO    RECOVERY command: RECOVER DATA FOR DB0 USING FILE ('/hana/backup/COMPLETE_DATA_BACKUP_xxxx')  CLEAR LOG

  • Attempting to perform the restore using the RECOVER DATA command directly from either SQL Console or hdbsql shows the same behavior, with no further progress.
  • The indexserver trace does not contain any related errors or helpful information.
  • During the ongoing restore, indexserver Runtime dump (RTE) was collected (it may fail due to the indexserver not starting; try a few more times). 
    Analysis of the RTE dump shows the restore thread was stuck at the following call stack: 
Thread: PoolThread, CID: -1, LCID: 0, "Running", "starting", thr=88425, duration:873s
__GI___getdents64
__readdir64_r
FileAccess::DirectoryIterator::DirectoryEntryWrapper::findNext()
FileAccess::DirectoryIterator::operator++()
...

 "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

SAP HANA, platform edition 2.0

Product

SAP HANA, platform edition 2.0

Keywords

HANA, restore, tenant, stuck, RECOVER DATA, Recovery of Tenant Database, __GI___getdents64, __readdir64_r, FileAccess::DirectoryIterator::DirectoryEntryWrapper::findNext , KBA , HAN-DB-BAC , SAP HANA Backup & Recovery , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.