e8vww wrote:How will I receive notification of a failed drive with a mirrored raid (is there a way to have desktop notifications)?
The daemon 'zed' (ZFS Event Daemon) gets the notifications from the kernel regarding everything ZFS. 'Zed' will then execute shell scripts based on the notification type, for example it ships with a few scripts like "zpool.import.sh" which is run at import time, and contains code like:
- Code: Select all
# OS X notification script.
function notify {
sudo -u "$(stat -f '%Su' /dev/console)" /usr/bin/osascript -e 'display notification "'"$1"'" with title "'"$2"'"'
}
notify "Pool ${ZEVENT_POOL} ${cmd}ed." "Pool ${cmd}"
To attempt to do a Desktop notification. I do not remember if it still works though, since Apple tends to change how things work.
But it is meant to be a framework for you to do whatever you want. Have the script send you an email, or SMS, or anything. Some of these scripts are from Linux and won't run directly out of the box, but provided as a template. It would be nice if the zedlets were customised for OSX.
e8vww wrote:Has raid expandability been fully implemented? (I've only seen a twitter post about it so far)
No, it is coming, but not here yet. But that specifically talks about the situation where you want to go from a 4 disk raidz vdev to a 5 disk raidz vdev. (Or similar, changing the number of drives in a vdev). You can already expand your pool by expanding each disk in the vdev one-at-a-time, or, adding another whole vdev. (You can add another 4 disk raidz vdev, to an existing 4 disk raidz vdev).
e8vww wrote:Is there anything I need to be aware of before mass migration, ie will the drives function in the same plug and play manner?
Apple takes care of everything up to "diskutil list", so everything is the same in that sense. ZFS uses the disks as presented by the OS.
e8vww wrote:Will the drives appear the same to someone viewing them over the network?
You can export the ZFS datasets over the network, either by yourself, or by setting "zfs set sharenfs=... dataset" (or sharesmb / shareafp) The raw disks are not shared over the network individually, ZFS bundle them together to be one large-pool-of-storage that you divide up however you like, and export as needed.
e8vww wrote:Edit: Is booting from a ZFS drive ready for regular users?
Not really. ZVOL hfs boot is being used by a few devs, but it is a bit fiddly to setup and boot.