Mounting the debugfs File System

OCFS2 uses the debugfs file system to enable userspace access to information about its in-kernel state. You must mount the debugfs file system to use the debugfs.ocfs2 command.

  1. Edit the /etc/fstab file

    Add the following line to the /etc/fstab file:

    debugfs    /sys/kernel/debug      debugfs  defaults  0 0
  2. Mount the debugfs file system

    Mount the debugfs file system by running the following command:

    mount -a