I am using Services for unix to map to a window drive and it works if I do do two things: options nfs.mount_rootonly off
and in /etc/exports /pub -sec=sys,rw=XXX.XXX.XXX/24,actual=/vol/volumeX/public
The second is a work around for services for unix using a non reserved port and the second is a workaround for windows not liking paths of the form \server\vol\volumeX (i.e. /vol/volumeX in the unix world)
The correct solution for the first issue is supposed to be to add a key in the registry HKLM\Software\Microsoft\Client for NFS\CurrentVersion\Default\UseReservedPorts and setting it to 1, followed by a restart of client services.
This doesn't seem to work. As for the second issue, it sounds like -actual is the only work around. Thanks go to James Beal for pointing that out, I wasn't aware of the option.
John
On Tue, 15 Jul 2008, Langdon, Laughlin T. (Lock) wrote:
Sorry, I misread your post, and recall doesn't work so well on a mailing list :)
Are you mounting this to a drive letter (a la normal windows mapped drives), or trying to make a mount point on an existing hard drive?
By multi directory paths do you mean symlinks/widelinks/DFS? I'm not familiar with that term.
-----Original Message----- From: Langdon, Laughlin T. (Lock) Sent: Tuesday, July 15, 2008 7:55 AM To: 'John Legato'; toasters@mathworks.com Subject: RE: Windows Services for Unix NFS Client
Windows OSes pre Vista/2008 do not natively support NFS mounts. You can download Microsoft's Windows services for UNIX to give you this functionality. (more info here http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx )
Vista and server 2008 have these options natively built in (may need to install them via the add/remove windows components as they aren't installed by default).
Once you have the required components use the following syntax to accomplish your goal
mount [-o <Option>[...]] [-u:<UserName>] [-p:{<Password> | *}] {\<ComputerName><ShareName> | <ComputerName>:/<ShareName>} {<DeviceName> | *}
Full Syntax reference here http://technet2.microsoft.com/windowsserver2008/en/library/dd9d7ecb-ef00 -4aaa-bcd0-423fa636e34a1033.mspx?mfr=true
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of John Legato Sent: Tuesday, July 15, 2008 5:48 AM To: toasters@mathworks.com Subject: Windows Services for Unix NFS Client
Has anyone had any luck mounting a filer using Window's Services for UNIX NFS Client?
I've tried mounting it with mount \filer\vol\volume and run into a problem with mount not supporting multi directory paths. I get an error message stating "The network path can not be found" with the above mount.
I tried accessing it in Windows explorer but it doesn't show up there. I
know it can see the filer because I ran into trouble with it using non reserved ports and saw the message in the logs, I've since fixed that issue. Is there a work around for the multi directory path limitation?
Thanks
John
-- Contractor
-- Contractor