On GameSpot: Black Wii Remote, Nunchuk hit US Nov. 16
BNET Business Network:
BNET
TechRepublic
ZDNet

April 15th, 2007

Apple's new kick-butt file system

Posted by Robin Harris @ 10:26 pm

Categories: Software

Tags: Apple Computer Inc., Apple Macintosh, Disk, File System, Storage, HDTV, RAID, Apple, Robin Harris

As a long time fan of Apple - I bought an Apple // in 1978 - I watch Apple’s storage efforts with special interest. The least talked about addition to the next version of Mac OS X, Leopard, is notable. Especially since Microsoft’s WinFS bit the dust.

Apple is doing something really cool with storage - not to discount their laudable RAID product - and that something is called ZFS. The bright side of the Leopard slip: more time to integrate ZFS is a Good Thing.

ZFS = non-acronym
ZFS is a very cool - and open source - file system that some smart guys at Sun built. Its tree structured checksums eliminates most of the bit rot that afflicts Macs and PCs. When ZFS retrieves your data, you can be sure it is your data, and not the misbegotten spawn of a driver burp.

Add a disk drive to ZFS and it simply joins the pool of blocks available for storage. You don’t have to manage another disk.

It is cheaper for ZFS to do a snapshot copy than it is to overwrite your data. While Time Machine doesn’t require ZFS - journaling HFS+ can do it, ZFS would make it easier and perform better.

Here’s some more cool stuff

Here are the highlights of some of the changes you’d see with ZFS on Leopard, the next version of the Mac OS.

No more Disk Warrior
Data corruption on PCs and Macs is a sad and stupid fact of life. Power failures, flaky RAM, poor grounding, (slowly) failing hard drives, driver glitches, phantom writes and more conspire to rot your data.

ZFS eliminates that. All blocks are checksummed and the checksum is stored in a parent block. ZFS always knows if the block is correct and/or corrupt. Every block has a parent block (with one obvious exception that gets special treatment), so the entire data store is self-validating. You’ll never have to wonder if all your data is correct again. It is.

No RAID cards or controllers
ZFS implements very fast RAID that fixes the performance knock-off against software RAID. In ZFS all writes are the fastest kind: full stripe writes. And the RAID is running on the fastest processor in your system (your Mac), rather than some 3-5 year old microcontroller.

Just add drives to your system and you have a fast RAID system. With Serial Attach SCSI and SATA drives you’ll pay for the drives (cheap and getting cheaper), cables and enclosures.

No more volumes
Every time you add a disk to your Mac you see another disk icon on the desktop. If you want to RAID some disks you use Disk Utility (or something) to create the volume. Slow, error-prone, confusing.

ZFS eliminates the whole volume concept. Add a disk or five to your system and it joins your storage pool. More capacity. Not more management.

Backup made easy
ZFS does something called snapshot copy, which creates a copy of all your data at whatever point in time you want. Copy the snapshot up to a disk, tape or NAS box and you are backed up.

Create a snapshot on every write if you want, so if your database barfs you can go back to just before it choked.

But that’s not all!
For in-depth treatment of ZFS see here and here. Includes links to more technical info and benchmarks.

Why does Apple care?
After all, journaled HFS+ isn’t perfect, but it is competitive with NTFS and the other common filesystems out there. My original thought was “here is this great free product so why wouldn’t you use it.”

Well, as others have noted, while plugging in a new file system isn’t that hard, it does take investment, such as migration, and creating the front ends for all the cool things you can do with ZFS. Steve may not care much about plumbing but he is all over user experience. Migration in particular is difficult for home users who don’t have empty external hard drives.

Now we know
The motive is clear: HDTV content to feed Apple TV. How does this impact storage?

Video downloads: big and getting bigger!
Here’s how. Imagine you’ve built the world’s largest and most successful online music store and sold billions of dollars of hardware to play that music. Each of those tracks cost $0.99 and is 3-5 MB each. People can easily back them up and even if they have a few hundred, it is maybe a GB or two. Easy to back up on a few CDs or DVDs. And they are on your iPod anyway. So HFS+ burps on your music and other than yelling at an underpaid Apple tech support guy, what are you going to do? If it wasn’t backed up, whose fault is that?

Enter the terabyte media collection
Now you want to build the world’s largest and most successful online video store, with DVD and HDTV quality content. You are a little ahead of the market, but that usually works out. You want people to buy movies as freely as they now do tracks. Yet there is the scale problem: movie files are 1000x the size of audio or photo files. Not only that, the studios don’t want you to back them up to DVD or anything else.

“Halfway through T3 the hard drive started clicking?”
iTunes music is automatically backed up if you have an iPod. Movies aren’t. Movies are large - 1 to 2 GB today - and much larger with HDTV and DTS sound. If you want people to store and play movies digitally, both purchased and home video, they need safety and capacity. No disk tools. No RAID set-up. No volume management. Suddenly storage quality and ease of use becomes a critical success factor for a new billion dollar business.

ZFS is the answer
Steve Jobs has two questions. First, how can I sell more online content and equipment to play it? Second, how can I kick Microsoft’s butt? By solving the high-capacity storage problem for HDTV content way better than Microsoft can, he’s got a great answer to both questions. He’ll never utter “ZFS” to a starstruck MacWorld audience. But he will wheel out a half dozen features, like Time Machine, based on ZFS, that will instantly become must-haves for the home digital media center.

Apple Computer had the means, ZFS; motive, a big market; and opportunity to murder the Media PC.

I expect they’ll introduce the way they did HFS+: on OS X server. After they’re confident, it will be the default file system. And the folks in Redmond will be scratching their heads once more..

Comments Welcome, As Always I’m off to NAB and SNW this week, so look for updates on cool new stuff.

Robin HarrisRobin Harris has been messing with computers for over 30 years and selling and marketing data storage for over 20 in companies large and small. See his full profile and disclosure of his industry affiliations.


Email Robin Harris

Subscribe to Storage Bits via Email alerts or RSS.

  • Talkback
  • Most Recent of 94 Talkback(s)
Too many personal ranting spoil technology blogs
I read ZDNET blogs because I am interested in technology. I have been involved with computers since 1963 and the progression has always been exciting, it still is but this blog has become so overwhelm... (Read the rest)
Posted by: GreyTech Posted on: 08/10/07 You are currently: a Guest | | Terms of Use
To play on what?  Mectron | 04/15/07
Do you have an Apple TV? The AP report is flawed...  KrioniTWF | 04/16/07
"Yawn"  Laff | 04/16/07
Apple, once again, shows off its 'smarts'  YinToYourYang-22527499 | 04/16/07
A few notes  robert@... | 04/16/07
You raise some good points  R HarrisZDNet Moderator | 04/16/07
I'm still skeptical, but interested  DevGuy_z | 04/16/07
This occured to me...  ivanotter | 06/14/07
Chalk up yet another feature for Leopard  xuniL_z | 04/16/07
Well you don't see Microsoft doing the same...  voska | 04/16/07
Please don't think that WinFS  xuniL_z | 04/16/07
I don't know why...  Rick_K | 04/16/07
Could it be cause  xuniL_z | 04/16/07
Ummm No  Rick_K | 04/16/07
Rick...  xuniL_z | 04/16/07
re: WinFS is dead.  Arm A. Geddon | 04/16/07
You REALLY don't want people to start picking apart Windows, do you?  BitTwiddler | 04/16/07
I get it.  xuniL_z | 04/16/07
I knew you couldn't resist...  MacCanuck | 04/16/07
I knew you couldn't resist  xuniL_z | 04/16/07
Wow  Rick_K | 04/16/07
Unlike you ....  ShadeTree | 04/16/07
You are sadly mistaken...  Rick_K | 04/17/07
This is great news.  xuniL_z | 04/17/07
Must have hit a nerve  MacCanuck | 04/16/07
you sure did hit a nerve....  xuniL_z | 04/17/07
"serendipitous"... your word of the month?  MacCanuck | 04/18/07
I'm glad I could contribute to your vocabulary.  xuniL_z | 04/18/07
xunil_Z...  zkiwi | 04/18/07
ZWeaki , if you are going to address me  xuniL_z | 04/19/07
xuniL_Z 1 - Thank you for proving  MacCanuck | 04/19/07
xuniL_Z 2  MacCanuck | 04/19/07
Immediately starts out hostile and defiant  xuniL_z | 04/19/07
and then comes back to lay on some more.  xuniL_z | 04/19/07
Looks like MacCanuck....  xuniL_z | 04/20/07
Well EXCUSE ME....  MacCanuck | 04/20/07
SORRY Man.  xuniL_z | 04/21/07
I wish I could use it  CobraA1 | 04/16/07
RAID Controller failure  Badgered | 04/16/07
If a hardware RAID controller fails ...  ShadeTree | 04/16/07
I realize  Badgered | 04/16/07
ZFS Protection  fde101 | 04/17/07
Well, *most* other file systems can't  - bill | 04/17/07
How do I know Apple is using ZFS?  R HarrisZDNet Moderator | 04/21/07
Why would you want the CPU to do the work?!  Stuka | 04/16/07
Doal-core processors  muzhik | 04/16/07
Not True  Stuka | 04/16/07
Possibly  Rick_K | 04/16/07
Myths and out right lies.  ShadeTree | 04/16/07
Really.  xuniL_z | 04/17/07
I agree... trend is to dedicate specialized chips for the task...  MV_z | 04/17/07
No, it's an upside  R HarrisZDNet Moderator | 04/19/07
Apple, once again, shows off its 'smarts'  YinToYourYang-22527499 | 04/16/07
Author is misinformed  ShadeTree | 04/16/07
Say, what?  - bill | 04/16/07
So you've been caught again?  MacCanuck | 04/17/07
You only got a couple things wrong yourself  ShadeTree | 04/17/07
Hmmm - it appears that I was insufficiently clear  - bill | 04/17/07
What is sufficiently clear is you contradict ...  ShadeTree | 04/18/07
Just because I'm too lazy  zkiwi | 04/18/07
Sure  ShadeTree | 04/19/07
Oh please keep going  xuniL_z | 04/19/07
Thank you, bill  Dave Mount | 05/16/07
Hmmmm,,,  cashaww | 04/19/07
Who's claiming it's an Apple-only technology  MacCanuck | 04/19/07
Talk about a "classic"  xuniL_z | 04/17/07
Sorry, you don't know what you are talking about.  R HarrisZDNet Moderator | 04/18/07
Bad grammar  zdbam | 05/02/07
Apple is taking a step backward.  xuniL_z | 04/17/07
Did the author miss the whole history of ZFS?  Scrat | 04/17/07
Well...  zkiwi | 04/17/07
I think you miss my point zkiwi  Scrat | 04/18/07
Fair enough  zkiwi | 04/18/07
Great idea.  xuniL_z | 04/18/07
If you were more  zkiwi | 04/18/07
Speaking of idiots.  xuniL_z | 04/19/07
Of all the ironies...  MacCanuck | 04/19/07
Apple also don't have it working as a bootable system  Scrat | 04/19/07
Ok  zkiwi | 04/19/07
RAID is for data protection  j.m.galvin | 04/19/07
Article clearly stated that Sun made it  j.m.galvin | 04/18/07
I was clearly referring to the choice of title (NT)  Scrat | 04/19/07
Okay..  cashaww | 04/19/07
Okay..  Scrat | 04/19/07
And...  cashaww | 04/19/07
Apple's Innovation  frgough | 04/19/07
backward compatibility  5ri | 04/21/07
LOL  IanX | 04/23/07
Reading the story...  AmraLeo | 04/24/07
I know very little about Apple...  interested_amateur@... | 04/24/07
Not news...but maybe  vsmith1@... | 04/25/07
Then it goes to show...  mctroyd | 08/09/07
Tecnology is exciting  GreyTech | 08/10/07
Too many personal ranting spoil technology blogs  GreyTech | 08/10/07

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

Enterprise Applications

  • Check out some of the easiest and most powerful ways to boost productivity while saving money on your application infrastructure. See ZDNet's comprehensive Enterprise Application resource center, now!
  • New Online Dashboard
  • Read about top issues IT decision-makers face every day, plus get cost effective solutions to real life IT problems. Oracle Topline