为什么在 GlusterFS 文件系统之上运行时,应用程序设置/更新 Posix 锁失败?
Issue
-
运行在 Glusterfs 文件系统上的应用程序,在设置 Posix 锁时收到指向故障的错误消息。应用程序发出的错误的类型是特定于应用程序的。
在 Gluster 客户端日志中(位于
/var/log/glusterfs/client-mount-point.log
),当发生此问题时,观察到的最常见错误消息是:[2020-04-07 08:59:47.100562] E [rpc-clnt.c:183:call_bail] 0-vol_dcs-dev_pv2-client-0: bailing out frame type(GlusterFS 4.x v1), op(LK(26)), xid = 0x84a, unique = 3262, sent = 2020-04-07 08:29:46.766853, timeout = 1800 for 192.168.1.1:49239
[2020-04-07 08:59:47.100675] E [rpc-clnt.c:183:call_bail] 0-vol_dcs-dev_pv2-client-0: bailing out frame type(GlusterFS 4.x v1), op(LK(26)), xid = 0x840, unique = 3254, sent = 2020-04-07 08:29:46.761577, timeout = 1800 for 192.168.1.1:49239
[2020-04-07 09:00:37.104212] E [rpc-clnt.c:183:call_bail] 0-vol_dcs-dev_pv2-client-0: bailing out frame type(GlusterFS 4.x v1), op(LK(26)), xid = 0xbd1, unique = 4381, sent = 2020-04-07 08:30:31.763128, timeout = 1800 for 192.168.1.1:49239以上消息表示 gluster 已尝试了 ID 为 26 的操作,翻译过来就是 '锁',并在等待 1800 秒后超时。
-
如何解决这个问题?
Environment
- Red Hat Gluster Storage 3.x 版本。
- Red Hat Openshift Container Storage 3.x 版本。
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.