Fix for certain errors when trying to mount a Win7 share

Raspberry Pi related support

Fix for certain errors when trying to mount a Win7 share

Postby tc-fi » 21 Jan 2014, 03:18

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.
Last edited by tc-fi on 26 Jan 2014, 18:41, edited 1 time in total.
tc-fi
 
Posts: 43
Joined: 21 Jan 2014, 03:12

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

Postby exitoff » 26 Jan 2014, 05:52

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!
exitoff
 
Posts: 2
Joined: 26 Jan 2014, 05:51

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

Postby tc-fi » 26 Jan 2014, 18:43

Thats great!

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

tc-fi
tc-fi
 
Posts: 43
Joined: 21 Jan 2014, 03:12

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 8 guests
cron