Book Review: Managing RAID on Linux

 in
The only book of its kind so far, this one offers advice for selecting the type and level of RAID you should use.

Title:  Managing RAID on LinuxAuthor:  Derek VadalaPublisher:  O'Reilly & AssociatesISBN:  1-56592-730-3Price:  $39.95 US, $61.95 CAN

Almost every Linux system administrator probably is familiar with the concept of RAID (redundant array of independent disks), but most probably aren't too confident about setting one up on their own. Many may have muddled through the process by using minimal documents (that is, howtos and single chapters in general Linux books) or vendor specific documentation. In such situations, one can only hope for the best when arbitrarily choosing a RAID type and configuring it. Recently, though, O'Reilly has published a unique book called, Managing RAID on Linux, which focuses on RAID and related topics.

Understanding RAID

A RAID typically, by definition, involves redundant hard drives linked together by special hardware or software. "Using RAID has two basic advantages: redundancy, or the ability to survive a disk failure, and increased performance. Depending on which RAID level you choose, you get varying degrees of each of these features", writes Vadala. A RAID also can be used to link hard drives together to create a virtually larger hard drive that is seamless to the operating system and to the users. Some RAID can improve hard disk storage and retrieval speeds by breaking data up into blocks that are written to or retrieved from several drives simultaneously. Some RAIDS, however, cause a reduction in hard disk performance due to the redundancy, which is why it's important to understand hardware configuration with RAID. These possible gains make RAID an inviting feature to implement on busy servers.

Managing RAID on Linux is not very long by computer book standards--about 250 pages. There are only seven chapters, but most are quite hefty and in depth. The first chapter is brief, only ten pages, and it defines many RAID terms. If you're a system administrator, you might try getting your manager to read at least this first chapter, so you can talk the same language when the discussing hardware purchases necessary to build a hard drive array.

A manager who wants to understand more also might read the second chapter. It covers planning a RAID and goes a little deeper into the different types of RAIDs. Vadala provides some excellent straightforward examples of situations in which each RAID would be useful. There's also a section that illustrates the impact hardware makes on a RAID. Performance and dependability of a redundant hard drive system is greatly affected by hardware. I'm not necessarily referring to hardware-based RAID controllers but to types of hard drives, hard drive controllers, PCI bus rating of motherboards and so on. Vadala helps clarify several aspects of hardware related to RAID performance.

Building a RAID

The third and fourth chapters of Managing RAID on Linux deal with the process of constructing a software-based RAID. Vadala says, "There has been a long standing stigma against software RAID. However, software RAID on Linux performs exceptionally and it's reliable. It's comparable to using a decent hardware controller, and better-performing in some cases." In his book, he goes into reconfiguring the Linux kernel for a RAID. This is something most Linux fans cringe at the thought of attempting, but Vadala walks the reader through the process fairly painlessly. He then spells out how to create partitions and format drives for each RAID type. In the fourth chapter Vadala elaborates a little more on kernel options; he likes to hold back at times so as not to overwhelm the reader. As a result, you may want to read the entire book before jumping into installing a RAID on a production server. You may also want to experiment first with an old workstation and some spare parts, too.

Vadala's fifth chapter is dedicated to hardware RAIDs. He covers six popular types of RAID controllers that are offered by five different vendors. These hardware RAIDs are configured and administered by proprietary software. Vadala gives the reader some things to consider when purchasing a hardware RAID. And, he describes aspects of configuring a hardware RAID that are common to all of them. He then covers the details of each vendor RAID.

An aspect of RAIDs that is often overlooked is the value of an appropriate filesystem. In Vadala's sixth chapter he says that for larger, heavily used servers that have either extremely large files or thousands of smaller files, one should consider using a journaling filesystem, such as ext3 or ReiserFS. In this chapter he expounds on the merits of each of these and a few others.

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Book Review: Managing RAID on Linux

Anonymous's picture

Nice and informative review.

I'm running several ltsp-servers for my school, and I've allways wanted to get into RAID, but have never managed to getting around to it, don't know why. With this book I think I'll get around to it, finally.

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState