Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Thursday, December 11, 2008

Map unix shared mounts on windows

You can mount unix shared file systems on a windows box by installing Microsoft Windows Services for Unix. It is available for download on this page. Once you download it, if NFS client for windows is the only thing you need, you can follow these steps outlined in a support article:

Installing Client for NFS from the command line
Windows Services for UNIX version 3.0 uses Microsoft Installer for installation. As a result, you can install individual modules of the product from the command line. If previous components of Windows Services for UNIX have been installed, you must include these components in the addlocal parameter of the installation command line, separated by a comma (,). If you do not do so, these products are removed during the installation of Client for NFS.

To install Client for NFS from the command line:
Log on to the Windows computer by using an administrative level account.
Click Start, click Run, type cmd, and then click OK.
Insert the Windows Services for UNIX version 3.0 CD in the CD drive (this example uses drive D).
From the command prompt, run the following command to install Client for NFS:
msiexec /I D:\sfusetup.msi /qb addlocal="NFSClient" [sfudir="install path"]
Note The default installation path is \SFU.
To include the product key in the command line, add PidKey=key, where key is the 25 character product key.
If you are using either Windows 2000 and Windows XP, you do not have to restart the computer.

Here are the commands to execute on Unix side (Tested on Solaris 8/9/10):

share -F nfs -o rw=

For example if we want to share directory /erp11i/common/share on server cmtier.justanexample.com, this is the command to execute on Solaris command prompt logged in as root:

share -F nfs -o rw=192.168.3.2 /erp11i/common/share

Here is the command to mount this share to be executed on client:

mount to_be_mapped_as_drive:

For example if we want to mount the directory shared above on our client with IP 192.168.3.2

mount cmtier.justanexample.com:/erp11i/common/share X:

No comments: