Part III Storage and File Systems

This section contains the following chapters:

Table of Contents

18 Storage Management
18.1 About Disk Partitions
18.1.1 Managing Partition Tables Using fdisk
18.1.2 Managing Partition Tables Using parted
18.1.3 Mapping Partition Tables to Devices
18.2 About Swap Space
18.2.1 Viewing Swap Space Usage
18.2.2 Creating and Using a Swap File
18.2.3 Creating and Using a Swap Partition
18.2.4 Removing a Swap File or Swap Partition
18.3 About Logical Volume Manager
18.3.1 Initializing and Managing Physical Volumes
18.3.2 Creating and Managing Volume Groups
18.3.3 Creating and Managing Logical Volumes
18.4 About Software RAID
18.4.1 Creating Software RAID Devices
18.5 Creating Encrypted Block Devices
18.6 About iSCSI Storage
18.6.1 Configuring an iSCSI Target
18.6.2 Configuring an iSCSI Initiator
18.6.3 Updating the Discovery Database
18.7 About Device Multipathing
18.7.1 Configuring Multipathing
19 File System Administration
19.1 Making File Systems
19.2 Mounting File Systems
19.2.1 About Mount Options
19.3 About the File System Mount Table
19.4 Configuring the Automounter
19.5 Mounting a File Containing a File System Image
19.6 Creating a File System on a File
19.7 Checking and Repairing a File System
19.7.1 Changing the Frequency of File System Checking
19.8 About Access Control Lists
19.8.1 Configuring ACL Support
19.8.2 Setting and Displaying ACLs
19.9 About Disk Quotas
19.9.1 Enabling Disk Quotas on File Systems
19.9.2 Assigning Disk Quotas to Users and Groups
19.9.3 Setting the Grace Period
19.9.4 Displaying Disk Quotas
19.9.5 Enabling and Disabling Disk Quotas
19.9.6 Reporting on Disk Quota Usage
19.9.7 Maintaining the Accuracy of Disk Quota Reporting
20 Local File System Administration
20.1 About Local File Systems
20.2 About the Btrfs File System
20.3 Creating a Btrfs File System
20.4 Modifying a Btrfs File System
20.5 Compressing and Defragmenting a Btrfs File System
20.6 Resizing a Btrfs File System
20.7 Creating Subvolumes and Snapshots
20.7.1 Cloning Virtual Machine Images and Linux Containers
20.8 Using the Send/Receive Feature
20.8.1 Using Send/Receive to Implement Incremental Backups
20.9 Using Quota Groups
20.10 Replacing Devices on a Live File System
20.11 Creating Snapshots of Files
20.12 Converting an Ext2, Ext3, or Ext4 File System to a Btrfs File System
20.12.1 Converting a Non-root File System
20.12.2 Converting the root File System
20.12.3 Mounting the Image of the Original File System
20.12.4 Deleting the Snapshot of the Original File System
20.12.5 Recovering an Original Non-root File System
20.13 Installing a Btrfs root File System
20.13.1 Setting up a New NFS Server
20.13.2 Configuring an Existing NFS Server
20.13.3 Setting up a New HTTP Server
20.13.4 Configuring an Existing HTTP Server
20.13.5 Setting up a Network Installation Server
20.13.6 Installing from a Network Installation Server
20.13.7 About the Installation root File System
20.13.8 Creating Snapshots of the root File System
20.13.9 Mounting Alternate Snapshots as the root File System
20.13.10 Deleting Snapshots of the root File System
20.14 Converting a Non-root Ext2 File System to Ext3
20.15 Converting a root Ext2 File System to Ext3
20.16 Creating a Local OCFS2 File System
20.17 About the XFS File System
20.17.1 About External XFS Journals
20.17.2 About XFS Write Barriers
20.17.3 About Lazy Counters
20.18 Installing the XFS Packages
20.19 Creating an XFS File System
20.20 Modifying an XFS File System
20.21 Growing an XFS File System
20.22 Freezing and Unfreezing an XFS File System
20.23 Setting Quotas on an XFS File System
20.23.1 Setting Project Quotas
20.24 Backing up and Restoring XFS File Systems
20.25 Defragmenting an XFS File System
20.26 Checking and Repairing an XFS File System
21 Shared File System Administration
21.1 About Shared File Systems
21.2 About NFS
21.2.1 Configuring an NFS Server
21.2.2 Mounting an NFS File System
21.3 About Samba
21.3.1 Configuring a Samba Server
21.3.2 About Samba Configuration for Windows Workgroups and Domains
21.3.3 Accessing Samba Shares from a Windows Client
21.3.4 Accessing Samba Shares from an Oracle Linux Client
22 Oracle Cluster File System Version 2
22.1 About OCFS2
22.2 Installing and Configuring OCFS2
22.2.1 Preparing a Cluster for OCFS2
22.2.2 Configuring the Firewall
22.2.3 Configuring the Cluster Software
22.2.4 Creating the Configuration File for the Cluster Stack
22.2.5 Configuring the Cluster Stack
22.2.6 Configuring the Kernel for Cluster Operation
22.2.7 Starting and Stopping the Cluster Stack
22.2.8 Creating OCFS2 volumes
22.2.9 Mounting OCFS2 Volumes
22.2.10 Querying and Changing Volume Parameters
22.3 Troubleshooting OCFS2
22.3.1 Recommended Tools for Debugging
22.3.2 Mounting the debugfs File System
22.3.3 Configuring OCFS2 Tracing
22.3.4 Debugging File System Locks
22.3.5 Configuring the Behavior of Fenced Nodes
22.4 Use Cases for OCFS2
22.4.1 Load Balancing
22.4.2 Oracle Real Application Cluster (RAC)
22.4.3 Oracle Databases
22.5 For More Information About OCFS2