Table 13.3
OCFS2 Utili-
ty
de-
bugfs.ocfs2
fsck.ocfs2
mkfs.ocfs2
mount-
ed.ocfs2
ocfs2cdsl
tune.ocfs2
Use the following commands to manage O2CB services. For more information about
the o2cb command syntax, see its man page.
Table 13.4
Command
/etc/init.d/o2cb status
/etc/init.d/o2cb load
/etc/init.d/o2cb online
ocfs2
272
Installation and Administration
OCFS2 Utilities
Description
Examines the state of the OCFS file system for the purpose of debug-
ging.
Checks the file system for errors and optionally repairs errors.
Creates an OCFS2 file system on a device, usually a partition on a
shared physical or logical disk. This tool requires the O2CB cluster
service to be up.
Detects and lists all OCFS2 volumes on a clustered system. Detects
and lists all nodes on the system that have mounted an OCFS2 device
or lists all OCFS2 devices.
Creates a context-dependent symbolic link (CDSL) for a specified
filename (file or directory) for a node. A CDSL filename has its own
image for a specific node, but has a common name in the OCFS2.
Changes OCFS2 file system parameters, including the volume label,
number of node slots, journal size for all node slots, and volume size.
O2CB Commands
Description
Reports whether the o2cb services are loaded and mounted
Loads the O2CB modules and in-memory file systems
Onlines the cluster named ocfs2
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 and is the answer not in the manual?
Questions and answers