Monday, 16 December 2013

Solaris - ZFS quota

Setting up a ZFS quota:

1. Create mount point


# zfs create -o mountpoint=/mp rpool/mp

2. Set a 5Gb quota


# zfs set quota=5G rpool/mp

The mount is now created with a quota.


What happens if you now want to increase the quota?
Increasing the quota to 20Gb


# zfs set quota=20G rpool/mp


At some point you may want to get rid of the mount point and its quota

# zfs destroy rpool/mp
 

No comments:

Post a Comment