Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Xsan Quotas by script #375187
    soward
    Participant

    There is some overhead associated with each ‘cvadmin’ call, if you are doing a few hundred or so it won’t matter much but with some number of thousands I’d suggest something like the following…

    for i in `cat userlist’; do
    echo ‘quotas set user $i $HARD $SOFT $TTL’ > /tmp/$$.dat
    done
    cvadmin -F $VOLNAME < /tmp/$$.dat or something like that. Also unless you enjoy receiving the messages, you'll want to change 'ExceededSoftQuota' to false in /Library/Filesystems/Xsan/config/notifications.plist on the MDCs

Viewing 1 post (of 1 total)