
cib commit oracle-glue
quit
12.4.3 Creating an OCFS2 Volume
Creating an OCFS2 file system and adding new nodes to the cluster should be performed
on only one of the nodes in the cluster.
1
Open a terminal window and log in as
root
.
2
Check if the cluster is online with the command
crm_mon
.
3
Create and format the volume using one of the following methods:
• Use the
mkfs.ocfs2
utility. For information about the syntax for this
command, refer to the
mkfs.ocfs2
man page.
To create a new OCFS2 file system on
/dev/sdb1
that supports up to 16
cluster nodes, use
mkfs.ocfs2 -N 16 /dev/sdb1
See the following table for recommended settings.
Description and Recommendation
OCFS2 Pa-
rameter
A descriptive name for the volume to make it uniquely identifi-
able when it is mounted on different nodes.
Volume la-
bel
Use the
tunefs.ocfs2
utility to modify the label as needed.
Cluster size is the smallest unit of space allocated to a file to
hold the data.
Cluster size
Options are 4, 8, 16, 32, 64, 128, 256, 512, and 1024 KB.
Cluster size cannot be modified after the volume is formatted.
112
High Availability Guide
Summary of Contents for LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Page 10: ......
Page 11: ...Part I Installation and Setup...
Page 12: ......
Page 28: ......
Page 38: ......
Page 39: ...Part II Configuration and Administration...
Page 40: ......
Page 68: ......
Page 108: ......
Page 114: ......
Page 115: ...Part III Storage and Data Replication...
Page 116: ......
Page 126: ......
Page 140: ......
Page 141: ...Part IV Troubleshooting and Reference...
Page 142: ......
Page 148: ......
Page 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Page 202: ......
Page 210: ......
Page 285: ...Part V Appendix...
Page 286: ......