ZFS Dataset Size
A simple entry on how to discover or set the size for a given ZFS dataset as occasionaly we need to increase the size of a ZFS dataset.
- Check dataset current size:
# zfs list zfsmount/smurfpi NAME USED AVAIL REFER MOUNTPOINT zfsmount/smurfpi 351M 59.7G 351M /data/smurfpi
- Check current size of data set:
# zfs get quota,reservation zfsmount/smurfpi NAME PROPERTY VALUE SOURCE zfsmount/smurfpi quota 60G local zfsmount/smurfpi reservation none defaultFrom the above we can see that the size of the dataset is currently 60GB,
- To increase size of dataset,
# zfs set quota=100G zfsmount/smurfpiThe above will increase the size of the dataset to 100GB