Managing RAID on Linux - Helion
ISBN: 978-05-965-5561-0
stron: 262, Format: ebook
Data wydania: 2002-12-18
Księgarnia: Helion
Cena książki: 126,65 zł (poprzednio: 147,27 zł)
Oszczędzasz: 14% (-20,62 zł)
Redundant Array of Independent Disks (RAID) technology is becoming a standard feature of computer systems that support mission-critical services like file sharing, mail exchange, or Web servers. RAID offers two benefits to these essential systems: improved I/O performance and fail-safe data storage.Although bandwidth problems on networks are well documented, the internal data transfer bottleneck that exists at the hardware level in each system can also leave you with perplexing performance issues. RAID is a cost-effective and easy-to-manage way to alleviate this bandwidth problem by distributing the I/O load seamlessly across multiple disks and controllers.RAID also provides uninterrupted data access through disk mirroring and parity algorithms. That means systems can remain online even during a disk or controller failure. RAID is scalable, making it robust enough for large, high-traffic sites and small, critical systems. By using RAID, system administrators can combine single disks into terabytes worth of data storage.Managing RAID on Linux covers everything system administrators need to know to put together a system that can support RAID. You will learn about the different types of RAID, along with associated technologies and issues, and how to choose the best RAID system for your needs. With a step-by-step, hands-on approach, the author guides you through the installation of either Linux software RAID or a hardware RAID card. The book shows how to build an array and optionally install a high-performance file system. Contents include:
- An introduction to RAID and Linux
- Planning and architecture of your RAID system
- Building a software RAID
- Software RAID tools and references
- Building a hardware RAID
- Performance and tuning of your RAID system
Osoby które kupowały "Managing RAID on Linux", wybierały także:
- Administracja systemem Linux. Kurs video. Przewodnik dla początkujących 59,00 zł, (17,70 zł -70%)
- Gray Hat C#. Język C# w kontroli i łamaniu zabezpieczeń 57,74 zł, (17,90 zł -69%)
- Bezpiecze 129,00 zł, (64,50 zł -50%)
- Python dla administrator 178,98 zł, (89,49 zł -50%)
- Linux. Wiersz polece 149,00 zł, (74,50 zł -50%)
Spis treści
Managing RAID on Linux eBook -- spis treści
- Managing RAID on Linux
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Preface
- Overview of the Book
- A Note About Architecture
- Kernels
- LILO
- Prompts
- Conventions Used in This Book
- Comments and Questions
- Acknowledgments
- 1. Introduction
- RAID Terminology
- Redundancy
- Mirroring
- Parity
- Degraded
- Reconstruction, resynchronization, and recovery
- Striping
- Stripe-size versus chunk-size
- Redundancy
- The RAID Levels: An Overview
- RAID-0: Striping
- RAID-1: Mirroring
- RAID-4: Dedicated Parity
- RAID-5: Distributed Parity
- Linear Mode
- Disk spanning
- JBOD (Just a Bunch Of Disks)
- RAID on Linux
- Hardware Versus Software
- RAID Terminology
- 2. Planning and Architecture
- Hardware or Software?
- Software (Kernel-Managed) RAID
- Hardware
- RAID controllers
- Outboard solutions
- Storage Area Network (SAN)
- The RAID Levels: In Depth
- RAID-0 (Striping)
- Linear Mode
- RAID-1 (Mirroring)
- RAID-4
- RAID-5
- Hybrid Arrays
- RAID-10 (striping mirror)
- RAID-50 (striping parity)
- RAID Case Studies: What Should I Choose?
- Case 1: HTTP Image Server
- Case 2: Usenet News
- Case 3: Home Use (Digital Audio, Video, and Images)
- Case 4: The Acme Motion Picture Company
- Case 5: Video on Demand
- Disk Failures
- Degraded Mode
- Hot-Spares
- Hot-Swap
- Hardware Considerations
- An Organizational Overview
- Motherboards and the PCI Bus
- Bus-width and bus-speed
- I/O Channels
- Disk Access Protocols
- The AT Attachment (ATA) and Integrated Disk Electronics (IDE)
- Master and slave
- Direct memory access (DMA)
- The drawbacks of ATA
- SCSI
- Bus-width and signaling rates
- Transmission types
- SCSI Versus ATA
- Speed
- Configuration
- Growth
- Summary of SCSI versus ATA
- Other Disk Access Protocols
- Choosing Hard Drives
- Platters, tracks, sectors, and cylinders
- Actuator arm
- Maximum data throughput
- Matched drives
- Cases, Cables, and Connectors
- Connectors
- Single connector attachment (SCA)
- Power
- Making Sense of It All
- Hardware or Software?
- 3. Getting Started: Building a Software RAID
- Kernel Configuration
- A Brief History Lesson
- Kernel 2.4
- Installing the new kernel
- System initialization
- Patching Older Kernels
- Kernel 2.2
- Kernel 2.0
- Summary of Kernel Upgrades
- Working with Software RAID
- raidtools
- raidtools-0.90
- /etc/raidtab
- raidtools-0.42
- mdadm
- /etc/mdadm.conf
- The RAID Superblock
- Examining Arrays Using /proc/mdstat
- Existing Arrays
- Stopping an array
- Reusing member disks
- raidtools
- Creating an Array
- Partitioning with fdisk
- Partitioning for autodetection
- Partitioning without autodetection
- Linear (Append) Mode
- RAID-0 (Striping)
- RAID-1 (Mirroring)
- RAID-4 (Dedicated Parity)
- RAID-5 (Distributed Parity)
- Hybrid Arrays
- RAID-10 (striped mirror)
- RAID-50 (striped parity)
- Finishing Touches
- Partitioning with fdisk
- The Next Step
- Kernel Configuration
- 4. Software RAID Reference
- Kernel Options
- Deprecated Kernel Options
- md Block Special Files
- /proc and Software RAID
- /proc/mdstat
- Failed disks
- Resynchronization and reconstruction
- /proc/sys/dev/raid
- /proc/mdstat
- raidtools
- The /etc/raidtab File
- raidtools Commands
- lsraid
- mkraid
- raidhotadd
- raidhotgenerateerror
- raidhotremove
- raidreconf
- raidsetfaulty
- raidstart
- raidstop
- mdadm
- mdadm
- Create and Build modes
- Assemble mode
- Monitor mode
- Manage and Miscellaneous modes
- /etc/mdadm.conf
- DEVICE lines
- ARRAY lines
- MAILADDR lines
- PROGRAM lines
- Maintaining /etc/mdadm.conf
- /etc/mdadm.conf
- Kernel Options
- 5. Hardware RAID
- Choosing a RAID Controller
- Motherboard and System Compatibility
- Controller Memory
- Battery backed-up cache memory
- JBOD (Just a Bunch of Disks)
- Software Considerations
- Preparing Controllers and Disks
- FreeDOS
- General Configuration Issues
- Controller Card BIOS
- System Installation
- RAID Autoconfiguration
- Write Cache
- Write-back caching
- Write-through caching
- Logical Drives
- Controller Disk Spin-up
- Mylex
- The DAC960 Driver
- Distribution support
- Configuring the kernel
- Device special files
- Partition limitations
- Controller Setup
- BIOS options
- EzAssist (RAID configuration)
- Configuring the first array
- Configuring an existing disk for standalone JBOD mode
- Converting an existing standalone disk to a mirror
- Managing Arrays
- /proc/rd
- The Global Array Manager (GAM)
- The DAC960 Driver
- Adaptec
- Adaptec I2O RAID Driver
- Configuring the kernel
- The aacraid Driver
- Configuring the kernel
- Adaptec RAID Setup Utility
- Configuring the first array
- Configuring an existing disk for JBOD mode
- Converting an existing standalone disk to a mirror
- The Adaptec Storage Manager
- Working with raidutil
- Adaptec I2O RAID Driver
- Promise Technology
- Creating an Array
- Installing Linux onto a Promise Array
- Creating a driver disk
- Installation
- Configuring the ataraid Driver
- Reconfiguring LILO
- Additional steps for new systems
- Converting an Existing Standalone Disk to a Mirror
- Post-Installation Array Management
- 3ware Escalade ATA RAID Controller
- Creating an Array and Installing Linux
- Converting an Existing Standalone Disk to a Mirror
- Kernel Configuration
- 3DM Disk Manager
- Downloading and installing 3DM
- Configuration and usage
- LSI Logic (MegaRAID)
- Creating an Array
- Installing Linux Directly to a MegaRAID Controller
- The MegaRAID Driver
- Converting an Existing Standalone Disk to a Mirror
- Managing Arrays
- Choosing a RAID Controller
- 6. Filesystems
- Basic Filesystem Concepts
- Blocks and Inodes
- Space efficiency versus performance
- Organization
- Journaling Filesystems
- Doesnt journaling hurt performance?
- Blocks and Inodes
- The Linux Virtual Filesystem (VFS)
- 64-bit architectures
- ext2
- ext2 Organization
- Creating an ext2 Filesystem
- Tuning ext2 Filesystems
- Reserved space
- RAID options
- Access time
- A working example
- ext3 Extensions for the ext2 Filesystem
- Patching the Kernel for ext3 Support
- Compiling the Kernel with ext3 Support
- Working with ext3
- Creating an ext3 Partition
- Converting an ext2 Filesystem to ext3
- Tuning ext3 Features
- Data journaling
- Using a separate journal device
- Further Information
- ReiserFS
- Installing Directly to ReiserFS
- Compiling the Kernel with ReiserFS Support
- Patching older kernels
- Creating a Filesystem
- Mounting the filesystem
- reiserfsck, reiserfstune, and debugreiserfs
- IBM JFS
- Distribution Support
- Patching the Kernel
- Configuring the Kernel
- Installing the JFS Utilities
- Creating a filesystem
- Further Information
- SGI XFS
- Distribution Support
- Obtaining XFS
- Using CVS to obtain a patched kernel
- Patching the kernel
- Compiling the Kernel with XFS Support
- Building the XFS Utilities
- Further Information
- Basic Filesystem Concepts
- 7. Performance, Tuning, and Maintenance
- Monitoring RAID Devices
- RAID and syslog
- BigBrother
- SysOrb
- Verbose SCSI Reporting
- Managing Disk Failures
- Automatic Failover to a Spare Disk
- Sharing Spare Disks
- Manual Disk Replacement
- Problems with Hot-Swap and Disk Replacement
- Configuring Hard Disk Parameters
- Tuning ATA Disks with hdparm
- Enabling DMA mode transfers
- 32-bit I/O support
- Increasing multiple sector I/O
- Interrupt unmasking
- Filesystem read-ahead
- Testing your configuration
- Saving your configuration
- Tuning Disk Elevators
- Tuning ATA Disks with hdparm
- Performance Testing
- Booting with Software RAID
- Installing Directly to Software RAID
- Red Hat
- SuSE
- Mandrake
- Converting to Software RAID
- Installing Directly to Software RAID
- Monitoring RAID Devices
- A. Additional Resources
- Mailing Lists
- Web Sites and Online Resources
- RAID
- Filesystems
- Hardware
- RAID
- Books
- Bibliography
- Books
- Bibliography
- B. Hardware RAID Controller Vendors
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly