Mounted NAS, net use and shared drive paths

igerard giglesias@fircosoft.com
Thu Oct 23 08:27:00 GMT 2014


Well I am using cygwin for my continuous build/test integration system.

And I meet a lot of issue with the use of the mounted NAS

Because the behaviours are not repeatable it is hard to see a pattern,
sometimes it does work, sometimes not...

First to describe the context :

- I have cygwin installed on a Windows Server 2012 server and Seven on my
work laptop, and the behaviour are the same.

- My ssh is configured with cg_server user

- We have a NAS where I make our builds

- cygwin version : CYGWIN_NT-6.2 ... 1.7.32(0.274/5/3) 2014-08-13 23:06
x86_64 Cygwin

Mainly the way my scripts works is to do something like that :

-----
cd //mynas/myshare/mybuildfolder
...
call script for builds and tests
...
-----

I run several plans which use the same patterns, and the "cd" command,
sometimes does work and sometimes it fails...

I tried to ensure that the mount was made before with the credential,
calling a script which make the right net use command, it seemed to work but
fails sometimes but it fails also often.

And I get when it does not work, the status 'Disconnected' in the 'net use'
output, sometimes others failures as 'network nor available' and other funny
things ;)

$ net use '\\aServer\aSharePoint' /user:aServer\\aLogin aPassword
Local name
Remote name       \\ aServer\aSharePoint
Resource type     Disk
Status            Disconnected
...


Maybe someone has some precises things to say abut this very complex
mechanic...

Thanx in advance.

Gerard



--
View this message in context: http://cygwin.1069669.n5.nabble.com/Mounted-NAS-net-use-and-shared-drive-paths-tp112108.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list