Notes on ZFS quotas, reservations and others.. like adding up disk for the pool and creating pool altogether.
First, create a pool using ‘zpool‘. Then use ‘zfs‘ to make the filesystems.
Creating Pool with zpool
Create a pool called pool1. The -m is optional. If given, it specifies a mount point for zfs filesystems created from the specified pool. The mount point should be empty or nonexistant. If the -m argument is omitted, mount point is “/”.
# zpool create -m /export/data01 ALB mirror c2t0d0 c4t0d0
# zpool status
pool: pool1
state: ONLINE
scrub: none requested
config:NAME STATE READ WRITE CKSUM
pool1 ONLINE 0 0 0
mirror ONLINE 0 0 0
c2t0d0 ONLINE 0 0 0
c4t0d0 ONLINE 0 0 0
http://www.mattzone.com/site/index.php?name=News&file=article&sid=3
http://dlc.sun.com/osol/docs/content/ZFSADMIN/gazvb.html
http://prefetch.net/blog/index.php/2006/12/26/adding-disks-to-zfs-pools/
Creating ZFS filesystem from Pool