About locating snapshot view root directories

When you create a snapshot view, you specify a path to its root directory. This location contains the HCL VersionVault objects that are loaded into your view and the results of work that you do in the snapshot view.

When choosing a directory for the view, consider these constraints:
  • The view root directory must be located on a disk with enough space for the files loaded into the view and any view-private files you add.
  • Your organization may restrict where you can create a view. For example, you may be required to use a disk that is part of a data backup scheme.
  • For Windows® systems, if you want to access the view from other systems, it must be located in a shared directory on a Windows® system. If your makefiles or other files require absolute paths with a specific drive letter, assign the view to a drive letter.
  • On Linux and UNIX® systems, if you want to access the view from other Linux and UNIX® systems workstations, the view must be in a directory that is accessible to the other workstations; that is, choose a disk partition that is exported.

The paths for your snapshot view root directories are not recorded in the HCL VersionVault view registry. The lsview -long view-tag command displays the path of the view storage directory, but not the path of the root directory. If you change the directory to a snapshot view root directory, the cleartool pwv -root command displays the path unless, on Windows® systems only, that path has been mapped to a drive (using the subst command) that is your current drive.

When you create or update a snapshot view, the path for the snapshot view root directory is registered. However, this registry lists remote and local snapshot views and is not updated if you move the snapshot view root directory.

You should choose locations for your snapshot views that you can keep track of easily. On Linux and UNIX® systems, this can be a conventional directory under your home directory or on Windows® systems, your default drive.

One way to find snapshot view root directories on a host is to search the file system for files that are present in every snapshot view root directory: on Linux and UNIX® systems, search for .view.dat files and on Windows® systems, view.dat files.