This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
cluster:197 [2020/08/27 10:30] hmeij07 created |
cluster:197 [2020/08/27 10:33] hmeij07 |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | \\ | ||
+ | **[[cluster: | ||
+ | |||
+ | |||
===== XFS quotas ===== | ===== XFS quotas ===== | ||
Line 45: | Line 49: | ||
To keep the XFS file system healthy unmount it and remount it so the journal does its thing. | To keep the XFS file system healthy unmount it and remount it so the journal does its thing. | ||
+ | |||
+ | Automate quota checks and notification, | ||
+ | |||
+ | < | ||
+ | |||
+ | #!/bin/bash | ||
+ | |||
+ | / | ||
+ | |||
+ | d=`date +%d` | ||
+ | awk ' | ||
+ | |||
+ | foo="" | ||
+ | foo=`grep ' | ||
+ | |||
+ | if [ $foo -gt 0 ]; then | ||
+ | |||
+ | foofoo=`head -5 / | ||
+ | grep ' | ||
+ | |||
+ | fi | ||
+ | |||
+ | </ | ||
+ | \\ | ||
+ | **[[cluster: | ||