Part III Storage and File Systems

This section contains the following chapters:

Table of Contents

16 Storage Management
16.1 About Disk Partitions
16.1.1 Managing Partition Tables Using fdisk
16.1.2 Managing Partition Tables Using parted
16.1.3 Mapping Partition Tables to Devices
16.2 About Swap Space
16.2.1 Viewing Swap Space Usage
16.2.2 Creating and Using a Swap File
16.2.3 Creating and Using a Swap Partition
16.2.4 Removing a Swap File or Swap Partition
16.3 About Logical Volume Manager
16.3.1 Initializing and Managing Physical Volumes
16.3.2 Creating and Managing Volume Groups
16.3.3 Creating and Managing Logical Volumes
16.4 About Software RAID
16.4.1 Creating Software RAID Devices
16.5 Creating Encrypted Block Devices
16.6 About iSCSI Storage
16.6.1 Configuring an iSCSI Target
16.6.2 Configuring an iSCSI Initiator
16.6.3 Updating the Discovery Database
16.7 About Device Multipathing
16.7.1 Configuring Multipathing
17 File System Administration
17.1 Making File Systems
17.2 Mounting File Systems
17.2.1 About Mount Options
17.3 About the File System Mount Table
17.4 Configuring the Automounter
17.5 Mounting a File Containing a File System Image
17.6 Creating a File System on a File
17.7 Checking and Repairing a File System
17.7.1 Changing the Frequency of File System Checking
17.8 About Access Control Lists
17.8.1 Configuring ACL Support
17.8.2 Setting and Displaying ACLs
17.9 About Disk Quotas
17.9.1 Enabling Disk Quotas on File Systems
17.9.2 Assigning Disk Quotas to Users and Groups
17.9.3 Setting the Grace Period
17.9.4 Displaying Disk Quotas
17.9.5 Enabling and Disabling Disk Quotas
17.9.6 Reporting on Disk Quota Usage
17.9.7 Maintaining the Accuracy of Disk Quota Reporting
18 Local File System Administration
18.1 About Local File Systems
18.2 About the Btrfs File System
18.3 Creating a Btrfs File System
18.4 Modifying a Btrfs File System
18.5 Compressing and Defragmenting a Btrfs File System
18.6 Resizing a Btrfs File System
18.7 Creating Subvolumes and Snapshots
18.7.1 Cloning Virtual Machine Images and Linux Containers
18.8 Using the Send/Receive Feature
18.8.1 Using Send/Receive to Implement Incremental Backups
18.9 Using Quota Groups
18.10 Replacing Devices on a Live File System
18.11 Creating Snapshots of Files
18.12 Converting an Ext2, Ext3, or Ext4 File System to a Btrfs File System
18.12.1 Converting a Non-root File System
18.12.2 Converting the root File System
18.12.3 Mounting the Image of the Original File System
18.12.4 Deleting the Snapshot of the Original File System
18.12.5 Recovering an Original Non-root File System
18.13 Installing a Btrfs root File System
18.13.1 Setting up a New NFS Server
18.13.2 Configuring an Existing NFS Server
18.13.3 Setting up a New HTTP Server
18.13.4 Configuring an Existing HTTP Server
18.13.5 Setting up a Network Installation Server
18.13.6 Installing from a Network Installation Server
18.13.7 About the Installation root File System
18.13.8 Creating Snapshots of the root File System
18.13.9 Mounting Alternate Snapshots as the root File System
18.13.10 Deleting Snapshots of the root File System
18.14 Converting a Non-root Ext2 File System to Ext3
18.15 Converting a root Ext2 File System to Ext3
18.16 Creating a Local OCFS2 File System
18.17 About the XFS File System
18.17.1 About External XFS Journals
18.17.2 About XFS Write Barriers
18.17.3 About Lazy Counters
18.18 Installing the XFS Packages
18.19 Creating an XFS File System
18.20 Modifying an XFS File System
18.21 Growing an XFS File System
18.22 Freezing and Unfreezing an XFS File System
18.23 Setting Quotas on an XFS File System
18.23.1 Setting Project Quotas
18.24 Backing up and Restoring XFS File Systems
18.25 Defragmenting an XFS File System
18.26 Checking and Repairing an XFS File System
19 Shared File System Administration
19.1 About Shared File Systems
19.2 About NFS
19.2.1 Configuring an NFS Server
19.2.2 Mounting an NFS File System
19.3 About Samba
19.3.1 Configuring a Samba Server
19.3.2 About Samba Configuration for Windows Workgroups and Domains
19.3.3 Accessing Samba Shares from a Windows Client
19.3.4 Accessing Samba Shares from an Oracle Linux Client
20 Oracle Cluster File System Version 2
20.1 About OCFS2
20.2 Installing and Configuring OCFS2
20.2.1 Preparing a Cluster for OCFS2
20.2.2 Configuring the Firewall
20.2.3 Configuring the Cluster Software
20.2.4 Creating the Configuration File for the Cluster Stack
20.2.5 Configuring the Cluster Stack
20.2.6 Configuring the Kernel for Cluster Operation
20.2.7 Starting and Stopping the Cluster Stack
20.2.8 Creating OCFS2 volumes
20.2.9 Mounting OCFS2 Volumes
20.2.10 Querying and Changing Volume Parameters
20.3 Troubleshooting OCFS2
20.3.1 Recommended Tools for Debugging
20.3.2 Mounting the debugfs File System
20.3.3 Configuring OCFS2 Tracing
20.3.4 Debugging File System Locks
20.3.5 Configuring the Behavior of Fenced Nodes
20.4 Use Cases for OCFS2
20.4.1 Load Balancing
20.4.2 Oracle Real Application Cluster (RAC)
20.4.3 Oracle Databases
20.5 For More Information About OCFS2