mount -t cifs失败

          将本地Windows上的的共享文件挂载到虚拟平台上的Linux系统上,老是失败,捣鼓了很久,发现原来要加个参数,记录一下,以做备忘。

          [root@localhost /]# mount -t cifs -o username=administrator,password=caodin1990729 //192.168.6.194/program /mnt
          mount error(13): Permission denied
          Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
         [root@localhost /]# mount -t cifs -o username=administrator,password=caodin1990729,sec=ntlm //192.168.6.194/program /mnt
         [root@localhost /]# cd /mnt

 

        mount error(12): Cannot allocate memory

       Windows vision >= 6.0

       solution:

      1.Set “HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache” to “1″.

      2.Set “HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size” to “3″.

      3.restart server name "server".

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值