Lets start by listing the currently available data sets
1
zfs list
This should give you a list of folders (if any exist)
To create a new data set, run the following command. This will also set some default permissions.
1
zfs create -o mountpoint=/tank/data/photos/ -o acltype=posixacl -o xattr=sa -o aclinherit=passthrough tank/data/photos
To set a quota on the dataset
1
zfs set quota=1000G tank/data/photos
To remove the dataset
1
zfs destroy -R -r tabk/data/photos
If you want to use the dataset in an LXC
1
nano /etc/pve/lxc/{INSERT_LXC_ID_HERE}.conf