AMD Ryzen 7 9800X3D | Corsair H150i Elite LCD | GIGABYTE X670E AORUS XTREME | G.Skill Trident Z F5-7800J3646H16GX2-TZ5RK | Inno3D GeForce RTX 4090 iCHILL X3 | Corsair HX1000i | Crucial T700 4TB | Intel Optane 905P 1.5TB | MP600 NH 8TB | Corsair iCUE 5000T
Duct tape can't fix stupid, but it can muffle the sound.
[ Voor 19% gewijzigd door eXcyle op 15-07-2014 23:09 ]
Is er een manier om automatische alle nieuwe subfolders ook een quota te geven? anders moet ik dit met een powershell script zien te regelen.
[ Voor 3% gewijzigd door Gijs007 op 16-07-2014 00:13 ]
AMD Ryzen 7 9800X3D | Corsair H150i Elite LCD | GIGABYTE X670E AORUS XTREME | G.Skill Trident Z F5-7800J3646H16GX2-TZ5RK | Inno3D GeForce RTX 4090 iCHILL X3 | Corsair HX1000i | Crucial T700 4TB | Intel Optane 905P 1.5TB | MP600 NH 8TB | Corsair iCUE 5000T
1
| Get-ChildItem c:\ | ?{ $_.PSIsContainer } | Select-Object FullName |
krijg je alle subdirs van een folder.
met
1
| Get-FsrmQuota <dir> |
krijg je info over de quota's voor die dir terug.
en met
1
| New-FsrmQuota -Path "<dir>" -Description "userquota op subdir" -Size 1GB |
zet je het quota.
Moet je ze alleen nog even met een loopje en een if statement aan elkaar knopen.
wanneer je server 2012 hebt kan je FSRM installeren.
By using File Server Resource Manager, we can implement the quota on the volume or folder level, which can limit the quota space that is allocated for volume or folder in Windows Server 2008, we can set a global quota rule on the root (ex. E: drive) with 1.00GB, and meanwhile by using " Auto apply template and create quotas on existing and new subfolders" option we can have each subfolder with the same 1.00GB quota.
If you want to apply different quota on the subfolder, you can customize the quota size by editing each of the subfolder quota. However, one thing you may need to note is that: all the quota settings are set on Folder level and tracked with folder, we cannot set quota for specific users or groups because the Quota limitation is cumulated to all users.
Bears and Bulls
Maar ik wil dus dat iedere subfolder een quota heeft van 600MB en niet dat ze gazamelijk ook maar 600MB mogen zijn.mindcre8r schreef op woensdag 16 juli 2014 @ 16:52:
niet met scripts pielen als er out of the box mooie tools voor zijn bij 2012 (ook al in 2008 overigens)
wanneer je server 2012 hebt kan je FSRM installeren.
By using File Server Resource Manager, we can implement the quota on the volume or folder level, which can limit the quota space that is allocated for volume or folder in Windows Server 2008, we can set a global quota rule on the root (ex. E: drive) with 1.00GB, and meanwhile by using " Auto apply template and create quotas on existing and new subfolders" option we can have each subfolder with the same 1.00GB quota.
If you want to apply different quota on the subfolder, you can customize the quota size by editing each of the subfolder quota. However, one thing you may need to note is that: all the quota settings are set on Folder level and tracked with folder, we cannot set quota for specific users or groups because the Quota limitation is cumulated to all users.
AMD Ryzen 7 9800X3D | Corsair H150i Elite LCD | GIGABYTE X670E AORUS XTREME | G.Skill Trident Z F5-7800J3646H16GX2-TZ5RK | Inno3D GeForce RTX 4090 iCHILL X3 | Corsair HX1000i | Crucial T700 4TB | Intel Optane 905P 1.5TB | MP600 NH 8TB | Corsair iCUE 5000T

Dus quota template maken, en daarna op de hoofdmap applicatie aanmaken met de optie "Auto Apply Template on subfolders" moet voldoende zijn.
[ Voor 8% gewijzigd door eXcyle op 16-07-2014 18:56 ]
http://www.techrepublic.c...e-in-windows-server-2012/
eXcyle heeft het goed uitgelegd. in zijn voorbeeld, zoals het verhaal bij mij ook verteld.Gijs007 schreef op woensdag 16 juli 2014 @ 17:24:
[...]
Maar ik wil dus dat iedere subfolder een quota heeft van 600MB en niet dat ze gazamelijk ook maar 600MB mogen zijn.
Zorg inderdaad dat het quota groot genoeg is zodat je niet in problemen komt met schijf problemen zodat de applicatie faalt.
[ Voor 0% gewijzigd door mindcre8r op 17-07-2014 10:59 . Reden: username verkeerd overgenomen ]
Bears and Bulls
De applicatie heeft zijn eigen folder en dit zijn userfolders voor de user accounts in de applicatie.
AMD Ryzen 7 9800X3D | Corsair H150i Elite LCD | GIGABYTE X670E AORUS XTREME | G.Skill Trident Z F5-7800J3646H16GX2-TZ5RK | Inno3D GeForce RTX 4090 iCHILL X3 | Corsair HX1000i | Crucial T700 4TB | Intel Optane 905P 1.5TB | MP600 NH 8TB | Corsair iCUE 5000T