Installation guide

v
Preface ix
1. Document Conventions ................................................................................................... ix
1.1. Typographic Conventions ..................................................................................... ix
1.2. Pull-quote Conventions ......................................................................................... x
1.3. Notes and Warnings ............................................................................................ xi
2. Getting Help and Giving Feedback .................................................................................. xi
2.1. Do You Need Help? ............................................................................................. xi
2.2. We Need Feedback! ........................................................................................... xii
1. Overview 1
1.1. What's New in Red Hat Enterprise Linux 6 .................................................................... 1
2. Storage Considerations During Installation 3
2.1. Updates to Storage Configuration During Installation ...................................................... 3
2.2. Overview of Supported File Systems ............................................................................. 3
2.3. Special Considerations ................................................................................................. 4
3. LVM (Logical Volume Manager) 7
3.1. What is LVM2? ............................................................................................................ 8
3.2. Using system-config-lvm ........................................................................................ 8
3.2.1. Utilizing Uninitialized Entities ............................................................................ 11
3.2.2. Adding Unallocated Volumes to a Volume Group ............................................... 11
3.2.3. Migrating Extents ............................................................................................. 13
3.2.4. Adding a New Hard Disk Using LVM ................................................................. 15
3.2.5. Adding a New Volume Group ........................................................................... 16
3.2.6. Extending a Volume Group .............................................................................. 17
3.2.7. Editing a Logical Volume .................................................................................. 18
3.3. References ................................................................................................................ 21
4. Partitions 23
4.1. Viewing the Partition Table .......................................................................................... 24
4.2. Creating a Partition .................................................................................................... 25
4.2.1. Making the Partition ......................................................................................... 25
4.2.2. Formatting and Labeling the Partition ................................................................ 26
4.2.3. Add to /etc/fstab ........................................................................................ 26
4.3. Removing a Partition .................................................................................................. 27
4.4. Resizing a Partition .................................................................................................... 27
5. File System Structure 29
5.1. Why Share a Common Structure? ............................................................................... 29
5.2. Overview of File System Hierarchy Standard (FHS) ...................................................... 29
5.2.1. FHS Organization ............................................................................................ 29
5.3. Special Red Hat Enterprise Linux File Locations .......................................................... 36
5.4. The /proc Virtual File System ...................................................................................... 37
6. The Ext3 File System 39
6.1. Creating an Ext3 File System ...................................................................................... 40
6.2. Converting to an Ext3 File System .............................................................................. 40
6.3. Reverting to an Ext2 File System ................................................................................ 41
7. The Ext4 File System 43
7.1. Creating an Ext4 File System ...................................................................................... 44
7.2. Mounting an Ext4 File System .................................................................................... 45
7.3. Resizing an Ext4 File System ..................................................................................... 45
7.4. Other Ext4 File System Utilities ................................................................................... 46
8. Global File System 2 47