Page 1 of 1

Fix for certain errors when trying to mount a Win7 share

PostPosted: 21 Jan 2014, 03:18
by tc-fi
If you are getting the following errors when trying to mount a Windows 7 share manually from ssh root@runeaudio then try the fix procedures below.

ERROR SCENARIO #1

Example: mount -t cifs //192/168.1.21/Repository/Audio/Test /mnt/MUSIC -o username=john,password=doe

(1) “mount error(12) Cannot allocate memory” on the Linux box
(2) “srv nonpaged pool error 2017” on the Windows 7 box

Fix procedure:

On the Windows 7 box set the following two registry values then restart the box. These values cause the Windows 7 server service to allocate resources appropriate for file serving.

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache=1
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size=3

ERROR SCENARIO #2

Example: mount -t cifs //192/168.1.21/Repository/Audio/Test /mnt/MUSIC -o username=john,password=doe;
- Note the semicolon in the password

You get “mount error(13): Permission denied”

This can be caused by a password that has characters that are parsed as delimiters or other special command characters instead of part of the password. For example the semicolon,

The fix is to enclose the password in single quotes.

Re: Fix for certain errors when trying to mount a Win7 share

PostPosted: 26 Jan 2014, 05:52
by exitoff
This fixed my mount errors I've been having on a Win 7 box from Raspyfi and Volumio, thanks! Love the Rune interface, just add Wifi dongle support, thanks!

Re: Fix for certain errors when trying to mount a Win7 share

PostPosted: 26 Jan 2014, 18:43
by tc-fi
Thats great!

Which fix did you apply, the quoted password or the Win7 registry mods?

tc-fi