onbar恢复的时候始终报Error opening file /u02/GBASE8S/gbtest/rootdbs
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:
【操作系统】:
【CPU】:
【问题描述】*:首先在一台机器进行备onbar -b -w -L 0进行了备份,onpsm -D list查看,备份存在于/u03/backup,然后删除掉/u02/GBASE8S/gbtest/中的文件。再使用onbar -r -w进行恢复,就报如下错误
2026-01-29 15:10:42 3849 3847 The PSM is ready.
2026-01-29 15:10:42 3849 3847 __PSM__ session 100 opened.
2026-01-29 15:10:42 3849 3847 Successfully connected to Storage Manager.
2026-01-29 15:10:42 3849 3847 Begin reserved pages read (level 0 of rootdbs, Storage Manager copy ID: 0 23).
2026-01-29 15:10:42 3849 3847 Completed reserved pages read (level 0 of rootdbs).
2026-01-29 15:10:42 3849 3847 __PSM__ session 100 closed
2026-01-29 15:10:42 3849 3847 (-43341) Logical log 11 is needed by this restore but cannot be found in OnBar ixbar file.
2026-01-29 15:10:42 3849 3847 The PSM is ready.
2026-01-29 15:10:42 3849 3847 __PSM__ session 101 opened.
2026-01-29 15:10:42 3849 3847 Successfully connected to Storage Manager.
2026-01-29 15:10:42 3849 3847 Begin cold level 0 restore rootdbs (Storage Manager copy ID: 0 23).
2026-01-29 15:10:42 3849 3847 Unable to write storage space restore data to the database server: Error opening file /u02/GBASE8S/gbtest/rootdbs.
errno=2.
请各位大神说一下,是何原因!
评论
裸设备又会做软连接
所以数据库的恢复程序无法根据备份文件,替DBA准备数据文件
需要由DBA touch出来,并赋权
热门帖子
- 12025-12-01浏览数:182763
- 22023-05-09浏览数:25057
- 42023-09-25浏览数:18525
- 52020-05-11浏览数:17529