GBase 8s
备份恢复
问答

GBase8S恢复报错Unable to write storage space restore data to the database server: (-38602) Server failed to start in recovery mode within an expected time duration of 300 seconds.

发表于2025-02-11 19:55:26131次浏览5个评论

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

【GBase版本】:gbase8s_a2_2

【操作系统】:redhat 7.3

【CPU】:x86

【问题描述】*:GBase8S xbsa备份方式,备份场景下,在SendData阶段,重启xbsa服务器后,EndData、EndTxn返回报错,备份命令仍然成功;

恢复场景下,在GetData阶段,重启xbsa服务器后,EndData、EndTxn返回报错,恢复命令报错Unable to write storage space restore data to the database server: (-38602) Server failed to start in recovery mode within an expected time  duration of 300 seconds.

为何会有区别,以及是否有办法重启xbsa服务器后,恢复能够成功

评论

登录后才可以发表评论
GBase用户17638发表于 1年前
设置BAR_RETRY=2后,数据库自动重试仍然失败,报错信息如下:
2025-02-11 22:35:59 3145243 3145241 /opt/gbase8s_a2_2/bin/onbar_d -r -p
2025-02-11 22:35:59 3145243 3145241 Using IBM's PSM version 12.10.FC12 as the Storage Manager. XBSA API version is 1.1.0.
2025-02-11 22:35:59 3145243 3145241 Successfully connected to Storage Manager.
2025-02-11 22:35:59 3145243 3145241 Begin reserved pages read (level 0 of rootdbs, Storage Manager copy ID: 1 1).
2025-02-11 22:35:59 3145243 3145241 Completed reserved pages read (level 0 of rootdbs).
2025-02-11 22:35:59 3145243 3145241 Successfully connected to Storage Manager.
2025-02-11 22:35:59 3145243 3145241 Begin cold level 0 restore rootdbs (Storage Manager copy ID: 1 1).



2025-02-11 22:36:28 3145243 3145241 XBSA Error: (BSAEndData) Invalid XBSA session handle 3574360731309591370
2025-02-11 22:36:30 3146097 3146093 (-43061) BAR_MAX_BACKUP has been reduced to 10962 to avoid allocating more
than SHMTOTAL KB.
2025-02-11 22:36:30 3146097 3146093 /opt/gbase8s_a2_2/bin/onbar_d -r -p
2025-02-11 22:36:30 3146097 3146093 Using IBM's PSM version 12.10.FC12 as the Storage Manager. XBSA API version is 1.1.0.
2025-02-11 22:36:30 3146097 3146093 Successfully connected to Storage Manager.
2025-02-11 22:36:30 3146097 3146093 Begin reserved pages read (level 0 of rootdbs, Storage Manager copy ID: 1 1).
2025-02-11 22:36:30 3146097 3146093 Completed reserved pages read (level 0 of rootdbs).
2025-02-11 22:36:30 3146097 3146093 Successfully connected to Storage Manager.
2025-02-11 22:36:30 3146097 3146093 Begin cold level 0 restore rootdbs (Storage Manager copy ID: 1 1).
2025-02-11 22:41:25 3146097 3146093 Unable to write storage space restore data to the database server: (-38602) Server failed to start in recovery mode within an expected time
duration of 300 seconds.
2025-02-11 22:41:25 3146097 3146093 (-43391) Skipped backup/restore of space 'rootdbs'.
2025-02-11 22:41:25 3146097 3146093 Unable to start the storage space restore: Archive API error: already open.
2025-02-11 22:41:25 3146097 3146093 (-43140) Due to the previous error, logical restore will not be attempted.
2025-02-11 22:41:25 3146097 3146093 /opt/gbase8s_a2_2/bin/onbar_d complete, returning 131 (0x83)
说明:xbsa服务器为我司自行开发,handle未持久化,重启后,以前handler失效
用户头像
曾阿牛发表于 1年前
联系销售吧
最佳回答
崔哥发表于 8个月前
晓发梳临水,寒塘坐见秋。乡心正无限,一雁度南楼。
GBase用户47954发表于 3个月前
感谢作者的精彩分享!
GBase用户51840发表于 2个月前
不清楚啊。