Skip to content

OleHolmNielsen/ZFS_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the ZFS filesystem

The ZFS filesystem is an alternative to XFS. While introduced originally in the Solaris OS, ZFS has been ported to ZFS_on_Linux. See also the OpenZFS developers page.

Furthermore, we have written a ZFS filesystems quick configuration guide.

Tools for the ZFS filesystem

The files in the present repository augment the tools provided by the ZFS software stack. Mainly lacking are tools for handling user disk quotas.

We provide the following scripts for checking ZFS user quotas by the root user only:

  1. zfsrepquota Report ZFS disk quotas, use -u username to limit to a single user.

  2. zfsdefaultquota Set default quotas for all users in a filesystem

  3. zfssetquota Set quotas for one or more users in a filesystem

  4. zfs_over_quota Send E-mail alerts from the file server to users who are getting close to their quota limit.

Copy these scripts to the /usr/local/sbin/ folder. The Makefile will install the scripts.

Periodic reports can be sent by a crontab job, for example:

10 8,13,17 * * * /usr/local/sbin/zfs_over_quota

Caching of quota reports for NFS clients and normal users

The zfs userspace command is only permitted for the root user.

About

Tools for the ZFS filesystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published