Re: [zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Jorgen Lundman
In that case instead of rewriting the part of my code which handles quota creation/updating/checking, I would need to completely rewrite the quota logic. :-( So what do you do just now with UFS ? Is it a separate filesystem for the mail directory ? If so it really shouldn't be that big of a deal

Re: [zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Richard Elling
Consider using a modern mail system. The mail system can handle quotas much better than a file system. http://blogs.sun.com/relling/entry/on_var_mail_and_quotas -- richard On Nov 18, 2009, at 6:18 AM, Jozef Hamar wrote: Hi Darren, thanks for reply. E.g., I have mail quota implemented as p

Re: [zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Darren J Moffat
Jozef Hamar wrote: Darren J Moffat wrote: Jozef Hamar wrote: Hi Darren, thanks for reply. E.g., I have mail quota implemented as per-directory quota. I know this can be solved in another way, but still, I would have to change many things in my system in order to make it work. And this is qu

Re: [zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Jozef Hamar
Darren J Moffat wrote: Jozef Hamar wrote: Hi Darren, thanks for reply. E.g., I have mail quota implemented as per-directory quota. I know this can be solved in another way, but still, I would have to change many things in my system in order to make it work. And this is quite easy implementa

Re: [zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Darren J Moffat
Jozef Hamar wrote: Hi Darren, thanks for reply. E.g., I have mail quota implemented as per-directory quota. I know this can be solved in another way, but still, I would have to change many things in my system in order to make it work. And this is quite easy implementation of mail quota. Now

Re: [zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Jozef Hamar
Hi Darren, thanks for reply. E.g., I have mail quota implemented as per-directory quota. I know this can be solved in another way, but still, I would have to change many things in my system in order to make it work. And this is quite easy implementation of mail quota. Now I'm using UFS and uf

Re: [zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Kyle McDonald
Darren J Moffat wrote: Jozef Hamar wrote: Hi all, I can not find any instructions on how to set the file quota (i.e. maximum number of files per filesystem/directory) or directory quota (maximum size that files in particular directory can consume) in ZFS. That is because it doesn't exist.

Re: [zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Darren J Moffat
Jozef Hamar wrote: Hi all, I can not find any instructions on how to set the file quota (i.e. maximum number of files per filesystem/directory) or directory quota (maximum size that files in particular directory can consume) in ZFS. That is because it doesn't exist. I understand ZFS has no

[zfs-discuss] ZFS directory and file quota

2009-11-18 Thread Jozef Hamar
Hi all, I can not find any instructions on how to set the file quota (i.e. maximum number of files per filesystem/directory) or directory quota (maximum size that files in particular directory can consume) in ZFS. I understand ZFS has no support for this. Am I right? If I am, are there any pl