Appendix A

Commands summary

This appendix summarizes the usage and purpose of important commonly-used commands in Veritas Volume Manager (VxVM). References are included to longer descriptions in the remainder of this book.

Most commands (excepting daemons, library commands and supporting scripts) are linked to the /usr/sbin directory from the /opt/VRTS/bin directory. It is recommended that you add the following directories to your PATH environment variable:

If you are using the Bourne or Korn shell (sh or ksh), use the commands:$ PATH=$PATH:/usr/sbin:/opt/VRTS/bin:/opt/VRTSvxfs/sbin:\/opt/VRTSdbed/bin:/opt/VRTSdb2ed/bin:/opt/VRTSsybed/bin:\/opt/VRTSob/bin$ MANPATH=/usr/share/man:/opt/VRTS/man:$MANPATH$ export PATH MANPATHIf you are using a C shell (csh or tcsh), use the commands:

%set path = ( $path /usr/sbin /opt/VRTSvxfs/sbin \ /opt/VRTSdbed/bin /opt/VRTSdb2ed/bin /opt/VRTSsybed/bin \

/opt/VRTSob/bin /opt/VRTS/bin )%setenv MANPATH /usr/share/man:/opt/VRTS/man:$MANPATHNote: If you have not installed database software, you can omit /opt/

VRTSdbed/bin, /opt/VRTSdb2ed/bin and /opt/VRTSsybed/bin. Similarly, /opt/VRTSvxfs/bin is only required to access some VxFS commands.

VxVM library commands and supporting scripts are located under the /usr/ lib/vxvm directory hierarchy. You can include these directories in your path if you need to use them on a regular basis.

For detailed information about an individual command, refer to the appropriate manual page in the 1M section. A list of manual pages is provided in Online manual pages” on page 507. Commands and scripts that are provided to support