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 mypool/schlumpf NAME USED AVAIL REFER MOUNTPOINT mypool/schlumpf 351M 59.7G 351M /data/schlumpf
- Check current size of data set:
# zfs get quota,reservation mypool/schlumpf NAME PROPERTY VALUE SOURCE mypool/schlumpf quota 60G local mypool/schlumpf 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 mypool/schlumpfThe above will increase the size of the dataset to 100GB