Managing Gfs; Creating A File System - Red Hat ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM:
Table of Contents

Advertisement

Chapter 3.

Managing GFS

This chapter describes the tasks and commands for managing GFS and consists of the following
sections:
Section 3.1, "Creating a File System"
Section 3.2, "Mounting a File System"
Section 3.3, "Unmounting a File System"
Section 3.4, "Special Considerations when Mounting GFS File Systems"
Section 3.5, "Displaying GFS Tunable Parameters"
Section 3.6, "GFS Quota Management"
Section 3.7, "Growing a File System"
Section 3.8, "Adding Journals to a File System"
Section 3.9, "Direct I/O"
Section 3.10, "Data Journaling"
Section 3.11, "Configuring atime Updates"
Section 3.12, "Suspending Activity on a File System"
Section 3.13, "Displaying Extended GFS Information and Statistics"
Section 3.14, "Repairing a File System"
Section 3.15, "Context-Dependent Path Names"
Section 3.16, "The GFS Withdraw Function"

3.1. Creating a File System

You can create a GFS file system with the gfs_mkfs command. A file system is created on an
activated LVM volume. The following information is required to execute the gfs_mkfs command:
• Lock protocol/module name. The lock protocol for a cluster is lock_dlm. The lock protocol when
GFS is acting as a local file system (one node only) is lock_nolock.
• Cluster name (when running as part of a cluster configuration).
• Number of journals (one journal required for each node that may be mounting the file systema.)
Make sure to account for additional journals needed for future expansion, as you cannot add
journals dynamically to a GFS file system.
When creating a GFS file system, you can use the gfs_mkfs directly, or you can use the mkfs
command with the -t parameter specifying a filesystem of type gfs, followed by the gfs file system
options.
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Global file system

Table of Contents