Part III Storage and File Systems

This section contains the following chapters:

Table of Contents

19 Storage Management
19.1 About Disk Partitions
19.1.1 Managing Partition Tables Using fdisk
19.1.2 Managing Partition Tables Using parted
19.1.3 Mapping Partition Tables to Devices
19.2 About Swap Space
19.2.1 Viewing Swap Space Usage
19.2.2 Creating and Using a Swap File
19.2.3 Creating and Using a Swap Partition
19.2.4 Removing a Swap File or Swap Partition
19.3 About Logical Volume Manager
19.3.1 Initializing and Managing Physical Volumes
19.3.2 Creating and Managing Volume Groups
19.3.3 Creating and Managing Logical Volumes
19.3.4 Creating Logical Volume Snapshots
19.3.5 Creating and Managing Thinly-Provisioned Logical Volumes
19.3.6 Using snapper with Thinly-Provisioned Logical Volumes
19.4 About Software RAID
19.4.1 Creating Software RAID Devices
19.5 Creating Encrypted Block Devices
19.6 SSD Configuration Recommendations for Btrfs, ext4, and Swap
19.7 About Linux-IO Storage Configuration
19.7.1 Configuring an iSCSI Target
19.7.2 Restoring a Saved Configuration for an iSCSI target
19.7.3 Configuring an iSCSI Initiator
19.7.4 Updating the Discovery Database
19.8 About Device Multipathing
19.8.1 Configuring Multipathing
20 File System Administration
20.1 Making File Systems
20.2 Mounting File Systems
20.2.1 About Mount Options
20.3 About the File System Mount Table
20.4 Configuring the Automounter
20.5 Mounting a File Containing a File System Image
20.6 Creating a File System on a File
20.7 Checking and Repairing a File System
20.7.1 Changing the Frequency of File System Checking
20.8 About Access Control Lists
20.8.1 Configuring ACL Support
20.8.2 Setting and Displaying ACLs
20.9 About Disk Quotas
20.9.1 Enabling Disk Quotas on File Systems
20.9.2 Assigning Disk Quotas to Users and Groups
20.9.3 Setting the Grace Period
20.9.4 Displaying Disk Quotas
20.9.5 Enabling and Disabling Disk Quotas
20.9.6 Reporting on Disk Quota Usage
20.9.7 Maintaining the Accuracy of Disk Quota Reporting
21 Local File System Administration
21.1 About Local File Systems
21.2 About the Btrfs File System
21.3 Creating a Btrfs File System
21.4 Modifying a Btrfs File System
21.5 Compressing and Defragmenting a Btrfs File System
21.6 Resizing a Btrfs File System
21.7 Creating Subvolumes and Snapshots
21.7.1 Using snapper with Btrfs Subvolumes
21.7.2 Cloning Virtual Machine Images and Linux Containers
21.8 Using the Send/Receive Feature
21.8.1 Using Send/Receive to Implement Incremental Backups
21.9 Using Quota Groups
21.10 Replacing Devices on a Live File System
21.11 Creating Snapshots of Files
21.12 Converting an Ext2, Ext3, or Ext4 File System to a Btrfs File System
21.12.1 Converting a Non-root File System
21.13 About the Btrfs root File System
21.13.1 Creating Snapshots of the root File System
21.13.2 Mounting Alternate Snapshots as the root File System
21.13.3 Deleting Snapshots of the root File System
21.14 Converting a Non-root Ext2 File System to Ext3
21.15 Converting a root Ext2 File System to Ext3
21.16 Creating a Local OCFS2 File System
21.17 About the XFS File System
21.17.1 About External XFS Journals
21.17.2 About XFS Write Barriers
21.17.3 About Lazy Counters
21.18 Installing the XFS Packages
21.19 Creating an XFS File System
21.20 Modifying an XFS File System
21.21 Growing an XFS File System
21.22 Freezing and Unfreezing an XFS File System
21.23 Setting Quotas on an XFS File System
21.23.1 Setting Project Quotas
21.24 Backing up and Restoring XFS File Systems
21.25 Defragmenting an XFS File System
21.26 Checking and Repairing an XFS File System
22 Shared File System Administration
22.1 About Shared File Systems
22.2 About NFS
22.2.1 Configuring an NFS Server
22.2.2 Mounting an NFS File System
22.3 About Samba
22.3.1 Configuring a Samba Server
22.3.2 About Samba Configuration for Windows Workgroups and Domains
22.3.3 Accessing Samba Shares from a Windows Client
22.3.4 Accessing Samba Shares from an Oracle Linux Client
23 Oracle Cluster File System Version 2
23.1 About OCFS2
23.2 Installing and Configuring OCFS2
23.2.1 Preparing a Cluster for OCFS2
23.2.2 Configuring the Firewall
23.2.3 Configuring the Cluster Software
23.2.4 Creating the Configuration File for the Cluster Stack
23.2.5 Configuring the Cluster Stack
23.2.6 Configuring the Kernel for Cluster Operation
23.2.7 Starting and Stopping the Cluster Stack
23.2.8 Creating OCFS2 volumes
23.2.9 Mounting OCFS2 Volumes
23.2.10 Querying and Changing Volume Parameters
23.3 Troubleshooting OCFS2
23.3.1 Recommended Tools for Debugging
23.3.2 Mounting the debugfs File System
23.3.3 Configuring OCFS2 Tracing
23.3.4 Debugging File System Locks
23.3.5 Configuring the Behavior of Fenced Nodes
23.4 Use Cases for OCFS2
23.4.1 Load Balancing
23.4.2 Oracle Real Application Cluster (RAC)
23.4.3 Oracle Databases
23.5 For More Information About OCFS2