[Ocfs2-users] OCFS processes active after a umount [SEC=UNOFFICIAL]

Sunil Mushran Sunil.Mushran at oracle.com
Mon Jul 21 10:43:06 PDT 2008


That is strange.

Next time double check the mounts with:
$ cat /proc/mounts

The mount command prints the entries in /etc/mtab while
the /proc/mounts dumps the information from the kernel.
If those threads are there, it means the volume is still
mounted. Two in this case.

The entries in mtab are added by mount.ocfs2 and removed
by umount. There is a chance that mount.ocfs2 was unable
to add the entries in that file. Or, maybe one used the
-n option to force that behavior.

Which version/kernel is this?

Sunil

Mark Schloss wrote:
> Hello,
>  
> I have two OCFS file file systems mounted at /ocfs_1 and /ocfs_2. I 
> have unmounted both OCFS file systems and was trying to then offline 
> and unload OCFS. The offline command failed with -
>  
> # ./o2cb offline
> Stopping O2CB cluster ocfs2: Failed
> Unable to stop cluster as heartbeat region still active
> Looking at the processes on this box shows a number of OCFS processes 
> are still active -
>  
> ps -ef |grep ocf
> root      4704    23  0 Jul19 ?        00:00:00 [ocfs2_wq]
> root      4705    23  0 Jul19 ?        00:00:00 [ocfs2vote-0]
> root      4710    23  0 Jul19 ?        00:00:00 [ocfs2cmt-0]
> root      4730    23  0 Jul19 ?        00:00:00 [ocfs2vote-1]
> root      4735    23  0 Jul19 ?        00:00:00 [ocfs2cmt-1]
> root     10214  3485  0 18:12 pts/2    00:00:00 grep ocf
>  
> According to the FAQ, the ocfs2vote and ocfs2cmt processes should have 
> gone at the umount.
>  
> Mount shows that there no OCFS file systems mounted -
>  
> # mount |grep -i ocfs
> ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
>  
> What can I do to offline/unload OCFS? (offline force fails with the 
> same message as above)
>  
> Regards
>  
> Mark Schloss



More information about the Ocfs2-users mailing list