【 使用环境 】生产环境 or 测试环境
【 OB or 其他组件 】observer-4.4.2.2
【 使用版本 】OceanBase 构建版本号:4.4.2.2-102000022026071514
【问题描述】在4.4.2.2 挂载nfs 做租户备份,报错,如下
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!
执行以下 SQL 失败
ALTER SYSTEM SET DATA_BACKUP_DEST='file:///DDBackup/nd/catl_cloudDB_ND/35/tenant_incarnation_1/1110/data' tenant=ICP
失败原因:
ErrorCode = 9153, SQLState = HY000, Details = backup device is not read and write strongly consistent. 172.18.46.53:2882 did not read the latest data written by 172.19.35.201:2882.
我查看了这两台服务器的nfs 挂载命令都是一致的,也是按照官方 参数来设置的
sudo mount -t ceph 172.18.4.xx,172.18.4.xx,172.18.4.xx:6789:/ /ceph_bak -o name=admin,secret=xxxxxx
mount -tnfs -o rw,nfsvers=4.1,sync,lookupcache=positive,hard,timeo=600,wsize=1048576,rsize=1048576,namlen=255 127.0.0.1:/ceph_bak/ /DDBackup/
53:
[root@obs13 ~]# mount |grep nfs
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
127.0.0.1:/ceph_bak on /DDBackup type nfs4 (rw,relatime,sync,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=127.0.0.1,lookupcache
=pos,local_lock=none,addr=127.0.0.1)
201:
[root@obs04 ~]# mount |grep nfs
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
127.0.0.1:/ceph_bak on /DDBackup type nfs4 (rw,relatime,sync,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=127.0.0.1,lookupcache
=pos,local_lock=none,addr=127.0.0.1)

