首页 > 其他 > 详细

mount CIFS return ERR -12 and report Cannot allocate memory

时间:2016-02-24 22:22:51      阅读:298      评论:0      收藏:0      [点我收藏+]

When I mount CIFS on board, it encountered error as below:

# mount -t cifs //192.168.1.28/98share /tmp -o user=name,pass=code
CIFS VFS: Send error in SessSetup = -12
mount: mounting //192.168.1.28/98share on /tmp failed: Cannot allocate memory

 

The OS of remote PC is WIN7.

Get the solution from internet,  it says:

Modify the register:

Set “HKLM_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache” to “1″.
Set “HKLM_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size” to “3″.

And then restart the PC.

 

You‘ll find it works.

mount CIFS return ERR -12 and report Cannot allocate memory

原文:http://www.cnblogs.com/yxwkf/p/5215146.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!