Creating and Mounting OCFS2 Volumes
When creating OCFS2 volumes, consider the following:
-
Don't create an OCFS2 volume on an LVM logical volume, as LVM isn't cluster-aware.
-
After you have created an OCFS2 volume, you can't change the block and cluster size of that volume. You can use the
tunefs.ocfs2
command to change other file system settings, with certain restrictions. For more information, see thetunefs.ocfs2(8)
manual page. -
If you intend the volume to store database files, don't specify a cluster size that's smaller than the block size of the database.
-
The default cluster size of 4 KB isn't suitable if the file system is larger than a few gigabytes.