mountrepos(8)

Name

mountrepos - Mount the Vesta repository

Synopsis

mountrepos

Description

See the Terminology section of the vesta-intro man page for definitions of terms.

The mountrepos command is a simple shell script to mount the Vesta repository on the local host. It assumes the repository server is already running on the host specified in the active vesta.cfg file.

To run mountrepos on Linux, you need to be root.

To run mountrepos on Tru64 Unix, it is sufficient to be either the owner of the mount point directories specified in vesta.cfg for the repository (normally /vesta and /vesta-work), or root. It can be convenient for these directories to be owned by the Vesta administrator account so that root access is not required to mount them.

If the mount point directories do not already exist, mountrepos attempts to create them, but this is likely to fail unless you are root.

Configuration

The following values are obtained from the Vesta configuration file (vesta.cfg).

[Repository]NFS_host
Host name of the repository NFS server.
[Repository]NFS_port
UDP port of the repository NFS server.
[UserInterface]AppendableRootName
The filename under which the global root directory of Vesta repositories is mounted. Ordinarily set to /vesta.
[UserInterface]MutableRootName
The filename under which the local tree of mutable directories provided by Vesta is mounted. Ordinarily set to /vesta-work.
[Run_Tool]VolatileRootName
The filename under which the local tree of volatile directories provided by Vesta is mounted. Ordinarily set to /vesta-work/.volatile.
[Repository]MountFlags
Flags to pass to vmount(8) when mounting the appendable and mutable roots. Default: -S -I (soft, interruptable).
[Run_Tool]VolatileMountFlags
Flags to pass to vmount(8) when mounting the volatile root. Default: -I (hard, interruptable).

Diagnostics

Here are the most common error messages you are likely to see and what they generally mean.

Not owner: You are neither the owner of the mount point directories nor root.

Device busy: Either the repository is already mounted, or some process on your machine is cd'ed into one of the mount point directories.

mkdir: cannot write directory: One of the mount point directories did not exist, and mountrepos tried to create it, but it failed because you do not have write permission to the parent directory (usually "/").

Timed out: The repository is down.

See Also

vesta-intro(1), repository(8), umountrepos(8), vmount(8).

Author

Tim Mann

Last modified on Tue Apr 29 23:18:47 PDT 2003 by mann
     modified on Mon Nov 12 18:37:13 EST 2001 by ken@xorian.net
This page was generated automatically by mtex software.