I wrote a script in attempt to help me learn a little bit about zfs.
Since I don't have an array with a lot of disks, this script uses the poor-man's technique of using files instead of disks. It works the same way as disks would work. We can think of it as using zfs in slow-motion. 
Please comment and modify the script to facilitate learning zfs. Please let me know if it was helpful to you.
Here's the script: zpool-spare-demo

Posted by Mark J Musante on July 05, 2007 at 06:36 PM PDT #
Posted by Craig A. Betts on July 05, 2007 at 07:52 PM PDT #