- Veritas Volume Manager Cheat Sheet
- Veritas Volume Manager Cheat Sheet
- Vxvm Cheat Sheet
- Veritas Volume Manager
- Veritas Volume Manager Commands
- Veritas Volume Manager Wikipedia
Most Veritas Volume Manager (VxVM) 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:
- If you are using a C shell (csh or tcsh), use the commands:
Note: | 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.
This video demonstrates veritas volume manager introduction. This video demonstrates veritas volume manager introduction. VCS agents support both Veritas Volume Manager and Linux Logical Volume Manager (LVM2) - i.e Linux volume groups can be imported and deported by VCS. Is this what you asking, if not, please clarify. Veritas Volume Manager can be mikebounds.
For detailed information about an individual command, refer to the appropriate manual page in the 1M section.
Commands and scripts that are provided to support other commands and scripts, and which are not intended for general use, are not located in /opt/VRTS/bin and do not have manual pages.
Commonly-used commands are summarized in the following tables:
- Table: Obtaining information about objects in VxVM lists commands for obtaining information about objects in VxVM.
- Table: Administering disks lists commands for administering disks.
- Table: Creating and administering disk groups lists commands for creating and administering disk groups.
- Table: Creating and administering subdisks lists commands for creating and administering subdisks.
- Table: Creating and administering plexes lists commands for creating and administering plexes.
- Table: Creating volumes lists commands for creating volumes.
- Table: Administering volumes lists commands for administering volumes.
- Table: Monitoring and controlling tasks lists commands for monitoring and controlling tasks in VxVM.
Table: Obtaining information about objects in VxVM
Command | Description |
---|---|
vxdctl license [init] | List licensed features of VxVM. The init parameter is required when a license has been added or removed from the host for the new license to take effect. |
vxdisk [-g diskgroup] list [diskname] | Lists disks under control of VxVM. Example: |
vxdg list [diskgroup] | Lists information about disk groups. Example: |
vxdg -s list | Lists information about shared disk groups. Example: |
vxdisk -o alldgs list | Lists all diskgroups on the disks. The imported diskgroups are shown as standard, and additionally all other diskgroups are listed in single quotes. |
Displays information about the accessibility and usability of volumes. See the Veritas Volume Manager Troubleshooting Guide. Example: | |
vxprint -hrt [-g diskgroup] [object ..] | Prints single-line information about objects in VxVM. Example: |
vxprint -st [-g diskgroup] [subdisk ..] | Displays information about subdisks. Example: |
vxprint -pt [-g diskgroup] [plex ..] | Displays information about plexes. Example: |
Veritas Volume Manager Cheat Sheet
Table: Administering disks
Command | Description |
---|---|
vxdiskadm | Administers disks in VxVM using a menu-based interface. |
vxdiskadd [devicename ..] | Adds a disk specified by device name. Example: |
Renames a disk under control of VxVM. Example: | |
Sets aside/does not set aside a disk from use in a disk group. Examples: | |
Does not/does allow free space on a disk to be used for hot-relocation. Examples: | |
Adds/removes a disk from the pool of hot-relocation spares. Copay relief paf. Examples: | |
vxdisk offline devicename | Takes a disk offline. Example: # vxdisk offline hdisk1 |
vxdg -g diskgroup rmdisk diskname | Removes a disk from its disk group. Example: # vxdg -g mydg rmdisk mydg02 |
vxdiskunsetup devicename | Removes a disk from control of VxVM. Example: # vxdiskunsetup hdisk3 |
Veritas Volume Manager Cheat Sheet
Vxvm Cheat Sheet
Table: Creating and administering disk groups
Command | Description |
---|---|
Creates a disk group using a pre-initialized disk. Example: | |
Reports conflicting configuration information. Example: | |
vxdg [-n newname] deport diskgroup | Deports a disk group and optionally renames it. Example: |
vxdg [-n newname] import diskgroup | Imports a disk group and optionally renames it. Example: |
vxdg [-n newname] -s import diskgroup | Imports a disk group as shared by a cluster, and optionally renames it. Example: |
Lists the objects potentially affected by moving a disk group. Example: | |
Moves objects between disk groups. Example: | |
Splits a disk group and moves the specified objects into the target disk group. Example: | |
vxdg join sourcedg targetdg | Joins two disk groups. Example: |
Sets the activation mode of a shared disk group in a cluster. Example: | |
vxrecover -g diskgroup -sb | Starts all volumes in an imported disk group. Example: |
vxdg destroy diskgroup | Destroys a disk group and releases its disks. Example: |
Table: Creating and administering subdisks
Command | Description | |
---|---|---|
Creates a subdisk. See Creating subdisks. Example: | ||
Associates subdisks with an existing plex. Example: | ||
Adds subdisks to the ends of the columns in a striped or RAID-5 volume. Example: | ||
Replaces a subdisk. Example: | ||
Splits a subdisk in two. Logitech G HUB Advanced Gaming Software, RGB & Game Profiles. Created with Snap. Created with Snap. TOTAL GEAR CONTROL. Download for WINDOWS DOWNLOAD FOR Mac OS. CREATE GAME PROFILES DOWNLOAD AND SHARE WITH THE COMMUNITY. CONTROL YOUR STREAM BUILT IN OBS AND THIRD PARTY APP INTEGRATION. Logitech G HUB Software lets you customize Logitech G gaming mice, keyboards, headsets, speakers, and other devices. Download Logitech G HUB for Mac - All-purpose application designed to help you control all your Logitech peripherals, manage profiles, lighting effects, and bindings, as well as synchronize. Logitech g hub macros. Example: | ||
Joins two or more subdisks. Example: | ||
Relocates subdisks in a volume between disks. Example:
| ||
vxunreloc [-g diskgroup] original_disk | Relocates subdisks to their original disks. Example: | |
vxsd [-g diskgroup] dis subdisk | Dissociates a subdisk from a plex. Example: | |
vxedit [-g diskgroup] rm subdisk | Removes a subdisk. Example: | |
vxsd [-g diskgroup] -o rm dis subdisk | Dissociates and removes a subdisk from a plex. Example: |
Table: Creating and administering plexes
Veritas Volume Manager
Command | Description |
---|---|
Creates a concatenated plex. Example: | |
Creates a striped or RAID-5 plex. Example: | |
vxplex [-g diskgroup] att volumeplex | Attaches a plex to an existing volume. Example: |
vxplex [-g diskgroup] det plex | Detaches a plex. Example: |
vxmend [-g diskgroup] off plex | Takes a plex offline for maintenance. Example: |
vxmend [-g diskgroup] on plex | Re-enables a plex for use. Example: |
Replaces a plex. Example: | |
Copies a volume onto a plex. Example: | |
vxmend [-g diskgroup] fix clean plex | Sets the state of a plex in an unstartable volume to CLEAN. Example: |
vxplex [-g diskgroup] -o rm dis plex | Dissociates and removes a plex from a volume. Example: |
Table: Creating volumes
Veritas Volume Manager Commands
Command | Description |
---|---|
Displays the maximum size of volume that can be created. Example: | |
Creates a volume. Example: | |
Creates a mirrored volume. Example: | |
Creates a volume that may be opened exclusively by a single node in a cluster. Example: | |
Creates a striped or RAID-5 volume. Example: | |
Creates a volume with mirrored data plexes on separate controllers. Example: | |
Creates a volume from existing plexes. Example: | |
Initializes and starts a volume for use. Example: | |
Initializes and zeros out a volume for use. Example: |
Table: Administering volumes
Veritas Volume Manager Wikipedia
Command | Description | |
---|---|---|
Adds a mirror to a volume. Example: | ||
Removes a mirror from a volume. Example:
| ||
Grows a volume to a specified size or by a specified amount. Example: | ||
Shrinks a volume to a specified size or by a specified amount. Example: | ||
Resizes a volume and the underlying Veritas File System. Example: | ||
Prepares a volume for instant snapshots and for DRL logging. Example: | ||
Takes a full-sized instant snapshot of a volume by breaking off plexes of the original volume. Example: | ||
Takes a full-sized instant snapshot of a volume using a prepared empty volume. See Creating a volume for use as a full-sized instant or linked break-off snapshot. Example: | ||
Creates a cache object for use by space-optimized instant snapshots. A cache volume must have already been created. After creating the cache object, enable the cache object with the vxcache start command. For example: | ||
Takes a space-optimized instant snapshot of a volume. Example: | ||
Refreshes a snapshot from its original volume. Example: | ||
Turns a snapshot into an independent volume. Example: | ||
Removes support for instant snapshots and DRL logging from a volume. Example: | ||
Performs online relayout of a volume. Example: | ||
Relays out a volume as a RAID-5 volume with stripe width W and N columns. Example: | ||
Reverses the direction of a paused volume relayout. Example: | ||
Converts between a layered volume and a non-layered volume layout. Example: | ||
Removes a volume. Example: |
Table: Monitoring and controlling tasks
Command | Description |
---|---|
Specifies a task tag to a VxVM command. Deezer hifi download. Example: | |
Lists tasks running on a system. Example: | |
Monitors the progress of a task. Example: | |
Suspends operation of a task. Example: | |
Lists all paused tasks. Example: | |
Resumes a paused task. Example: | |
Cancels a task and attempts to reverse its effects. Example: |