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.

I understand ZFS has no support for this. Am I right? If I am, are there any plans to include this in the next releases of OpenSolaris/Solaris?

Why would you want to do that rather than set a maximum amount of space
a filesystem, user or group can consume?
Last I checked NetApp had a 'directory quota' concept, but I don't know if it could be used on just any directory, or only on upper level directories.

Granted, with ZFS you can just make any directory at any level a new FS, and get the same effect, but that can be heavywieght, and have undesired side effects.

What is the real problem you are trying to solve by restricting
the number of files that can be created ?

I imagine it's one thta was previously solved with older unix/ufs file quotas. Though I can't imagine a use for that now that lack of inodes is not likely to be a problem any time soon.

 -Kyle

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to