What is Vxdisk?

vxdisk accesses disks based on disk access names, which are system-specific names that relate to disk addresses. Disk access names are in the form c#t#d#s#, which define a controller number(c#), a SCSI target ID (t#), a SCSI logical unit number (d#), and a partition number (s#).

How do I import a disk group in Veritas?

To move a disk group from one system to another, first disable (deport) the disk group on the original system, and then move the disk between systems and enable (import) the disk group. From the vxdiskadm main menu, select Enable access to (import) a disk group .

How do I scan a VxVM disk?

You can match the OS native names(i.e format) with VXVM enclose based names using the below command. After scanning the disk in OS,Scan the disks in veritas level by using the below command. Note:In older version we may used “vxdctl enable” or “vxconfigd -k” to scan new disks by restarting it vxvm daemon.

What is VxVM in Linux?

VeritasTM Volume Manager (VxVM) by Symantec is a storage management subsystem that allows you to manage physical disks as logical devices called volumes. A VxVM volume appears to applications and the operating system as a physical disk on which file systems, databases and other managed data objects can be configured.

How do I deport DG in VXVM?

Deporting a disk group

  1. Stop all activity by applications to volumes that are configured in the disk group that is to be deported.
  2. To stop the volumes in the disk group, use the following command # vxvol -g diskgroup stopall.
  3. From the vxdiskadm main menu, select Remove access to (deport) a disk group .

What does Vxdctl enable do?

vxdctl enable Request that vxconfigd enter enabled mode, import all disk groups, and rebuild the volume and plex device node directories. This operation can be used even if vxconfigd is already in enabled mode.

How do I scan a new disk in Solaris 11?

Let’s see how we can re-scan the SAN/FC luns on solaris 10/11 hosts. To scan new FC luns, Just execute the below commands. “luxadm probe” also used to scan FC luns but i am happy to use cfgadm….

  1. List the connected HBA.
  2. Reset the HBA using forcelip option.
  3. Verify the controller status using “cfgadm -al”.

How do I create a DG in VxVM?

You must associate a disk group with at least one disk. You can create a new disk group when you select Add or initialize one or more disks from the main menu of the vxdiskadm command to add disks to VxVM control. The disks to be added to a disk group must not belong to an existing disk group.

How install VxVM on Linux?

To install Veritas Volume Manager

  1. Log in as superuser.
  2. Run the installer command to install Veritas Volume Manager.
  3. Enter one or more system names on which Veritas Volume Manager is to be installed.
  4. After the system check completes successfully, press Return to continue.
  5. Enter a VxVM license key.

How do I rename a DG in VxVM?

To rename a disk group during import, use the following command:

  1. # vxdg [-t] -n newdg import diskgroup.
  2. # vxdg [-h hostname ] -n newdg deport diskgroup.
  3. # vxdg -tC -n newdg import diskgroup.
  4. # vxdg -h hostname deport diskgroup.

How do I remove a disc group in Veritas?

Veritas: Remove A Disk Group

  1. remove any volumes from the disks. a. vxassist –g disk-group remove volume volume-name. b. repeat the above procedure for each volume on the disk.
  2. remove disks from the disk group. a. vxdg –g disk-group rmdisk vxvm-disk-name. b.
  3. remove the disk group.

How do I start Vxconfigd?

Sun Solaris Operating Systems – How to Start Volume Manager…

  1. # rm /etc/vx/reconfig.d/state.d/install-db. Solution:
  2. # vxiod set 10. # vxconfigd -m disable.
  3. # vxdctl mode. mode: enabled.
  4. # vxdisk -o alldgs list. Verify all the volumes are enabled:
  5. # vxprint -rthg
  6. # vxvol -g startall.

How is a disk identified in a VxVM?

For vxdisk operations on an initialized disk (disk), the disk may be specified either by its disk access name or by its disk media name.Physical disks in VxVM are assumed to be movable, and are usually identified by a unique disk ID stored on the physical disk, rather than by a disk device node.

What are the operations of the vxdisk utility?

The vxdisk utility performs basic administrative operations on disks. Operations include initializing and replacing disks, as well as taking care of some book-keeping necessary for the disk model presented by VERITAS Volume Manager (VxVM).

How to clear hostID for a Veritas disk?

The following two EMC SRDF disks are reported as failed was, and cannot be associated back into the diskgroup “data_dg”, until the hostid is cleared for both disks. Clear the hostid for a given disk using “vxdisk clearimport “.

How to re-import a disk in vxreattach?

An alternate method is to deport the impacted diskgroup, then re-import it using “vxdg -Cf import “. The vxdg -C option will ensure the “hostid” stored on the related disks are cleared prior to importing the diskgroup.