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

FSRM Quotas - Directory Rename on Win2K12/Win2K12R2

$
0
0

On Win2K12 & Win2K12Rs [but not Win2K8R2], renaming a directory can result in the File Server Resource Manager no longer being able to display or manage quotas on sub-directories under the directory that was renamed.

Configuration & set up that was used to test this:

1)  Set up a Win2K12 or Win2K12R2 server with FSRM installed.

2)  Configure a NTFS volume for storing home folders and application data, where the volume name is "Data01" and the mount point for the volume is C:\VolData01.  Additionally, configure a share named "Data01" for this volume's mount point.

3)  Create a directory named C:\VolData01\QuotaTest.  Under this directory, create sub-directories named Folder01a and Folder02a.  Under each of those sub-directories, create QuotaFolder01 and QuotaFolder02.

4)  For each of the QuotaFolder01 and QuotaFolder02 directories, create a hard quota of 100 MB.  Confirm that the FSRM Quota Manager shows the 4 quotas.

5)  Rename Folder02a to Folder02b.  Refresh the view in the FSRM Quota Manager and notice that the quota entries for C:\VolData01\QuotaTest\Folder02b\QuotaFolder01 and C:\VolData01\QuotaTest\Folder02b\QuotaFolder02 are no longer displayed.

6)  Use the IFsrmQuotaManager::EnumQuotas() COM interface method to enumerate all quotas under C:\VolData01\QuotaTest and observe that the enumeration results do not include any quotas for directories under Folder02b.

7)  Use the IFsrmQuotaManager::GetQuota() COM interface method to obtain the quotas for both C:\VolData01\QuotaTest\Folder02b\QuotaFolder01 and C:\VolData01\QuotaTest\Folder02b\QuotaFolder02, and note that the quotas do still exist and can be queried, modified and removed via IFsrmQuota COM interface and its methods.

8)  Rename Folder02b to Folder02a.  Refresh the view in the FSRM Quota Manager and notice that the quota entries for the sub-directories under Folder02a have reappeared.

Further testing has shown that this problem occurs as long as the ancestor directory that gets renamed does not itself have a quota applied to it.  So, if I have a path "C:\VolData01\QuotaTest\Folder03a\NoQuota\QuotaFolder01", and I have quotas applied to Folder03a and QuotaFolder01, I can rename Folder03a to Folder03b and the quota on QuotaFolder01 can still be enumerated and displayed in the FSRM Quota Manager.  However, if I rename NoQuota to some other name, the result is that the FSRM Quota Manager can no longer enumerate the quota on QuotaFolder01.

This problem does not occur on Win2K8R2, and any ancestor directory in a path specification can be renamed w/o causing the FSRM Quota Manager to be unable to enumerate the quotas on subordinate directories located in the subtree under the directory that was renamed.

I haven't found any online articles, KB articles, TechNet forum discussions or anything else that describes this problem or any way to resolve it.  However, the conditions are easy to recreate so I'd like to hear back from somebody at Microsoft regarding this problem and what can be done to get it resolved.



Viewing all articles
Browse latest Browse all 13565

Trending Articles



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