Problem
When mounting some windows samba drives, “mount error(12)” error can occurred. Problem is in windows samba server settings. Full linux error message:
mount error(12): Cannot allocate memory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
and error message in windows event log:
Source: srv Event ID: 2017 Level: Error The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.
Solution
Update following registry:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache = 1 HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size = 3
After you update these values, restart your computer.
Leave a Reply