quota issueshttps://git.coop/webarch/quota/-/issues2022-10-24T14:54:31Zhttps://git.coop/webarch/quota/-/issues/5Older servers2022-10-24T14:54:31ZChris Croomechris@webarchitects.co.ukOlder serversServers that have been upgraded have:
```bash
grep quota /etc/fstab
/dev/xvda3 /home ext3 nodev,nosuid,quota 0 1
```
Whereas newer ones have:
```bash
grep quota /etc/fstab
/dev/xvda4 /home ext4 nodev,nosuid,quota,usrjquota=aquota.us...Servers that have been upgraded have:
```bash
grep quota /etc/fstab
/dev/xvda3 /home ext3 nodev,nosuid,quota 0 1
```
Whereas newer ones have:
```bash
grep quota /etc/fstab
/dev/xvda4 /home ext4 nodev,nosuid,quota,usrjquota=aquota.user,jqfmt=vfsv0 0 1
```
The older ones don't work with this role at the moment.Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/quota/-/issues/4Remove quota code from the user role and add it here2022-10-10T10:35:06ZChris Croomechris@webarchitects.co.ukRemove quota code from the user role and add it hereThe [users role](https://git.coop/webarch/users) has quota tasks in three main places (there are checks and includes elsewhere):
* [quota.yml](https://git.coop/webarch/users/-/blob/master/tasks/quota.yml)
* [system.yml](https://git.coop...The [users role](https://git.coop/webarch/users) has quota tasks in three main places (there are checks and includes elsewhere):
* [quota.yml](https://git.coop/webarch/users/-/blob/master/tasks/quota.yml)
* [system.yml](https://git.coop/webarch/users/-/blob/master/tasks/system.yml)
* [users.yml](https://git.coop/webarch/users/-/blob/master/tasks/users.yml)
This currently works by running `repquota {{ quota_dir }} --output=csv` on the server, downloading the CSV file and then reading it.
These tasks should be moved into this role and the results of the [repquota.fact.j2](https://git.coop/webarch/quota/-/blob/master/templates/repquota.fact.j2) template should be used in place of the CSV file download.Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/quota/-/issues/2Update for journaled quota2022-04-08T14:06:57ZChris Croomechris@webarchitects.co.ukUpdate for journaled quotaSee https://unix.stackexchange.com/a/688093/390046See https://unix.stackexchange.com/a/688093/390046Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/quota/-/issues/1Monthly disk usage reports2020-02-01T16:17:36ZChris Croomechris@webarchitects.co.ukMonthly disk usage reportsIf `quota_notify_email` is defined then create a cronjob that sends the output of `repquota -su /home` on the 1st of each month.If `quota_notify_email` is defined then create a cronjob that sends the output of `repquota -su /home` on the 1st of each month.WSH Version 1.0Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.uk