mountrepos - Mount the Vesta repository
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.
The following values are obtained from the Vesta configuration file (vesta.cfg).
- Host name of the repository NFS server.
- UDP port of the repository NFS server.
- The filename under which the global root directory of Vesta repositories is mounted. Ordinarily set to /vesta.
- The filename under which the local tree of mutable directories provided by Vesta is mounted. Ordinarily set to /vesta-work.
- The filename under which the local tree of volatile directories provided by Vesta is mounted. Ordinarily set to /vesta-work/.volatile.
- Flags to pass to vmount(8) when mounting the appendable and mutable roots. Default: -S -I (soft, interruptable).
- Flags to pass to vmount(8) when mounting the volatile root. Default: -I (hard, interruptable).
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.
vesta-intro(1), repository(8), umountrepos(8), vmount(8).
This page was generated automatically by mtex software.
Tim MannLast modified on Tue Apr 29 23:18:47 PDT 2003 by mann modified on Mon Nov 12 18:37:13 EST 2001 by email@example.com