Managing Gfs2; Making A File System - Red Hat ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM 2 Manual

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

Advertisement

Chapter 3.

Managing GFS2

This chapter describes the tasks and commands for managing GFS2 and consists of the following
sections:
Section 3.1, "Making a File System"
Section 3.2, "Mounting a File System"
Section 3.3, "Unmounting a File System"
Section 3.5, "GFS2 Quota Management"
Section 3.6, "Growing a File System"
Section 3.7, "Adding Journals to a File System"
Section 3.8, "Data Journaling"
Section 3.9, "Configuring atime Updates"
Section 3.10, "Suspending Activity on a File System"
Section 3.11, "Repairing a File System"
Section 3.12, "Bind Mounts and Context-Dependent Path Names"
Section 3.13, "Bind Mounts and File System Mount Order"
Section 3.14, "The GFS2 Withdraw Function"

3.1. Making a File System

You create a GFS2 file system with the mkfs.gfs2 command. You can also use the mkfs command
with the -t gfs2 option specified. A file system is created on an activated LVM volume. The following
information is required to run the mkfs.gfs2 command:
• Lock protocol/module name (the lock protocol for a cluster is lock_dlm)
• 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 system)
When creating a GFS2 file system, you can use the mkfs.gfs2 command directly, or you can use the
mkfs command with the -t parameter specifying a filesystem of type gfs2, followed by the gfs2 file
system options.
Note
Once you have created a GFS2 file system with the mkfs.gfs2 command, you cannot
decrease the size of the file system. You can, however, increase the size of an existing
file system with the gfs2_grow command, as described in
System".
Section 3.6, "Growing a File
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Global file system 2

Table of Contents