[an error occurred while processing this directive]


A filesystem called ZFS was introduced in Solaris 10.
It goes to great lengths to be fast and reliable. Very reliable.
Hey kids, try this at home...

Step 1

There's a pile of hard drives in my kitchen, living in an old DEC "shelf".
This array is plugged into an Ultra 5 running build 39 of Solaris Express.

Step 2
ZFS uses the concept of "storage pools" called zpools.
This array forms a zpool called poolpoolpool (10 points if you get the name).
RAID-Z provides redundancy and all 7 disks are happy...

Step 3
I've created a filesystem called media which is attached at /export/media.
There's a video file on that filesystem.

Step 4
Thanks to NFS, I'm playing that video on my computer.
What happens if I do --

Step 5
YOINK --this?

Step 6

ohnoes

Step 7

HAH.
c1t3d0 UNAVAIL - Gee, I wonder why that could be?
Now, certain software RAID implementations would've just crapped themselves - they expect disks to disappear with the power off.

Step 8
ZFS says: Attach the missing device and online it using 'zpool online'.
Screw that, let's finish the episode first.

Step 9

One zpool online later...
This doesn't even show off how well ZFS protects data integrity - I could've written trash to the hard drive while it was plugged in, for that matter.
Go watch the real ZFS demo.

> software
> zfs-demo