Hello Sergio,

thank you for picking up this bug.
I realize that this is a very difficult problem.

Regarding the possibilty of an upstream bug:

Meanwhile there is a new kernel available: Linux 5.11.0-1028-oracle
I will install it and do tests again.
This can need some days, because the bug does not always occur.
I will inform you as soon as I have results.


The offered solution in 
https://support.oracle.com/knowledge/Oracle%20Linux%20and%20Virtualization/2375753_1.html
 looks like this:

###
Cause
The server is running with incorrect system configurations and not following 
Oracle's Best Practices for OCFS2.

Solution
Make sure that /usr/bin/updatedb (aka /usr/bin/locate, slocate) does not run 
against OCFS2 partitions since updatedb, a file indexer, will reduce OCFS2 file 
I/O performance.

To prevent updatedb from indexing OCFS2 partitions, add 'ocfs2' to the
PRUNEFS= and/or list OCFS2 volumes specifically in the PRUNEPATHS list
in /etc/updatedb.conf e.g.

[/etc/updatedb.conf]
PRUNEFS="devpts NFS nfs afs proc smbfs autofs auto iso9660 ocfs2"
PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /net /ocfs2-data /ocfs2-index /quorum"
export PRUNEFS
export PRUNEPATHS

References
NOTE:237997.1 - Linux OCFS - Best Practices
###

I tried to find the related settings, but:

ll /etc/updatedb.conf
ls: cannot access '/etc/updatedb.conf': No such file or directory

ll /usr/bin/locate
ls: cannot access '/usr/bin/locate': No such file or directory

find / -name "*updatedb*"
/usr/share/vim/vim81/syntax/updatedb.vim
/usr/share/vim/vim81/ftplugin/updatedb.vim

find / -name "*locate*"
=> result contains only entries belonging to "allocate" or "fallocate"


The general settings on the affected systems are the same as on the (working) 
Ubuntu 18 and Qracle Linux systems.

Thanks for helping me!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1959581

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to