this is obsolete doc -- see http://doc.nethence.com/ instead
Playing with ZFS
Creating a ZFS pool & filesystem
Identify disk to create the filesystem on,
format
^C
Eventually wipe out the label and partitions,
#dd if=/dev/zero of=/dev/rdsk/c2t1d0p0 bs=1024k count=1
Create the ZFS pool, the ZFS filesystem and setup the mount point,
zpool create local1 c2t1d0
zfs create local1/foldername
zfs list -r local1
zfs set mountpoint=/opt/foldername local1/foldername
check,
zfs get mountpoint local1/foldername
zfs get mounted local1/foldername
zfs mount
#zfs mount -a
df -h