Some files in users' home directories should be symlinked or via automount redirected to the local disk instead of cluttering NFS homes.
Is it already a Symlink? → If yes, create local directory if non-existent (if /scratch is full in this case → Mail to ISG). If no continue
Check if there's enough disk space on /scratch/
Directory > 100
MB → Mail to ISG
Move directory to /scratch or delete it
Create symlink
Reconfigure each application individually
Use automounter/autofs.
Use wrappers around applications which create proper symlinks
-
Login scripts, e.g. PAM, bashrc, profile, Xsession.d
The following files are candidates for redirecting from NFS homes to local disks for performance reasons:
.cache/
.config/google-chrome/*/Thumbnails/
.mozilla/firefox/*/Cache/
.thunderbird/*/Cache/
.mozilla-thunderbird/*/Cache/
.conkeror.mozdev.org/conkeror/*/Cache/
.kazehakase/mozilla/kazehakase/Cache
.opera/cache/
.opera/opcache/
.thumbnails/
.xsession-errors
This can be solved by redirecting output in /etc/X11/Xsession to somewhere else, e.g. logger plus an appropriately configured syslogd.
Redirecting to /tmp/xsession-errors-$USER can cause a full /tmp/ filesystem.
Core dumps are not common for normal users but for developers. And if they happen, they can have several
GB of size which you really don't want to save over NFS (or on an SSD).
The following files are possibly candidates for automatic age-based purging from NFS homes or rotating for performance reasons:
.Trash/
.local/Trash/
.xsession-errors
The following files can cause performance issues on NFS homes but changing or removing them is possibly regarded as data loss by the user:
The following files can cause performance issues on NFS homes but are definitely privacy issues:
.gnupg
.spamassassin
.liferea*/liferea.db
Macs with portable homes write their changes over the day back in one big burst in the later afternoon.