Skip to content

Unable to set disk quota for Windows2025 containers #587

@winkingturtle-vmw

Description

@winkingturtle-vmw

Describe the bug
We are in the process of upgrading to Windows Server 2025 and our initial testing is showing a regression from Windows Server 2019 by way of failing to set disk quota for containers. Previously, we have been able to enforce disk limit for each container.

To Reproduce

  • docker run -it mcr.microsoft.com/windows/servercore:ltsc2025 powershell in one powershell
  • mountvol.exe /L to get the the Volume GUID for the new container
  • New-FSRMQuota -Path "\\?\Volume{GUID-FROM-ABOVE}\" -Size 10GB
New-FSRMQuota : 0x80045313, A required filter driver is not installed, loaded or ready
for service.
At line:1 char:1
+ New-FSRMQuota -Path "\\?\Volume{d7d5def4-b68d-43dd-b571-9eece130a16c} ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_FSRMQuota:Root/Microsoft/.../MSFT_FSR
   MQuota) [New-FsrmQuota], CimException
    + FullyQualifiedErrorId : HRESULT 0x80045313,New-FsrmQuota

Expected behavior
We expect to be able to set the disk limit for the volume the same way as Windows Server 2019. The same set of commands works for WindowsServer2019. If we need to install additional packages, it's unclear what else needs to be installed.

Configuration:

  • Edition: Windows Server 2025 (Core or GUI)
  • Base Image being used: Windows Server Core
  • Container engine: docker
  • Container Engine version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working🚀 LTSC 2025Windows container images 2025

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions