Mirroring provides the best performance if balanced between two arrays and handles hardware failure well.
zpool create POOL mirror c1t0d0 c2t96d0 mirror c1t1d0 c2t97d0 zpool add POOL mirror c1t2d0 c2t98d0 zpool add POOL spare c1t22d0 c2t118d0
Raidz provides maximum disk size with only a little protection from disk failure (for slightly better protection try raidz2).
zpool create POOL raidz c0t8d0 c0t9d0 c0t10d0 c0t11d0 c0t12d0
Check data on disks and automatically recover if necessary (on mirror or raidz pools):
zpool scrub POOL
Check the status of disks with:
zpool status -v
Check properties for a pool:
zfs get all
Set properties for a pool:
zfs set atime=off POOL
Share ZFS filesystem over NFS.
zfs set sharenfs="rw=@192.168.1.0/24,root=192.168.1.0/24" POOL zfs share POOL zfs unshare POOL