About This Blog

This podium is likely not to be used frequently, but we have posted a few discussions over the years that appear to have been frequently linked and appreciated. We’ve brought over a few of these to this updated version of our web site, and we’ll continue to comment when lightning strikes.

Blog Posts

New Web Site

At long last, a break in other more pressing projects has allowed us to update this web site, replacing the older one based on OpenACS with a true “eat your own dog food” Ruby on Rails site.

Some things did not survive the transition — notably some of the demos (the Seattle Angina Questionnaire and Q-Assessor) and nearly all of the commentaries. Those of you who recall (or check Google’s cache while it lasts) will know that those commentaries tended to be quite political in nature. We haven’t substantively changed our views on things; we’ve just decided not to be so public about them.

Instead, what posts will occur in this space will focus on technical issues. The process of moving to Rails has provided many topics worthy of comment, though most have been covered before and more definitively elsewhere. Some thoughts may show up here anyway.

...Read more

RAID1 on Debian Sarge Redux - SATA drives and 2.6.x kernel

In an earlier discussion, we described how to install RAID1 on a by-now older Debian Sarge box using a 2.4.x kernel and IDE drives. While the basic approach remains similar, we ran into issues installing on a new “9G” Dell box (SC440) which has SATA drives and the Intel ICH7 controller. Here is a step-by-step summary of how we got this to work.

The discussions by philcore here and here (along with reader comments) are probably the most useful information, and ultimately helped guide this approach. Lots of other discussions can be found by Googling on various combinations of “raid1”, “sata”, “sarge”, “grub”, “initrd”, etc — but most of those discussions are somewhat out-of-date.

NB: supposedly the current Sarge installer can create RAIDs for you, but this was not at all apparent to me, and when I tried to use the installer tool to “configure RAID” with a half-completed install, it blew up most spectacularly. This doesn’t seem ready for prime-time yet.

So here’s one approach that worked on this particular box.

...Read more

RAID1 on Debian Sarge

A RAID device is a Redundant Array of Independent Disks. The concept was developed in 1987 at UC Berkeley and involves the creation of a virtual disk from multiple small disks in order to deliver improved performance and reliability. There are many flavors of RAID and lots of variations in how to implement it. We detail here a specific instance we use: software RAID1 using IDE disks on a Dell PowerEdge box running Debian “sarge” loaded with grub, managed by mdadm, using the ext3 journaling file system.

Overview

First, a list of references. None of these use exactly the combination of choices we use, but they provide all the pieces of information that are necessary:

  • The basic Software RAID HOWTO at the Linux Documentation Project. This provides general background information about the concepts and tools.
  • Philip McMahon’s guide to using the bootloader grub, which Debian now uses by default instead of lilo. Philip provides more explicit instructions about how to handle multiple partitions, but he doesn’t use mdadm. Instead, he uses the older configuration management tool raidtools.
  • A detailed document usr/share/doc/mdadm/rootraiddoc.97.html installed with the mdadm package. These instructions rely mostly on lilo but do have some comments about grub albeit in the context of using initrd as part of the boot process, which the latest sarge install doesn’t do. Nevertheless, these instructions are primarily what we use here.
  • This brief comment highlights installing grub on the second disk and makes clear how to generate a mdadm config file in /etc/mdadm.

So here is the process to convert an existing (or new) Debian box to software RAID1:

...Read more