我正在尝试创建由两个设备共享的集群文件系统。我看到以下错误:
mkfs.ocfs2 successful
mount.ocfs2: Cluster name is invalid while trying to join the group
Stopping ocfs2 and o2cb on device side:
Warning: Permanently added '11.1.1.2' (ECDSA) to the list of known hosts.
Stopping o2cb (via systemctl): o2cb.service.
Unmounting ocfs2_dlmfs filesystem: OK
Copying cluster.conf to device:
Starting ocfs2 on device side:
Mounting ocfs2_dlmfs filesystem at /dlm: OK
Setting cluster stack "o2cb": OK
Starting O2CB cluster ngd: Failed
Cluster ngd created
Node In-Situ-machine2 added
o2cb_ctl: Internal logic failure while adding node node1
Stopping O2CB cluster ngd: OK
mkdir: cannot create directory ‘/mnt/catalina24/’: Read-only file system
mount.ocfs2: Unable to access cluster service while trying to join the group
答案1
使用以下命令可解决“mount.ocfs2:尝试加入组时集群名称无效”问题:
o2cb register-cluster ocfs2
我希望这可以帮助你。