iPhone 3G is in demand

I’m standing in line with 200 others to get my new iPhone 3G. My plan for just waltzing in and buying one a week after release with no wait was optimistic. I estimate that this store had 200 phones in stock today. I have been regularly checking inventory since the release and I know they have sold out of inventory every single day since release.

install public ssh keys on remote servers

I have SSH access to many hundreds of servers and am regularly needing to log into new systems. My SSH key is available via ssh-agent thanks to the ssh-agent script I wrote. To make good use of ssh-agent, my SSH public key needs to be installed on the remote servers. I have had to do this often so today I polished up a shell script that automates the installation of your ssh key on remote servers. It is now fit for mass consumption.

kill-a-watt

Kill-A-WattI’ve finally bought a Kill-A-Watt. Of course, I’ve been running around plugging stuff into it to see how much juice various items use.

  • 252 W: Halogen Lamp
  • 150 W: iMac 24″ under load
  •  95 W : iMac 24″ at idle
  •  80 W : Home build file server**
  •  50 W : 20″ Apple LCD display (2W sleep)
  •  48 W : 20″ Viewsonic LCD display (1W sleep)
  •  45 W : iMac 24″ at idle, display in “sleep” mode
  •  30 W : Two disk Firewire 800 enclosure
  •  25 W : Lamp with 25W Compact Florescent bulb
  •  24 W : MacBook Pro 15″
  •  05 W : Netgear GS108 8-port Gigabit Switch
** I’m very proud of how little power my file server consumes. I went out of my way to reduce power (and heat dissipation) everywhere I could. Housed in an Antec P180b case is a Core 2 Duo T5500 CPU, Corsair 85% efficient modular power supply, 4GB of RAM, Compact Flash boot disk, 2 Gigabit Ethernet, a pair of mirrored 500GB disks, and a 300GB disk. I clocked down the CPU, reduced fan speeds, run powerd to reduce the CPU speed even more, and used smartd to spin down disks that aren’t in use. 
And that halogen lamp?  It’s gone.

Taming my savage Savage

I grew up surrounded by a million acres of the Huron-Manistee National Forest. Every fall, thousands of hunters would come “up North” to hunt deer in the outdoor paradise that was my back yard. Hunting was a way of life in the world I knew. If opening day of rifle deer season fell on a weekday, schools cancelled classes and businesses closed their doors. At 12, us lads were eligible for Hunters Safety and were out hunting. Continue reading “Taming my savage Savage”

iPhone Wish #3

Dear Steve Jobs,

I am certain you have seen the YouTube videos and countless photos of children and toddlers demonstrating the ingenious simplicity of your iPhone. My two year old daughter loves getting a hold of my iPhone. She unlocks it, launches the Photo app, clicks and few times, and proudly shows us her favorite picture, “Big Daddy!”

My 1 year old isn’t quite so proficient, but also enjoys the iPhone in his own way. It turns out the iPhone is a fantastic toy for entertaining young children. I’m not normally interested in paying hundreds of dollars for a child toy but I have an idea that would certainly increase the sale of iPhones and the iPod Touch: toy mode.

Yes, that’s right. I’m asking for a way to turn my $400 phone into a child toy. The gist of ‘toy mode’ is to allow either of my babies to push buttons, navigate around, see my photos, read my email, and otherwise play. The catch is that in toy mode, they can’t change anything. No deleting Daddy’s email. No changing the minimum font size. No placing phone calls to my colleagues.

Imagine of how many iPhones you will sell when babies are teething on them and toddlers are dropping ’em in toilets because parents feel ‘safe’ letting them play with it unsupervised. The prospects of, or horror, actually having to use our old Palm or Windows Mobile phones will spur us back to the Apple Store.

My PowerBook G4 is was on Craigslist

It’s spring cleaning time. I just posted my PowerBook G4 for sale on Craigslist. Update: it sold already.
I have a few more things I’ll be listing soon:

Airport Extreme Base Station (802.11 b/g) – $50
Griffin iTalk (iPod voice recorder) – $20
iPod Shuffle 1GB + spare battery – $40
iPod Nano 8GB Black – $100
iSight Video Camera (firewire) – $70
23″ HD Cinema Display (plastic bezel) – $450

FreeBSD, Compact Flash, ZFS, and minimum root partition size

The day I booted a FreeBSD system off Compact Flash I was hooked. CF is an extremely robust storage medium with no moving parts. CF cards have emerged completely intact from washing machines, clothes dryers, and impacts that would destroy any spinning disk. After setting up a system to boot from CF, I am confident that henceforth and forevermore, that system will have a functional boot disk.

I’ve stuck CF cards and USB thumb drives into servers in our data centers, our server room at the office, and my server closet. The practice has served me quite well but that is not to say that CF is perfect. Write speed is slow. There is a finite number of write cycles each block can endure. Some CF cards claim DMA support but don’t support it well enough to be useful. Some server boards do not include internal IDE or USB ports. But everywhere else, we use CF.

Because of CF write limits, I always mount the root partition read-only. Files on the / partition are not frequently altered so this rarely causes any inconvenience. We recently built a 6.7 terabyte storage array at work using a HP 320S chassis, a pile of disks, and ZFS. ZFS volumes aren’t bootable in FreeBSD but we had already installed a USB thumb drive as the boot partition.

After working with ZFS, I decided that gmirror was no longer sufficient for my personal file server. It needed ZFS, which meant upgrading to FreeBSD 7. This server has been running off a 256MB CF card for years. The CF card is so old it was actually made in the USA! While upgrading to 7.0 I ran into a snag, the FreeBSD kernel (and modules) now use over 100MB. That means 256MB is no longer enough space for the new kernel and the old one to both fit.

Backing up my Mac

Last September I wrote an article about backing up a Mac. I’ve received several inquiries about how best to back up while using Time Machine.

I find I have two distinct needs for backup. The first is total disk loss. If my system disk fails, I need to get back up and running with a new disk. If that disk is pre-populated with the OS and all my data, then I have an extremely fast and reliable way to recover. I consider this part of my backups absolutely essential and I use SuperDuper for making and updating these disk disks.

Creating a bootable snapshot requires a spare disk. My dual G5 had extra drive bays so it was easy, buy and insert a spare disk. When I switched to the Intel iMac, I connected those same backup disks to the iMac and laptops via my Wiebetech ComboDock. That worked but wasn’t very convenient so I picked up an external dual drive Firewire to SATA enclosure with a spare hot-swap drive tray.

My other backup need is file recovery. If a file is deleted, incremental backups allow recovery from a specific point in time. A bootable snapshot can only help if that particular file existed when the snapshot was taken. Fortunately, the few times when I really needed to recover a file, that was the case.

Time Machine fills a void in my backup regime and works out perfectly with the dual disk enclosure. One disk stays in the enclosure and is my designated Time Machine disk. Time Machine manages incremental backups automatically. I maintain my bootable snapshots using two disks and the other drive bay. Every other month I swap out the snapshot disk and store the eldest offsite.