IPnom Home • Manuals • ClearCase

 Rational ClearCase Commands Reference

ClearCase Stuff:ClearCase LinksClearCase BooksClearCase Commands ReferenceClearCase ForumsClearCase News
Keyword Live Search (10 results max):
 Type in part of a ClearCase command in the search box.
 
Commands Index:
  intro
  annotate
  apropos
  catcr
  catcs
  cc.icon
  cc.magic
  cd
  chactivity
  chbl
  checkin
  checkout
  checkvob
  chevent
  chflevel
  chfolder
  chmaster
  chpool
  chproject
  chstream
  chtype
  chview
  clearaudit
  clearbug
  cleardescribe
  cleardiffbl
  cleardiff
  clearexport_ccase
  clearexport_cvs
  clearexport_pvcs
  clearexport_rcs
  clearexport_sccs
  clearexport_ssafe
  clearfsimport
  cleargetlog
  clearhistory
  clearimport
  clearjoinproj
  clearlicense
  clearmake
  clearmake.options
  clearmrgman
  clearprojexp
  clearprompt
  cleartool
  clearviewupdate
  clearvobadmin
  comments
  config_ccase
  config_spec
  cptype
  credmap
  creds
  deliver
  describe
  diffbl
  diffcr
  diff
  dospace
  edcs
  endview
  env_ccase
  events_ccase
  export_mvfs
  exports_ccase
  file
  find
  findmerge
  fmt_ccase
  getcache
  get
  getlog
  help
  hostinfo
  init_ccase
  ln
  lock
  lsactivity
  lsbl
  lscheckout
  lsclients
  lscomp
  lsdo
  lsfolder
  lshistory
  ls
  lslock
  lsmaster
  lspool
  lsprivate
  lsproject
  lsregion
  lsreplica
  lssite
  lsstgloc
  lsstream
  lstype
  lsview
  lsvob
  lsvtree
  makefile_aix
  makefile_ccase
  makefile_gnu
  makefile_pmake
  makefile_smake
  makefile_sun
  man
  merge
  mkactivity
  mkattr
  mkattype
  mkbl
  mkbranch
  mkbrtype
  mkcomp
  mkdir
  mkelem
  mkeltype
  mkfolder
  mkhlink
  mkhltype
  mklabel
  mklbtype
  mkpool
  mkproject
  mkregion
  mkstgloc
  mkstream
  mktag
  mktrigger
  mktrtype
  mkview
  mkvob
  mount_ccase
  mount
  msdostext_mode
  mvfslog
  mvfsstorage
  mvfstime
  mvfsversion
  mv
  omake
  pathnames_ccase
  permissions
  profile_ccase
  promote_server
  protect
  protectvob
  pwd
  pwv
  query_language
  quit
  rebase
  recoverview
  reformatview
  reformatvob
  register
  relocate
  rename
  reqmaster
  reserve
  rgy_backup
  rgy_check
  rgy_passwd
  rgy_switchover
  rmactivity
  rmattr
  rmbl
  rmbranch
  rmcomp
  rmdo
  rmelem
  rmfolder
  rmhlink
  rmlabel
  rmmerge
  rmname
  rmpool
  rmproject
  rmregion
  rmstgloc
  rmstream
  rmtag
  rmtrigger
  rmtype
  rmver
  rmview
  rmvob
  schedule
  schemes
  scrubber
  setactivity
  setcache
  setcs
  setplevel
  setsite
  setview
  shell
  snapshot.conf
  softbench_ccase
  space
  startview
  type_manager
  umount
  uncheckout
  unlock
  unregister
  unreserve
  update
  version_selector
  view_scrubber
  vob_restore
  vob_scrubber
  vob_sidwalk
  vob_snapshot
  vob_snapshot_setup
  wildcards_ccase
  winkin
  xclearcase
  xcleardiff
  xmldiffmrg

mount

Activates a VOB at its VOB tag directory

APPLICABILITY

ProductCommand type
ClearCasecleartool subcommand

Platform
UNIX
Windows

SYNOPSIS

  • UNIX only—Mount a single VOB:
    mount [ –opt·ions mount-options ] vob-tag

  • Windows only—Mount a single VOB:
    mount [ –per·sistent ] [ –opt·ions mount-options ] vob-tag

  • UNIX only—Mount all public VOBs:
    mount –a·ll

  • Windows only—Mount all public VOBs:
    mount [ –per·sistent ] –a·ll

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. The mount command mounts a VOB as a file system of type MVFS (multiversion file system) and is inapplicable to non-MVFS installations.

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.) On UNIX systems, this command executes at ClearCase startup time; see the init_ccase reference page.

UNIX—Mounting of Public and Private VOBs

A public VOB can be activated by any user; if the mount-over directory does not already exist, it is created.

A private VOB can be activated only by its owner. The root user or VOB owner can use the standard mount(1M) command to mount a private VOB; other users cannot mount it. The mount-over directory must already exist and be owned by the VOB owner.

Windows—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.

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

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.

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
Ignores the –options field in the VOB tag registry file entry and uses the specified set of options, which can include these:

All platforms—ro, rw, soft, hard, intr, nointr, timeo, retrans, noauto, nodnlc, noac, acdirmin, acdirmax, acregmin, acregmax, actimeo

UNIX—nodev, nosuid, suid

Windows— suid (applicable only for a tag used to mount a VOB on UNIX), poolmap

Note: On UNIX, see the appropriate operating system reference page (for example, mount(1M)) for a description of these options. Enclose this argument in quotes if it contains white space.

Note: On UNIX, if you don't specify a time-out or retransmission option, default values are used:

timeo=5 (seconds)

retrans=7 (retries)

Note: On UNIX, by default, a VOB is mounted in nointr mode. This means that operations on MVFS files (for example, open(2)) cannot be interrupted by typing the INTR character (typically, CTRL+C ). To enable keyboard interrupts of such operations, use the intr mount option.

Note: On Windows, 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/hardSoft 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/retransIf 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/ acdirmaxSet minimum and maximum time-out values for directory name lookups in the MVFS attribute cache. See also mvfscache.
acregmin/ acregmaxSet 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 the Administrator's Guide for details.

Note: The time-out values specified in several of these mount options affect the view's metadata latency (the delay before changes to VOB metadata become visible in a dynamic view other than the one in which the changes were made). Longer time-out values improve performance at the expense of greater latency. Shorter time out values decrease latency, but also have an impact on view performance because the caches must be refreshed more frequently.

Specifying the VOBs

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

The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.

The Windows examples that include 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 UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.

  • Mount the VOB storage directory that is registered with VOB tag /vobs/Rel4.

    cmd-context  mount /vobs/Rel4 

  • Mount all VOBs registered with public VOB tags.

    cmd-context  mount –all 

SEE ALSO

lsvob, mkvob, mktag, mount(1M), mount_ccase, register, umount

SPONSORED LINKS



 

ClearCase Links • ClearCase Books • ClearCase Commands Reference • ClearCase Forums • ClearCase News