Wednesday, June 24, 2015

windows share from linux

sudo mount -t cifs -o user=fabio //192.168.6.133/share  /tmp/a

if you get the error

mount: Cannot allocate memory

then change the registry on the windows side:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache - set it to 1 

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size - set it to 3
source:

http://www.linuxquestions.org/questions/linux-server-73/mount-cifs-cannot-allocate-memory-or-remote-i-o-error-after-data-transfer-4175508385/

No comments:

Post a Comment