Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Installing and Administering NFS Services with 10.20 ACE and HWE: HP 9000 Networking > Chapter 1 Overview of the NFS Services

The 10.20 ACE and HWE

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

With the 10.20 ACE and HWE, the NFS Services include the following, which were not part of the original 10.20 NFS Services:

  • AutoFS, the next generation of the NFS automounter. AutoFS solves many of the problems with the automounter. The syntax of the automounter maps does not change with AutoFS, but some of the command-line options are different. See “To Migrate from the Automounter to AutoFS”.

  • CacheFS, a local file system type for caching information that is NFS-mounted from a remote server. CacheFS improves read performance for information that is read repeatedly. See Chapter 3 “Configuring the Cache File System (CacheFS)”.

  • NFS Protocol Version 3 (NFS PV3), the next version of NFS, which improves NFS performance and supports larger files. By default, the local NFS client will attempt to mount a file system using NFS version 3. If the NFS server does not support version 3, the file system will be mounted using version 2. You can specify the mount option vers=2 to force NFS to use NFS PV2. See “To Change the Default Mount Options”.

The Compatibility Switch

The 10.20 ACE and HWE include a system-wide compatibility switch to control the behavior of certain file system APIs.The behavior of the stat(), statfs(), and statvfs() functions is affected. The fstat(), fstatfs(), and fstatvfs() functions are affected as well, by virtue of the fact that they use the stat(), statfs(), and statvfs() functions.

If the switch is in compatibility mode (compatible with the original 10.20 system behavior, which is the default), return values from the stat(), statfs(), and statvfs() system calls are unaffected. With the switch in non-compatibility mode, these calls return different values in the st_fstype field of the stat structure returned by stat(), the f_fsid field of the statfs structure returned by statfs(), or the f_fsid or f_fsindex field of the statvfs structure returned by statvfs().

The values returned are appropriate to the type of file system being queried. Calls to sysfs() with these values will return nfs for NFS Version 2 file systems, nfs3 for NFS Version 3 file systems, autofs for unmounted file systems being monitored by AutoFS, and cachefs for CacheFS mounts. (CacheFS file systems normally return the value of the underlying mount, except for the f_basetype value in the statvfs structure, which will contain the value cachefs for the CacheFS file system.)

To set the switch to compatibility mode (the default), type the following:

onccompat -c

To set the switch to non-compatibility mode, type the following:

onccompat -n

For more information, see the onccompat(1M) man page.

The compatibility switch is available only on the 10.20 ACE and HWE. HP-UX 10.30 and 11.0 already implement the non-compatible behavior.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1998 Hewlett-Packard Development Company, L.P.