码迷,mamicode.com
首页 > 其他好文 > 详细

mount CIFS return ERR -12 and report Cannot allocate memory

时间:2016-02-24 22:25:15      阅读:180      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!