What is Vxdisk?
What is Vxdisk?
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 the Volume Manager. accessname refers to the disk access name, while disk represents the disk media name.
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 Veritas disk in Linux?
Note: This command does not replace the need to scan for devices using the commands that are provided by the OS. Runs vxdisk scandisks….How to scan for disks with Storage Foundation for UNIX & Linux.
| Platform | Procedure |
|---|---|
| Linux | 1. /usr/bin/rescan-scsi-bus.sh 2. vxdctl -f enable |
| Solaris | 1. cfgadm -c configure 2. devfsadm -Cv 3. vxdctl -f enable |
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 Veritas Volume Manager in Linux?
Symantec’s Veritas Volume Manager (VxVM) is a storage management subsystem that allows you to manage physical disks as logical devices called volumes.
How do I start volume in VCS?
Starting a volume makes it available for use, and changes the volume state from DISABLED or DETACHED to ENABLED. To start a DISABLED or DETACHED volume, use the following command: # vxvol [-g diskgroup ] start volume If a volume cannot be enabled, it remains in its current state.
What is Vxdctl?
The vxdctl utility manages aspects of the state of the volume configuration daemon, vxconfigd, sets the default disk group for the system, and also sets up the boot disk group if the root disk is under Veritas Volume Manager (VxVM) control.
How do I enable Vxconfigd?
To determine whether vxconfigd is enabled, use the following command:
- # vxdctl mode.
- # vxconfigd.
- # vxdctl enable.
How do I check Vxconfigd status?
How do I stop Vxconfigd?
- Use the following command to disable failover on any service groups that contain VxVM objects: # hagrp -freeze groupname.
- Enter the following command to stop and restart the VxVM configuration daemon on the affected node: # vxconfigd -k.
How do I eject a disk from VxVM?
To do this, run vxdiskadm and select Remove a disk from the main menu. If you choose y, all volumes are moved off the disk, if possible.
How do I check Veritas DG free space?
How to check free space in DG in Veritas File System. vxdg command in the veritas file system will tell you to show you all disk technical details of all the disks in a specific disk group. DG must be in the mounted state. This output will be in block sizes which is difficult to understand.
How do I mount a Veritas file in Linux?
You can mount a VxFS file system by using the mount command. When you enter the mount command, the generic mount command parses the arguments and the -V FSType option executes the mount command specific to that file system type.
How do I create volume in Veritas?
If you want a volume to be created on specific disks, you must designate those disks to VxVM. More than one disk can be specified. To create a volume on a specific disk or disks, use the following command: # vxassist [-b] [-g diskgroup] make volume length \ [layout=layout] diskname …
How do I create a DG in VxVM?
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….
| Creating a disk group | ||
|---|---|---|
| Prev | Creating and administering disk groups | Next |
How do I add a mount point in VCS?
Solution
- Open VCS configuration and freeze existing Service Groups….. #haconf -makerw.
- Now we will add each of the Mount Resource…
- Now, we can modify the Volumenames in CVMVolDg resource in Oracle-SG.
- Now you can link the resources approprately..
- Now check the status …..
How do I check my DG size in VxVM?
Syntax # vxprint -g | grep ^v | awk ‘{print “Volume : ” $2″ ” $5/2/1024 ” MB (” $5/2/1024/1024 “GB)”}’ Example # vxprint -g fs-general-dg | grep ^v | awk ‘{print “Volume : ” $2″ ” $5/2/1024 ” MB (” $5/2/1024/1024 “GB)”}’ Volume : delphix_svc 8192 MB (8GB) Volume : vol001_8GB 8192 MB (8GB) Volume : vol002_6GB …
How do I restart Vxconfigd?
Solution. vxconfigd is a user land process, so should be seen in the output of ‘ps -ef’ or similar. If the daemon is not running (as in this case), it can usually be restarted by running ‘vxconfigd -k’.
How do I add a disk to an existing DG in VxVM?
You can change the default layout for disks using the vxdisk command or the vxdiskadm utility….Adding a disk to VxVM
- Select Add or initialize one or more disks from the vxdiskadm main menu.
- At the following prompt, enter the disk device name of the disk to be added to VxVM control (or enter list for a list of disks):
How do I remove Lun from Veritas?
Steps
- Remove the devices from the control of Veritas Volume Manager by entering the following command: vxdisk rm device.
- Unmap the LUN from the Linux host.
- Update the logical unit configuration of the host by entering the following command: /usr/bin/rescan-scsi-bus.sh -r.
What is 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).
What is the difference between vxdisk list and listtag?
Note: If the vxdisk listcommand is run on a cluster node, the output shows the local state of the disk on that node, and not the cluster state of the disk. listtag Lists the tag names and tag values that are associated with the disks.
How to initialize disks in preference to the vxdisk initcommand?
To ensure that the disk partition table and the disk format are in agreement, it is recommended that you use the vxdisksetup -icommand to initialize disks in preference to the vxdisk initcommand. The default private region size increased from 512KB to 1MB in release 3.2, and from 1MB to 32MB in release 5.0.