On 04/22/2010 09:48 PM, Stuart Jansen wrote: > On Thu, 2010-04-22 at 21:40 -0600, Michael Torrie wrote: >> On ZFS, snapshots count against your quota, as they should. >> This occasionally causes problems when a user runs out of space and then >> deletes files, thinking he's freeing up space. > > Wait, hang on, users can't just delete files to get back under quota?
Sure. Then wait 7 days for my script to expire old snapshots. :) > Am I the only one with warning bells going off in his head? It is a major issue (albeit not one that comes up very often). Maybe it would help if ZFS allowed a user to create or destroy snapshots owned by the user. But then again, that's problematic as there's really no correlation between user and file system (and thus no per-user quotas either). I'm not sure how to get around the problem, though. You could make snapshots not part of FS's quota. but since snapshots are just COW pages linked to the original pages, they would seem to be, by definition, children of the file system in question, and thus subject to its quota. A hard one. -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
