Bringing up ZFS on my Ferrari

As I mentioned, I wanted to check out ZFS now that it’s finally available in the latest Solaris build. My plan was simple: to upgrade my Ferrari to Nevada B27 and then “blow away the Ubuntu partition and create a couple of 10GB partitions” to test ZFS. Well, it wasn’t quite that simple.

On Monday I borrowed a B27 DVD from a colleague and upgraded my Solaris partition. This went just fine, although I did run into a fiddly little xscreensaver bug that meant I had to snarf the B28a version of the Xorg bits. Never mind: I was now ready to repurpose that 20GB Ubuntu partition. But how? Solaris format/fdisk wouldn’t touch it. I booted up a Ubuntu LiveCD and used Linux fdisk: this let me change the type code to 0xbf, which is Solaris2, but Solaris still wouldn’t see it.

It turns out that Solaris only recognizes one primary Solaris partition on a drive; you can’t have more. So on Tuesday I rebooted the Ubuntu LiveCD and used fdisk to delete both the Solaris and Linux partitions (leaving WinXP untouched). I then created a new partition, and reinstalled Solaris from scratch; I sliced up the partition as 20GB root, 1GB swap, two 10GB slices for ZFS, and the rest in /export/home. Of course I now had to customize the system the way I like it, so I downloaded a ton of stuff, went home, and got things working during the commercial breaks while watching House.

Finally this morning I was ready to test ZFS:

zpool create -f test c1d0s5 [the -f flag because the Solaris installation had put a UFS filesystem on the slice]
zfs create test/tfs
cd /test/tfs

and start playing….

Verdict: if you want to experiment with ZFS, it’s a lot easier on a desktop machine where you can simply plug in another disk. You can use a laptop, but the chances that your disk layout will be appropriate are pretty slim; you should be prepared to repartition your disk and reinstall. Once you do, it all just works – kudos to Jeff and the team.

OK, next step is to try mirroring:

zpool create mtest mirror c1d0s5 c1d0s6
zfs create mtest/tfs
cd /mtest/tfs

Penn Jillette: this i believe

Here’s Penn Jillette’s contribution to the NPR series this i believe. Forget about the subtle distinctions between positve atheism, negative atheism, agnosticism, and so forth: Penn just cuts to the chase. “I believe there is no God.” He expresses my belief exactly, but more wittily and with a bigger audience 😉 Key quote:

Believing there’s no God stops me from being solipsistic. I can read ideas from all different people from all different cultures. Without God, we can agree on reality, and I can keep learning where I’m wrong. We can all keep adjusting, so we can really communicate. I don’t travel in circles where people say, ‘I have faith, I believe this in my heart and nothing you can say or do can shake my faith.’ That’s just a long-winded religious way to say, ‘shut up,’ or another two words that the FCC likes less. But all obscenity is less insulting than, ‘How I was brought up and my imaginary friend means more to me than anything you can ever say or do.’ So, believing there is no God lets me be proven wrong and that’s always fun. It means I’m learning something.

(Via Susan.)

Photo gallery

I’ve just started populating my photo gallery on grommit.com. (Thanks, Steve!) I’m beginning with three albums: my Sunday tour of Hyderabad, gliding in Boulder, and stunning pieces from an exhibition at the Harvard Museum of Natural History.

The permalink to my gallery can be found on the right, in The Basics section at the top of the sidebar.

[Steve: Any idea why a few of the thumbnails show up as “broken image” icons? I’ve used Gallery Remote, but I don’t have Image Magick installed.]

Talking and surfing

Before heading out on my last trip to Colorado, I (finally!) replaced our old LinkSys 802.11b router with a Belkin Wireless G Plus. Both laptops (my PB and Merry’s iBook) were G-capable, so I only had one desktop PC (USB) adapter to replace. I futzed around with WPA but couldn’t get it just the way I wanted it, so I stuck with WEP. The bottom line: things are much more stable, and we can now use the cordless phone or the microwave oven without disrupting the WiFi.

What the hell is "philosophical guidance"?

From CNN.com: “A former top State Department official said Sunday that Vice President Dick Cheney provided the ‘philosophical guidance’ and ‘flexibility’ that led to the torture of detainees in U.S. facilities.Retired U.S. Army Col. Larry Wilkerson, who served as former Secretary of State Colin Powell’s chief of staff, told CNN that the practice of torture may be continuing in U.S.-run facilities.‘There’s no question in my mind that we did. There’s no question in my mind that we may be still doing it,’ Wilkerson said on CNN’s ‘Late Edition. ‘There’s no question in my mind where the philosophical guidance and the flexibility in order to do so originated — in the vice president of the United States’ office,’ he said. ‘His implementer in this case was [Defense Secretary] Donald Rumsfeld and the Defense Department.’

So what exactly is the process for impeaching the Vice President?

Geeks ranking stuff

First we have Alec reporting on the Top 20 geek novels from blogs.guardian.co.uk. I hope the fact that Alec hasn’t read Consider Phlebas doesn’t mean that he’s ignorant of Iain M. Banks’ work.

Meanwhile, over at Slashdot the usual crowd is debating the merits of Space.com’s best space movies poll. Like many Slashdotters, I find the concentration on the various Star Trek and Star Wars films is (a) inevitable in today’s ADD world, and (b) really sad. If I could add one film to the list, it would be Silent Running, one of the most haunting movies ever made. (I also really enjoyed Serenity; it’s a shame that it flopped so badly.)

What we need now is a “top space TV shows with no Star Trek connection” poll. Just think of it: Blake’s 7, Space 1999, and more recently Firefly. Of course the top of the list will be Red Dwarf….

Assuming I can free up a few hours on Monday…

Like most of us in Sun, I’ve been waiting for ZFS to arrive. Now it has. So on Monday I plan to update my Acer Ferrari 3400 laptop to Nevada build 27. Right now it’s set up to triple-boot Nevada (50GB), Ubuntu Linux (20GB), and WinXP (10GB). I’m going to blow away the Ubuntu partition and create a couple of 10GB partitions which I hope will be sufficient to let ZFS show its paces. (However if anyone has a tried-and-tested laptop configuration for demoing ZFS, I’d welcome a link. No point in reinventing things.)

Krauthammer on the stupidity of ID

Charles Krauthammer had an excellent piece in the Washington Post, entitled Phony Theory, False Conflict, on the farce of intelligent design. Money quote: “The school board thinks it is indicting evolution by branding it an ‘unguided process’ with no ‘discernible direction or goal.’ This is as ridiculous as indicting Newtonian mechanics for positing an ‘unguided process’ by which Earth is pulled around the sun every year without discernible purpose. What is chemistry if not an ‘unguided process’ of molecular interactions without ‘purpose’?”

As I’ve always said, creationists and ID’ers aren’t simply attacking evolution. They may not realize it (since they seem to have difficulty with logic), but they are taking on all of science – evolution, biology, chemistry, physics, geology, astrophysics, mechanics…. And ironically, by turning their backs on science they are rejecting the principles that underpin the technologies (radio, TV, computer networks) that they use to spread their ignorant blather.

Now I know that I’m not “supposed” to belittle these people. I’m supposed to treat their (presumably genuine) religious beliefs with respect. (Next thing you know, someone will hail their views as a “different way of knowing” – ugh!) But they are ignorant, in much the same way that a witchdoctor is ignorant of antibiotics and by-pass surgery. As a species, we have collectively learned important things about the world, and in many cases this knowledge has superseded earlier beliefs. For example, anyone who still thinks that epilepsy is caused by demonic possession is, quite simply, ignorant, and we expect that a parent who uses physical force to “drive out the demon” in their epileptic child will be arrested for child abuse. To fail to call the believers in creationism what they are – ignorant – is either patronizing or hypocritical.

(Via Sully.)

Churchill's verdict on Bush and Blair

In a recent article in the Sunday Times, Andrew Sullivan contrasts the values of Bush-and-Blair with those of their frequently-cited* hero, Winston Churchill:

In a telegram on November 21, 1943, Winston Churchill defined a fundamental difference between the Anglo-American way of war and that of our enemies. Churchill wrote: ‘The power of the Executive to cast a man into prison without formulating any charge known to the law, and particularly to deny him the judgement of his peers, is in the highest degree odious and is the foundation of all totalitarian government whether Nazi or Communist.’

Perhaps Tony Blair and George W. Bush regard Winston Churchill as a bleeding heart lefty. But what Churchill’s view represents is an old, very basic principle of Anglo-American warfare and justice: fight war with ferocity, but never lose your democratic soul.

Yes indeed. And Bush-and-Blair’s betrayal of this principle is one of the most tragic aspects of this whole sorry affair. It is depressing to think how easily a demagogue (or a puppet) can push a democratic nation towards totalitarianism….


*For example, “Sometimes Churchill will talk back, sometimes he won’t, depending upon the stress of the moment, but he is a constant reminder of what a great leader is like.” — Dubya’s assessment of Winston Churchill, who has been deceased for 35 years. Washington, DC, July 16, 2001