
- I should have given more clarification before. By running 'pvcreate -f' you are removing the filesystem and LVM info like VGID etc. Unless you get rid of this information which VxVM does check before using the disk, you can't initialise the disk under VxVM.
- Perform this procedure to install Veritas Volume Manager (VxVM) software on each global-cluster node that you want to install with VxVM. You can install VxVM on all nodes of the cluster, or install VxVM just on the nodes that are physically connected to the storage devices that VxVM will manage.
Objective:
Learn how to integrate, operate, VERITAS Storage Foundation in a Solaris environment. This training provides instruction on operational management procedures for VERITAS Volume Manager (VxVM) and you will learn how to install and configure VERITAS Volume Manager and how to manage disks, disk groups, and volumes by using from the command line.For your kind information In this training , I am not going to explain the theory in depth.
Instead of spending money on training courses , you can learn vxvm yourself by reading this blog and if you have any doubt ,please leave a comment. I will get back to you as soon as possible.
Prerequisites:
1.Skills:Knowledge of UNIX system administration
2.Lab: VM Solaris 10 or physical machine with solaris 10,vxvm 5.0 and above version software.
VXVM objects:
Issue the vxdisksetup -i command. A sample command follows: vxdisksetup -i staassjc00; Confirm that the disk is now under VxVM control by issuing the vxdisk -eoalldgs list command. The following sample output shows the status of the staassjc00 disk as online, which indicates that the disk is now under VxVM control: DEVICE TYPE DISK GROUP STATUS OSNATIVENAME ATTR staassjc00 auto:cdsdisk.
There are several Volume Manager objects that must be understood before you can use the Volume Manager to perform disk management tasks:
Physical objects:
1.Physical disks – Its a physical disk or LUN from storage.
VM disks
A VM disk is a contiguous area of disk space from which the Volume Manager allocates storage.Its nothing but a public region of disk.
A disk group is a collection of VM disks that share a common configuration.
Subdisks
A subdisk is a set of contiguous disk blocks.A VM disk can be divided into one or more subdisks.
Plexes
The Volume Manager uses subdisks to build virtual entities called plexes.A plex consists of one or more subdisks located on one or more disks
Volumes
A volume is a virtual disk device that appears to applications, databases, and file systems like a physical disk partition, but does not have the physical limitations of a physical disk partition.
In this tutorial,we are going to cover the below topics.In the end of these tutorials you will very familiar with veritas volume manager and its operation.Your suggestions are always welcome to improve these tutorials.
Visit Redhat Linux LVM Training articles from here.
table.tableizer-table { border: 1px solid #CCC; font-family: ; font-size: 12px; } .tableizer-table td { padding: 4px; margin: 3px; border: 1px solid #ccc; } .tableizer-table th { background-color: #104E8B; color: #FFF; font-weight: bold; }
Topics | Description |
---|---|
VXVM Tutorial 1 – Installation Guide | Step by step guide of vxvm installation |
VXVM Tutorial 2- DISK Operations tutorial | Step by step guide for vxvm disks adminstration |
VXVM Tutorial 3- Diskgroup Operations | Step by step guide for vxvm diskgroup adminstration |
VXVM Tutorial 4- Volume Operations | Step by step guide for vxvm volume adminstration |
VXVM Tutorial 5- Volume resize | Resizeing veritas volumes on fly using vxresize and vxassist |
VXVM Tutorial 6- Volume online relayout | Step by step guide for vxvm volume online relayout adminstration |
VXVM Tutorial 7- VXDMP(Dynamic Multi Pathing) | VXDMP mulitpathing software administration |
VXVM Tutorial 8 – VXVM Instant Snapshots | Step by step guide for Full-sized instant snapshot |
VXVM Tutorial 9 – Space-optimized instant snapshot | Step by step guide for Space-optimized instant snapshot |
VXVM Tutorial 10 – Third-mirror break-off snapshots | Step by step guide for Third-mirror break-off snapshots |
VXVM Tutorial 11 – Linked Break-off snapshot | Step by step guide for Linked Break-off snapshot |
Veritas has re-branded it’s “Storage Foundation and High Availability” family products and now, from version 7 all the of the Veritas products under this category comes with a brand name of “Infoscale“. In this tutorial, we are going to teach how to create a Veritas Volume Manager (VxVM) volume and then how to create a VxFS filesystem and mount it in Red Hat Enterprise Linux 7 (RHEL 7).

This will be a basic VxVM tutorial with easy to understand steps. For better understanding perform this live on your test environment for learning.
Pre-Requisite:
1.Red Hat Enterprise Linux 7 (RHEL 7) or CentOS 7.
2. Infoscale Foundation (VxVM + VxFS).
3. Knowledge of Linux Operating System.
Creating Veritas Volume Manager (VxVM) Volume & Filesystem in RHEL 7
1. First of all, check the disks which are visible to Veritas Volume Manager (VxVM) and this can be done by “vxdisk” command as below.
2. Once the disks are visible to the VxVM, initialize the disk which are not under VxVM control, i.e. showing “Online Invalid” status.
By default CDSDISK (Cross-Platform Data Sharing Disk) type is used and can be changed as per requirement.

Once the disk is initialized and is under control of VxVm, we can create a Disk Group (DG). Here we are using a single disk to create a DG and a Volume. No complex layouts in this tutorial like Stripe, Mirror, Mirror-Concat, etc.
3. To create a disk group (DG) with one disk use below command.
testdg01 is a logical name called DM name (Disk media name). If the DM name is not given while creating the disk group, then by default disk name will be used.
4. Once DG is created with one disk, create a volume as below.
The above command will create a volume with the name “testvol” having size 100 MB.
Mounting VxFS Filesystem in Red Hat Enterprise 7 (RHEL 7)
5. Now, once the volume is created, format it as a VxFS filesystem using the below command.
Note: /dev/vx/rdsk/testdg/testvol is a character or RAW device and for mounting we don’t use it. For mounting purpose block device is used.
6. Now create a directory to mount the filesystem.
Now your VxFS filesystem is mounted and you can start using it. If you want to mount it permanently put an entry in “/etc/fstab” file like any other filesystem.
Tip: Use Veritas™ Services and Operations Readiness Tools (SORT) to check version compatibility. It is a web-based tools that optimizes the end to end experience for Veritas products.
This tutorial is just a basic and first in our Veritas Volume Manager (VxVM) tutorial series, we will also cover other simple and advance tutorials, so do subscribe to our blog and get alerts for FREE whenever a new article is published.
Vxvm Cheat Sheet
If you like this article, do not forget to share it with your friends and social network. Also, do let us know if you have any doubts through your comments.
