Mount NFS on Boot?
#1
Hi all, I am having a problem with my NAS setup. I currently boot straight into Frodo on Windows 8 (Using XBMC Launcher). The problem is that my NFS sources do not seem to mount up so when I choose a file it tells me it is no longer available. If I quit out of XBMC and back to windows they are still not accessible until I click on them in explorer. Is there a solution that will mount drives on start-up? I know there is a windows feature about NFS but it is only available in the Enterprise edition on Win 8, which I don't have.

Could anybody help?
Reply
#2
So I have been working on a batch file to mount the drives on start up.

I have been doing it at work (and working of course Wink )

Could anyone tell me not only if this should work but also where to put it? I know there is probably an awful amount of extra code but it's my first ever batch so be nice!

@echo Checking Mounted NFS Connection, Please Wait....

:TRYAGAIN
PING -n 1 WWW.GOOGLE.CO.UK |find "Reply from" >NUL
IF NOT ERRORLEVEL 1 goto :SUCCESS
IF ERRORLEVEL 1 goto :TRYAGAIN

:SUCCESS
NET USE W: \\192.168.1.28\Movies
IF NOT ERRORLEVEL 1 goto :NEXT1
IF ERRORLEVEL 1 goto :TRYAGAIN

:NEXT1
NET USE X: \\192.168.1.28\Movies 2
IF NOT ERRORLEVEL 1 goto :NEXT2
IF ERRORLEVEL 1 goto :TRYAGAIN

:NEXT2
NET USE Y: \\192.168.1.28\TV Shows
IF NOT ERRORLEVEL 1 goto :NEXT3
IF ERRORLEVEL 1 goto :TRYAGAIN

:NEXT3
NET USE Z: \\192.168.1.28\TV Shows 2
IF NOT ERRORLEVEL 1 goto :CLOSETIMER
IF ERRORLEVEL 1 goto :TRYAGAIN

:CLOSETIMER
TIMEOUT 10
Reply
#3
Why to mount them? Can't you add a NFS source when configuring libraries? Iirc it should work in windows.
The unavalaible thing could be a permission problem if you are sure that everything is up and working on the nas side.
Reply

Logout Mark Read Team Forum Stats Members Help
Mount NFS on Boot?0