The multiversion file system (MVFS) is a feature of Rational ClearCase that supports dynamic views. Dynamic views use the MVFS to present a selected combination of local and remote files as if they were stored in the native file system when accessed by your application. The selected files are versions of VOB files and view-private files. Before accessing ClearCase data using the MVFS, you must activate a view and mount one or more VOBs. The VOB is mounted as a file system of type MVFS.
Snapshot views do not use the MVFS.
The MVFS is installed as an extension to a host's native operating system. On UNIX computers, code that implements the MVFS is linked with a host's operating system. It can be linked statically, which requires generating a new version of the operating system that includes the MVFS, or dynamically, which means the MVFS code is loaded at system startup time. How the MVFS is linked depends on the type and version of the operating system.
On Windows computers, the MVFS is a file system driver. It is loaded by the Service Control Manager at system start time.
The MVFS is not supported on Windows 98 and Windows Me.
The MVFS supports the following file types:
Files
Directories
Symbolic links (on UNIX only)
You cannot create other file types within a VOB.
When you build software in a dynamic view and a build tool (for example, a compiler) references a pathname, the MVFS passes the pathname on to the appropriate view_server process. During build script execution, clearmake works with the MVFS to audit low-level system calls that reference ClearCase data, recording every instance when a file or directory is created, deleted, or opened for read access. Calls involving these objects are monitored:
Versions of elements used as build input
View-private files used as build input-for example, the checked-out version of a file element
Files created within VOB directories during the build
On Windows, the MVFS has the following known limitations:
File attributes such as System and Hidden are not supported.
OS/2 Extended Attributes (EAs) are not supported.
DOS sharing modes are not supported.
If your application queries an MVFS volume for the amount of disk space, the MVFS always returns the value 512 MB.
The reason for this behavior is as follows: the application may be about to perform operations that require space in the view storage directory or the VOB storage directory. The MVFS does not know whether the application needs to know how much disk space is available for view storage or for VOB storage. Therefore, the MVFS always returns a constant equal to 512 MB, so that the application always tries the operation. Thus, MVFS never causes an operation that may succeed to fail.
Alternate, or short, names inside a VOB on an MVFS file system on Windows are not always valid.
The MVFS cannot guarantee that a file name mapping from a particular long name to a particular short name (a name that is 8.3 compliant) is always valid. For example, a short name may already exist in another version of the given directory. In this case, ClearCase may return the wrong file data. As a result the MVFS does not return a short name for file names that are not 8.3 compliant.
You can run applications that require short names on MVFS in one of the following ways:
By using pathnames that are entirely 8.3 compliant, including view and VOB tags and directory names
By using a VOB symbolic links to create 8.3 compliant names as needed
On Windows, the MVFS can be configured to do case-sensitive or case-insensitive name lookups. In the default configuration, the MVFS performs case-insensitive name lookups, which is the behavior that Windows applications expect. When using dynamic views in mixed networks of Windows and UNIX computers, you may need to change case-sensitivity setting of the MVFS on Windows. See Case-Sensitivity for details.
If you add an executable to source control and want to run it in a dynamic view, you must give it explicit ClearCase execute permission. Use the cleartool protect command, as shown in this example:
cleartool protect -chmod +x executable_filename
The MVFS has several caches that it uses to provide improved performance. For many users, the default cache sizes will provide the best balance between MVFS performance and memory requirements. You may change most of theses caches to help tune the MVFS to better serve special needs. See Examining and Adjusting MVFS Cache Size for more details.
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |