开启镜像后,镜像文件损坏数据库无法启动
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:GBase8sV8.8_TL_3.5.0_3X2_1_aaf3e0
【操作系统】:
【CPU】:
【问题描述】*:
08/08/23 16:09:16 chunk failed sanity check
08/08/23 16:09:16 invoke_alarm(): /bin/sh -c '/opt/gbase8s_a2_2/Server/etc/alarmprogram.sh 3 6 "Internal Subsystem failure: 'MT'" "chunk failed sanity check
" "" 6100'
08/08/23 16:09:16 invoke_alarm(): mt_exec failed, status -1, errno 0
08/08/23 16:09:16 Process exited with return code 126: /bin/sh /bin/sh -c /opt/gbase8s_a2_2/Server/etc/alarmprogram.sh 3 4 "Chunk is off-line, mirror is active: 28105702." "chunk failed sanity check
" "/opt/gbase8s_a2_2/Server/tmp/af.3eff82b" 4004
08/08/23 16:09:16 (7) connection rejected - no calls allowed for sqlexec
08/08/23 16:09:16 I/O error, Mirror Chunk '/backups/mirror_rootchk' -- Offline (sanity)
08/08/23 16:09:16 Process exited with return code 126: /bin/sh /bin/sh -c /opt/gbase8s_a2_2/Server/etc/alarmprogram.sh 3 4 "Chunk is off-line, mirror is active: 28105702." "I/O error, Mirror Chunk '/backups/mirror_rootchk' -- Offline (sanity)" "" 4003
08/08/23 16:09:18 oninit: Fatal error in shared memory initialization
评论
MIRROR 1
MIRRORPATH
创建镜像使用的目录,配置对应的存储
修改rootdbs,增加镜像, 临时空间不能镜像,其他空间均做镜像
[gbasedbt@localhost etc]$ onspaces -m rootdbs -p /data/gbase/rootchk -o 0 -m /data/gbase_mirror/rootchk 0 -y
WARNING: Turning mirror on for 'rootdbs'.
Verifying physical disk space, please wait ...
The Space "rootdbs" is now mirrored.
热门帖子
- 12025-12-01浏览数:182763
- 22023-05-09浏览数:25057
- 42023-09-25浏览数:18525
- 52020-05-11浏览数:17528