angrycomputingteacher Posted August 9, 2016 Posted August 9, 2016 Hey Guys, Just realized that our network does not yet have limits on the amount of storage per user. Although, I'm looking to change this. I need some sort of way to do this without GP or AD as we don't have either of those. We have the users setup on a network location and that every login a batch with instructions to map the correct rives is run. I need some way possibly through this script to limit the size that the user is allowed to have. Thanks
Steve21 Posted August 9, 2016 Posted August 9, 2016 Assuming you have windows server wise it's doable through FSRM on the file server. Just put a limit on the directory and it'll filter down to folders Steve
Alis_Klar Posted August 10, 2016 Posted August 10, 2016 Using File Server Resource Manager on Windows Server (assuming you are using a Windows Server and not Samba on Linux) you can add an auto apply quota on the parent folder so that the quota applies to every new users folder created under that parent folder. https://technet.microsoft.com/en-us/library/cc731577(v=ws.11).aspx
mjk Posted August 10, 2016 Posted August 10, 2016 (edited) If you were using Samba on Linux,Mac or unix you would use "Quota" on the Filesystem and you can get it to email the user if you reach a soft quota: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/ch-disk-quotas.html Edited August 10, 2016 by mjk
jslate1980 Posted August 10, 2016 Posted August 10, 2016 What OS is your file server running? If you are using 2012r2 are you using deduplication. Be careful as hard quotas are not supported with deduplication.
clareq Posted August 10, 2016 Posted August 10, 2016 hard quotas on deduplicated volumes are only not supported on the root of the drive. you can create subfolders and hard quota them; https://technet.microsoft.com/en-us/library/hh831700.aspx
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now