Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

apply Quota to exisiting folder: Command when hitting soft quota does not run

$
0
0

Hello,

during a Fileserver Migration a whole tree of UserHome Shares was copied. After the initial copy a Quota Template is applied to [Drive]:\userhome for the subfolders. As there are different Quotas, I wanted to use the mechanism to run a command (dirquota) when a limit is reached to apply the next higher Quota Template. I talk about home folders for 1000+ users and no list of the actual quotas applied in the source fileserver is available or could be created (please don't ask why ;-) ).

I experienced that this works fine for new subfolders (i. e. [Drive]:\userhome\NewFolder): when the threshold is reached the dirquota command runs and sets the defined higher Quota Template. BUT is does not work for existing folders (i. e. [Drive]:\userhome\ExistingFolder).

The question: Does anybody know how to resolve or why this does not work for existing folders?

To illustrate:

2 Quota Templates:

  1. Default (Name "Default", 100 MB, soft, when 85% hit run command dirquota quota modify /path:[Quota Path] /sourcetemplate:"Extended"
  2. Extended (Name "Extended", 2000MB, soft, no action (for testing)

then subfolders, each 200 MB in size

  1. one existing ([Drive]:\userhome\ExistingFolder)
  2. then appliying Quota Template "Default" to [Drive]:\userhome with autoapply to subfolders
  3. nothing happens to "ExistingFolder" FSRM shows only "Percent Used" of 200%, Quota "Standard" applied
  4. new subfolder "[Drive]:\userhome\NewFolder"
  5. fill Folder with 200 MB data
  6. FSRM for folder "NewFolder" shows Quota "Extended" applied, Percent used 10% -> the command to assign another quota to the folder worked for this new subfolder, bt not for the existing folder

Does anyone have an idea?

Thank you, David


Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>