Peter Baer Galvin's Blog Rotating Header Image

ZFS (and other Solaris File Systems) Tutorial Available On-Line

I’ve been teaching Solaris tutorials for many years, mostly for USENIX. One of those tutorials is about Solaris file systems, mostly ZFS of course. Addison Wesley approached me about recording that one as a “Live Lesson” – one of a series of on-line tutorials they publish.

I’m very pleased that my Solaris File Systems Live Lesson is now available for purchase from InformIT (http://www.informit.com/store/product.aspx?isbn=0321753003) and also at the O’Reilly Safari Books Online facility  (http://my.safaribooksonline.com/video/-/9780321718372) where it can be viewed and purchased in small chunks or in its >4 hours full glory! The tutorial features discussion of which file system to use in which scenarios, and spends most of its time going through ZFS theory, implementation details, hands-on demonstrations, and best practice exploration.

BYTE is Back!

Happy to say that BYTE is back.  In my formative years, BYTE magazine was the seminal pro-sumer technology magazine.  I even had an article published in there, back in the day.  BYTE is now back as an on-line resource, and I think it’s quite good. Of course I’m biased as I’m a Senior Contributor at the new BYTE, covering topics from Apple through enterprise computing.  My first post there is now live, hopefully with more to follow in short order.  Have a look: http://www.informationweek.com/byte/commentary/personal-tech/desktop-os/231002872

 

Operating System History Infographic

I don’t agree with all of it, but it’s interesting and informative!

http://www.makeuseof.com/tag/history-operating-systems-infographic/

Latest Columns – Comparing Solaris, RHEL, and AIX

The December 2010 and February 2011 columns for ;login: are now out. This two-parter compares Solaris, RHEL, and AIX. Probably controversial! Feedback welcome.

Have a look:
December 2010 ;login: Magazine: Comparing Solaris, RHEL, and AIX Part 1.
February 2011 ;login: Magazine: Comparing Solaris, RHEL, and AIX Part 2 – virtualization.

New Columns

It looks like I’ve been remiss in posting my ;login: magazine columns here. Sorry about that!

April 2010 ;login: Magazine: Open source and free deduplication.

June 2010 ;login: Magazine: The Exadata V2 architecture and why it matters.

August 2010 ;login: Magazine: The status of Sun products.

October 2010 ;login: Magazine: The “problem” with NAS.

The December column is the first of a two-parter that compares Solaris, RHEL, and AIX. I’ll try to have it available here as soon as it is published.

As always I encourage you to become a member of Usenix, thereby gaining access to all of the content of ;login: (along with many other great benefits).

Mac EMR Software | A Guide to Medical Software for Apple Computers

Here’s a nice article on medical software available on the Mac:

Mac EMR Software | A Guide to Medical Software for Apple Computers.

How I set up a new Mac | Mac OS X | Macworld

How I set up a new Mac | Mac OS X | Macworld.

Videos into the iPad

Really liking the iPad so far. it’s a perfect fit between a cellphone and a laptop (but not replacing either). One annoyance is that it’s a bit of a chore to get some videos into the ipad. For example, I use Aperture to manage my photos and home movies, and Aperture sync to the iPad works very well. But movies in the photo albums that I want to sync to the iPad don’t show up because the are .mov files and the iPad doesn’t play those.

So I have to go through a couple of extra steps. These steps work for DVD’s ripped to my computer to. Start with any video file, and use Handbrake (http://handbrake.fr/) to reformat the videos. Note that Handbrake is really free, and not just a free download with a required payment as with many other solutions to this problem.

Within Handbrake I’ve created a set of settings that work with the iPad, and stored those into a preset. So if I want to format a video for my iPhone I can select that preset, and likewise for the iPad. The settings are on the web but if you can’t track them down get in touch and I’ll send you the details.

Except for the annoyance of the extra couple of steps, this works very well and I get very high res video into my iPad.

Column – OpenSolaris Crossbow

Project Crossbow is an innovate, and I think important, new contribution to the OpenSolaris project. Crossbow makes network virtualization and resource management first-class citizens in OpenSolaris. If follows in the footsteps of ZFS by having a simple and easy-to-understand interface, while providing great flexibility and power to the administrator. Crossbow can only be found in OpenSolaris, and is not available in Solaris 10. My February column for ;login: Magazine describes and explores Project Crossbow in detail. You can download it here, but as always I encourage you to become a member of Usenix, thereby gaining access to all of the content of ;login: (along with many other great benefits).
3

Recovering from a deleted Mac OS X RAID group

Well, it’s been a while since I blogged here. Mostly I’m posting at twitter, and “officially” blogging at my company’s site – ctistrategy.com.

Still though there are things that don’t fit in twitter and aren’t appropriate for my company site, and I should talk about them here… and I will.

This time I want to describe a nightmare I had (unfortunately not while sleeping) and the solution.

On my Mac Pro, I accidentally deleted an important RAID set. I actually have multiple RAID sets. I have a “production” one and a “backup” one, as well as an off-site one in case of disaster. I just do RAID-0 (striping) for performance, figuring with the multiple copies I can recovery (almost) all of the files I need. I keep the production and backup disks synchronized via a great program called “superflexiblesynchonizer”. I’ve tried many and this one actually works.

Further, the important day-to-day stuff I work on is stored in a separate, encrypted, disk image. This Mac feature is very nice. Using “disk utility”, you can create an encrypted disk image. Mount that image up and give a password to use (and create) files there. Then unmount it when done returning the files to their encrypted container. I synchronize that file’s contents to my MacBook Pro. So essentially I have 4 copies of my most important content, and three copies of the other content (photos, music, movies, etc). That certainly seems like a nice safe way to store my files… Except that the off-site copy is frequently multiple months out of date. And when I need to expand the storage in my Mac Pro, I usually have to delete a RAID set, rebuild it on bigger disks, and recopy the data – leaving me a bit vulnerable (or at least leaving my data vulnerable :-) during those procedures.

Well, I did such a rebuild, but during the procedure somehow deleted my backup RAID group and my primary one. Fortunately I had my off-site still but I had lots of photos, songs, etc, not stored in that off-site. There is no official way to recover a deleted RAID set on the Mac. I called Apple support and they essentially said “you are out of luck”. I did more research and found some expensive services that would accept shipment of the disks in question, muck with them for an indeterminate amount of time, and return them, either fixed or broken (expensive charge incurred regardless).

Finally I found a forum where someone mentioned that a company called SoftRAID might be able to solve the problem. SoftRAID makes RAID software (essentially a better version of software RAID to replace using the RAID built into the Mac and usable via “disk utility”). But in doing that their software also can convert Apple software RAID to their RAID structures, so they know how Apple RAID works. Low and behold, after a few exchanges of email and configuration files, they sent me some blocks to write over my deleted RAID disks, recreating the RAID structures there. I happily paid them their modest fee (which included a license for their software) and now I’m very happily running their RAID software with my recovered RAID sets. Phew! Very glad I found them and they did a great job getting my RAID set back. Now not to delete anything ever again!