Skip to content
  • Mac Newbold's avatar
    Add new script to notify users when they are over their quota. Runs from · 38310b4e
    Mac Newbold authored
    cron daily, on the fs node (ops) as root. Uses lots of configure variables
    so that it does the right thing in any installation, without any
    customization.
    
    One possible caveat regarding quotas: If FS_NODE != USERNODE, they don't
    have a login on the fs machine. So checking their quota won't work unless
    the rpc.rquotad(8) daemon is running on FS_NODE, which we currently don't
    do.
    
    In order to do this right, I had to add a new configure var,
    FS_WITH_QUOTAS, that has a space separated list of file systems that have
    quotas enabled. (Ie the default is 'FS_WITH_QUOTAS="/q /users"'.) It
    doesn't have any default, since I couldn't come up with a reasonable one.
    All the defs files have been updated appropriately to define this new
    variable.
    38310b4e