Part III Storage and File Systems

This section contains the following chapters:

Table of Contents

17 Storage Management
17.1 About Disk Partitions
17.1.1 Managing Partition Tables Using fdisk
17.1.2 Managing Partition Tables Using parted
17.1.3 Mapping Partition Tables to Devices
17.2 About Swap Space
17.2.1 Viewing Swap Space Usage
17.2.2 Creating and Using a Swap File
17.2.3 Creating and Using a Swap Partition
17.2.4 Removing a Swap File or Swap Partition
17.3 About Logical Volume Manager
17.3.1 Initializing and Managing Physical Volumes
17.3.2 Creating and Managing Volume Groups
17.3.3 Creating and Managing Logical Volumes
17.4 About Software RAID
17.4.1 Creating Software RAID Devices
17.5 Creating Encrypted Block Devices
17.6 SSD Configuration Recommendations for btrfs, ext4, and swap
17.7 About iSCSI Storage
17.7.1 Configuring an iSCSI Target
17.7.2 Configuring an iSCSI Initiator
17.7.3 Updating the Discovery Database
17.8 About Device Multipathing
17.8.1 Configuring Multipathing
18 File System Administration
18.1 Making File Systems
18.2 Mounting File Systems
18.2.1 About Mount Options
18.3 About the File System Mount Table
18.4 Configuring the Automounter
18.5 Mounting a File Containing a File System Image
18.6 Creating a File System on a File
18.7 Checking and Repairing a File System
18.7.1 Changing the Frequency of File System Checking
18.8 About Access Control Lists
18.8.1 Configuring ACL Support
18.8.2 Setting and Displaying ACLs
18.9 About Disk Quotas
18.9.1 Enabling Disk Quotas on File Systems
18.9.2 Assigning Disk Quotas to Users and Groups
18.9.3 Setting the Grace Period
18.9.4 Displaying Disk Quotas
18.9.5 Enabling and Disabling Disk Quotas
18.9.6 Reporting on Disk Quota Usage
18.9.7 Maintaining the Accuracy of Disk Quota Reporting
19 Local File System Administration
19.1 About Local File Systems
19.2 About the Btrfs File System
19.3 Creating a Btrfs File System
19.4 Modifying a Btrfs File System
19.5 Compressing and Defragmenting a Btrfs File System
19.6 Resizing a Btrfs File System
19.7 Creating Subvolumes and Snapshots
19.7.1 Cloning Virtual Machine Images and Linux Containers
19.8 Using the Send/Receive Feature
19.8.1 Using Send/Receive to Implement Incremental Backups
19.9 Using Quota Groups
19.10 Replacing Devices on a Live File System
19.11 Creating Snapshots of Files
19.12 Converting an Ext2, Ext3, or Ext4 File System to a Btrfs File System
19.12.1 Converting a Non-root File System
19.12.2 Converting the root File System
19.12.3 Mounting the Image of the Original File System
19.12.4 Deleting the Snapshot of the Original File System
19.12.5 Recovering an Original Non-root File System
19.13 Installing a Btrfs root File System
19.13.1 Setting up a New NFS Server
19.13.2 Configuring an Existing NFS Server
19.13.3 Setting up a New HTTP Server
19.13.4 Configuring an Existing HTTP Server
19.13.5 Setting up a Network Installation Server
19.13.6 Installing from a Network Installation Server
19.13.7 About the Installation root File System
19.13.8 Creating Snapshots of the root File System
19.13.9 Mounting Alternate Snapshots as the root File System
19.13.10 Deleting Snapshots of the root File System
19.14 Converting a Non-root Ext2 File System to Ext3
19.15 Converting a root Ext2 File System to Ext3
19.16 Creating a Local OCFS2 File System
19.17 About the XFS File System
19.17.1 About External XFS Journals
19.17.2 About XFS Write Barriers
19.17.3 About Lazy Counters
19.18 Installing the XFS Packages
19.19 Creating an XFS File System
19.20 Modifying an XFS File System
19.21 Growing an XFS File System
19.22 Freezing and Unfreezing an XFS File System
19.23 Setting Quotas on an XFS File System
19.23.1 Setting Project Quotas
19.24 Backing up and Restoring XFS File Systems
19.25 Defragmenting an XFS File System
19.26 Checking and Repairing an XFS File System
20 Shared File System Administration
20.1 About Shared File Systems
20.2 About NFS
20.2.1 Configuring an NFS Server
20.2.2 Mounting an NFS File System
20.3 About Samba
20.3.1 Configuring a Samba Server
20.3.2 About Samba Configuration for Windows Workgroups and Domains
20.3.3 Accessing Samba Shares from a Windows Client
20.3.4 Accessing Samba Shares from an Oracle Linux Client
21 Oracle Cluster File System Version 2
21.1 About OCFS2
21.2 Installing and Configuring OCFS2
21.2.1 Preparing a Cluster for OCFS2
21.2.2 Configuring the Firewall
21.2.3 Configuring the Cluster Software
21.2.4 Creating the Configuration File for the Cluster Stack
21.2.5 Configuring the Cluster Stack
21.2.6 Configuring the Kernel for Cluster Operation
21.2.7 Starting and Stopping the Cluster Stack
21.2.8 Creating OCFS2 volumes
21.2.9 Mounting OCFS2 Volumes
21.2.10 Querying and Changing Volume Parameters
21.3 Troubleshooting OCFS2
21.3.1 Recommended Tools for Debugging
21.3.2 Mounting the debugfs File System
21.3.3 Configuring OCFS2 Tracing
21.3.4 Debugging File System Locks
21.3.5 Configuring the Behavior of Fenced Nodes
21.4 Use Cases for OCFS2
21.4.1 Load Balancing
21.4.2 Oracle Real Application Cluster (RAC)
21.4.3 Oracle Databases
21.5 For More Information About OCFS2