Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1664833.1
Update Date:2015-12-04
Keywords:

Solution Type  Technical Instruction Sure

Solution  1664833.1 :   ODAVP: How to mount ACFS on Ms Windows VM using NFS  


Related Items
  • Oracle Database Appliance Software
  •  
  • Oracle Database Appliance
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  




In this Document
Goal
Solution
 How to mount ACFS on Ms Windows VM using NFS
 How to setup NFS client on Ms windows
 Using Ms Windows 7/8
 Using Ms Windows 2003
 Using Ms Windows 2008
 Mounting an NFS shared resource to a drive letter
References


Applies to:

Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance Software - Version 2.1.0.1 and later
Information in this document applies to any platform.

Goal

The aim of this article is to show how to mount ACFS on Ms Windows virtual machine using NFS (Network File System)

Solution

How to mount ACFS on Ms Windows VM using NFS

Following the article Document : <Note 1934030.1> - ODA (Oracle Database Appliance): HowTo export ACFS (cloudfs) using HANFS, you have ACFS available through HA-NFS (High Available Network File System). Now you need to setup your Ms Windows to mount such file system.

Check on Microsoft web site for more details 

 

How to setup NFS client on Ms windows

Using Ms Windows 7/8

The NFS client must be enabled on the client Windows system. The Windows 7 operating system can provide an NFS client, but the NFS client service is disabled by default, and must be enabled for access to NFS exports from ODA_BASE/BareMetal. Enabling the NFS client on a Windows 7 system:

  1. Select Control Panel.
  2. Select Programs.
  3. Select Programs and Features.
  4. Select Turn Windows Features on or off.
  5. Select Services for NFS.
  6. Select the check box Client for NFS and click OK.

Example:

Win7_steps

 

Using Ms Windows 2003

Windows 2003 has an add on component called Windows Services for UNIX has a component called Client for NFS.  Services for UNIX setup is used to add/remove Client for NFS.

 

Using Ms Windows 2008

Windows 2008 and Windows 2008 R2 the Services for Network File System have been made part of the File Server Role. The Server Manager tool is used to add/remove the Services for Network File System as of Windows 2008 or later.  Windows 2008 and higher also has additional interoperability features for UNIX environments called Subsystem for UNIX-based Applications however installation of this component is not required to enable simple NFS connectivity

  1. Click Start, point to Administrative Tools, and then click Server Manager.
  2. In the left pane, click Roles.
  3. Under Roles Summary in the right pane, click Add Roles. The Add Roles Wizard appears. Click Next.
  4. Select the File Services check box to install this role on the server, and then click Next.
  5. Select the Services for Network File System check box, and then click Next.
  6. Confirm your selection, and then click Install.
  7. When the installation completes, the installation results appear. Click Close.

 

Mounting an NFS shared resource to a drive letter

To mount an NFS shared resource to a drive letter using the command line

Open a command prompt (this does not need to be an elevated command prompt).
At the command prompt, type the following:

mount [–oOptions] ComputerName:\ShareName {DeviceName | *}
or
mount [–oOptions] \\ComputerName\ShareName {DeviceName | *}

 

ArgumentDescription

–o rsize= n

The read buffer size, in kilobytes. Acceptable values are 1, 2, 4, 8, 16, and 32. The default is 32 KB.

–o wsize= n

The write buffer size, in kilobytes. Acceptable values are 1, 2, 4, 8, 16, and 32. The default is 32 KB.

–o timeout= n

The time-out for a remote procedure call (RPC), in seconds. Acceptable values are 0.8, 0.9, and any integer in the range 1-60. The default is 0.8.

–o retry= n

The number of retries for a soft mount. Acceptable values are integers in the range 1-10. The default is 1.
–o mtype={soft | hard}

Soft or hard mount. Regardless of the mount type, the mount will return if it cannot immediately mount the shared resource. However, once the shared resource has been successfully mounted, if the mount type is a hard mount and the Network File System (NFS) server becomes unavailable, Client for NFS will retry accessing the shared resource until the NFS server is once again available. As a result, Windows applications that are trying to access the shared resource will appear to stop responding.

–o anon Mounts as anonymous user.
–o nolock Disables locking. This option might improve performance if you only need to read files
-o lang={euc-jp | euc-tw | euc-kr | shift-jis | big5 | ksc5601 | gb2312-80 | ansi}

Specifies the default encoding used for file and directory names and, if used, must be set to one of the following:

  • ansi
  • big5 (Chinese)
  • euc-jp (Japanese)
  • euc-kr (Korean)
  • euc-tw (Chinese)
  • gb2312-80 (Simplified Chinese)
  • ksc5601 (Korean)
  • shift-jis (Japanese)

If this option is set to ANSI on systems configured for non-English locales, the encoding scheme is set to the default encoding scheme for the locale. The following are the default encoding schemes for the indicated locales:

Japanese: SHIFT-JIS

Korean: KS_C_5601-1987

Simplified Chinese: GB2312-80

Traditional Chinese: BIG5

-o fileaccess= mode

Specifies the default permission mode of new files that are created on the NFS shared resource. The permission mode is written as a three-digit number in the form ogw, where o, g, and w represent the access granted to the file (o)wner, (g)roup, and the (w)orld. Each digit must be in the range 0–7, with the values corresponding to the following access levels:

  • 0: No access
  • 1: x (execute access)
  • 2: w (write access)
  • 3: wx (write and execute access)
  • 4: r (read access)
  • 5: rx (read and execute access)
  • 6: rw (read and write access)
  • 7: rwx (read, write, and execute access)
-o casesensitive Forces case-sensitive file lookup (similar to that of UNIX-based NFS clients).
ComputerName The name of the server with the shared resource to mount.
ShareName The name of the shared directory to mount.

DeviceName | *

The drive letter to assign to the mounted shared resource. The asterisk (*) means to use the next available letter.
   

 

Example:

mount -o rsize=32,wsize=32,mtype=soft,fileaccess=rw,casesensitive \\10.172.80.90\cloudfs V: 

 

References

http://technet.microsoft.com/en-us/library/bb463212.aspx
http://technet.microsoft.com/en-us/library/cc754350.aspx
http://technet.microsoft.com/en-us/library/cc753302%28WS.10%29.aspx
<NOTE:1934030.1> - ODA (Oracle Database Appliance): HowTo export ACFS (cloudfs) using HANFS
<NOTE:1456551.1> - ODA (Oracle Database Appliance): HowTo export ACFS (cloudfs) using NFS

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback