hmm
steps (test machine with one 250GB hdd and v9.2.0 on a usb drive):
- I created one zfs volume with all hdd capacity
- I created 3 datasets, one 20GB (empty), one 10GB (empty or maybe 200-300 MB occupied) and one 500MB quota dataset (put 500M at first quota on Advanced mode, 0 (unlimited) at the rest 3) to experiment snapshots
- this 500MB I shared as cifs
- set up 5 minutes snapshots and during 20-30 min I copied and deleted 300-400 MB by pictures, docs, etc. in order to have some points to test snapshot (I observed a slower copy speed at time when snapshot were taken, bun not more than 30-40 sec)
- at one moment, when on the 500MB dataset was ~200 MB with data, I rolledback a previous snapshot and on the share I found the old data, ~400 MB (very good)
- I deleted something (~100 MB) and after I tried to fill all space with one folder with many small files (took one folder from c:\Windows) - at one moment of course I had a message "not enough space"
- and here starts my problem: try to delete one folder, the deleting starts, seems to do something, but at one moment get error message "directory not empty" and surprise, the folder is still there with all files inside :)
- I tried to delete files inside any folder, again the delete seems to succeed, but file appears again at folder refresh..
meanwhile, I get a new idea to solve this: to create dataset in dataset, the second one with quota less than the parent quota