mount

Activates a VOB at its VOB-tag directory

APPLICABILITY

ClearCase (cleartool subcommand), Attache (command)

SYNOPSIS

DESCRIPTION

Prerequisite: The VOB being activated must already have a VOB-tag for your host's network region in the ClearCase registry. See the mkvob and mktag reference pages.

The mount command activates one or more VOBs on the local host.

Mounting All VOBs

The mount -all command mounts all public VOBs listed for your host's network region in the VOB registry. (It does not mount private VOBs or VOBs whose tag entries include the mount option noauto.)

Mounting of Public and Private VOBs

A public VOB can be activated with the following command:

cmd-context mount -all

Usually, the system administrator automates this command for ClearCase users at login time.

Private VOB-Tags

Any user can mount any VOB, public or private. The private designation means only that a VOB must be mounted separately, by name.

Only a member of the ClearCase group can use -options to specify mount options on the command line. See the permissions reference page.

See the mkvob reference page for a discussion of public and private VOBs.

VOB-TAGS AND THE VOB STORAGE REGISTRY

You reference a VOB by its VOB-tag (the full pathname of its mount point), not by its storage area pathname. The mount command uses the VOB-tag to retrieve all necessary information from the ClearCase registry: pathname of VOB storage area, pathname of mount point, and mount options.

PERMISSIONS AND LOCKS

Permissions Checking: See Mounting of Public and Private VOBs. Locks: No locks apply.

OPTIONS AND ARGUMENTS

MAKING A MOUNT PERSISTENT. Default: The VOB does not stay mounted across reboots.

-per·sistent

The VOB is mounted after a reboot.

SPECIFYING MOUNT OPTIONS.  Default: Mounts each VOB using the -options field in its vob_tag registry file.

-opt·ions mount-options

(member of the ClearCase group only; mutually exclusive with -all) Ignores the -options field in the vob_tag registry file entry and uses the specified set of options, which can include these:
suid (applicable only for a tag used to mount a VOB on UNIX), ro, rw, soft, hard, intr, nointr, timeo, retrans, noauto, nodnlc, noac, acdirmin, acdirmax, acregmin, acregmax, actimeo, poolmap
Use commas to separate multiple options, not commas and white space. Options that take numeric arguments take the form option=n. Enclose the entire option list in quotes if it contains white space.

ro/rw

Read-only or read-write. VOBs are mounted rw by default.

soft/hard

Soft mount operations time out and return an error if the server does not respond; hard mount operations (the default) will block until successful completion, or until interrupted (see also intr).

intr/nointr

By default, a VOB is mounted in no-interrupt mode. This means that operations on MVFS files cannot be interrupted by typing the interrupt character (typically, CTRL+C or CTRL+BREAK). To enable keyboard interrupts of such operations, use the intr mount option.

timeo/retrans

If you don't specify a time-out or retransmission option, default values are used: timeo=5 (seconds); retrans=7 (retries).

noauto

Prevents a public VOB from being mounted by a cleartool mount -all command.

nodnlc

Turns off the MVFS name cache. See also mvfscache.

noac

Turns off the MVFS attribute cache. See also mvfscache.

acdirmin/
acdirmax

Set minimum and maximum time-out values for directory name lookups in the MVFS attribute cache. See also mvfscache.

acregmin/
acregmax

Set minimum and maximum time-out values for file name lookups in the MVFS attribute cache. See also mvfscache.

actimeo

Sets a single cache timeout value for all four parameters acdirmin, acdirmax, acregmin, and acregmax. Setting one of these specific values overrides the value in actimeo.

poolmap

Supports remote storage pools on UNIX VOB hosts. See Administering ClearCase for details.

SPECIFYING THE VOB(S).  Default: None.

vob-tag

Mounts the VOB with this VOB-tag, which must be specified exactly as it appears in the vob_tag registry file. Use lsvob to list VOBs.
-a·ll

(Mutually exclusive with -options) Mounts all public VOBs listed for your host's network region in the VOB registry, using the mount options in their vob_tag registry entries. (Including the mount option noauto in a VOB-tag's registry entry prevents the VOB from being mounted by mount -all.)

EXAMPLES

Examples including wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.

In cleartool single-command mode, cmd-context represents the command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.

cmd-context mount \Rel4_vob
cmd-context mount -all

SEE ALSO

lsvob, mkvob, mktag, register, registry_ccase, umount



Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved.