Some common scripts I use for ZFS (based on FreeBSD)