This built contains the functionality to set hard quota on the website content folder. It requires FSRM to be installed on the File Server, Name of the share where the home folders are create should contain the drive name preceeded by _ e.g. SharedConfig_C. Quota is retrieved from OS disk space quota, quota unit is retrieved from quota description field in the quotas table, this info is fed to Dirquota command and the quota is set accordingly.

This commit is contained in:
Haya Nmeir 2012-09-16 02:22:05 +03:00
parent cfb58e3423
commit f7d7bcfafc
13 changed files with 347 additions and 22 deletions

View file

@ -81,5 +81,6 @@ namespace WebsitePanel.Providers.OS
// Synchronizing
FolderGraph GetFolderGraph(string path);
void ExecuteSyncActions(FileSyncAction[] actions);
void SetQuotaLimitOnFolder(string cmdFilePath, string virtualFileClusterName, string folderPath, string quotaLimit, int mode, string wmiUserName, string wmiPassword);
}
}