執行tunefs.ocf2s指令時找不到ocfs2_dlmfs檔案系統

執行tunefs.ocf2s指令時找不到ocfs2_dlmfs檔案系統

運行以下命令時曲調啟用discontig-bg檔案系統功能的命令:

tunefs.ocfs2 --fs-features=discontig-bg /dev/drbd0

我收到以下錯誤:

tunefs.ocfs2: ocfs2_dlmfs file system was not found while opening device "/dev/drbd0"

運行時,mount我沒有看到ocfs2_dlmfs預期的安裝,只有/dev/drbd0.


我們確實將核心從 升級4.19.0-25-amd645.10,之後遇到了錯誤。不幸的是降級到並4.19沒有解決問題。我們甚至不確定核心版本是否相關。


系統資訊:

作業系統:Debian 10 (buster)
核心版本:4.19.0-25-amd64
TuneFS 版本:tunefs.ocfs2 1.8.5

答案1

找到解決方法,先運行

dpkg-reconfigure ocfs2-tools

您可以在其中獲得以下選項:

Would you like to start an OCFS2 cluster (O2CB) at boot time?

當您回答這個問題時Yes,dlmfs掛載將持續存在,而我原來的

tunefs.ocfs2 --fs-features=discontig-bg /dev/drbd0

命令完成且沒有任何錯誤。

相關內容