'net use' will work but will re-map that drive again only when the user who initiated the 'net use' command is logged in. You could run the application or mapped drive as a service account...think someone mentioned that. You'll need to configure your app/script as a service. Google "run as a service" or something.
Hmm, does it have to be a mapped drive letter or will the app tolerate a UNC path? (\filer\share\direcotry)
Though, I think what you're really looking for is to serve this data as iSCSI luns instead of CIFS. You can do it well and free with iSCSI license only, but you may want to look into SnapDrive if your application wants online and consistent backups on your NetApp storage (and/or all the other goodies that SD brings.)
Best regards, ~~~~~~~~~~~~~~~~ Kevin Parker Mobile: 919.606.8737 http://theparkerz.com ~~~~~~~~~~~~~~~~
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Michael Schipp Sent: Wednesday, June 04, 2008 6:34 PM To: Chaim Rieger; Daniel Keisling; toasters@mathworks.com Subject: RE: Persistant CIFS Share Across Logins
Map the drive as a persistent mapping
e.g net use t: \filer\shares /p
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Chaim Rieger Sent: Thursday, 5 June 2008 8:20 AM To: Daniel Keisling; toasters@mathworks.com Subject: Re: Persistant CIFS Share Across Logins
Daniel Keisling wrote:
Greetings,
I apologize for what could be a silly question, but I'm strictly in the storage/UNIX world. I've set up a CIFS share on my 3040 (v7.2.4) for a Windows 2003 server to mount so that an application can read and write data to it. The windows administrator says the share is not staying mapped because it is being disconnected when the user logs out. This particular application needs access to the share when no one is logged into the system.
How does a Windows administrator keep a NetApp CIFS share mounted as as drive letter so that applications can use that share when no one is logged in?
Many thanks,
Daniel
are you using snap drive ? doesnt sound like it, i would say log in as local admin and mount the drive,
**************************************************************************** ******** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. **************************************************************************** ********