Enabling Error Recovery Control in RAID Drives

Consumer hard drives typically make many attempts to read a bad sector, causing hangs in RAID arrays. A quick way to solve the issue without having to buy more expensive "RAID-compatible" drives is to enable error recovery control, setting a time limit on the retries. Some drives support this; others do not. What follows is a simple one-liner that, when added to the system crontab, sets error recovery control to 7 seconds in all the drives in the array that support ERC.

Adobe Lightroom Keyword Library for Birds

The International Ornithologist’s Union produces and regularly updates a taxonomy of world birds and recommended English names. This list is provided in several different formats, including XML. Since XML is easy to transform into different file formats, I have produced a keyword list for lightroom with all the birds of the world, by order and family. And, for those preferring a listing by family only, I generated that too.

AT&T IPv6 with a non-AT&T router

AT&T doesn’t provide much support for people using their own equipment, leaving it up to us to figure out configuration issues.

They now support IPv6. The following instructions for an ASUS router (most use the same software) are derived from the information at: IPv6 compatibility for IFITL page hosted by AT&T. My setup uses DSL, not IFITL, and is across the country from the area referred to in AT&T, so I suspect this works throughout the AT&T network.

Bash script for updating Drupal Core

Updating Drupal core always makes me a bit nervous, as it involves ripping out the old version and inserting a new. Not having access to Drush, I decided to make a shell script that would automate the steps, eliminating the usual risk of human error. The following is the script. It’s heavily commented, so I’ll keep extra remarks to a minimum.

The script takes one argument, the full URL of the new Drupal version (e.g., http://ftp.Drupal.org/files/projects/Drupal-7.19.tar.gz). Line 20 in the script is the only one that needs editing to match your installation.

Pages

Subscribe to The Jaffes RSS