Got it

Veritas DMP Basic Usage and Common Commands

Latest reply: Oct 12, 2021 04:33:47 159 1 2 0 0

The Veritas DMP(Dynamic Multi-Pathing) multipathing software is usually integrated in the Veritas Storage Foundation/InfoScale software package and is used with the Veritas Volume Manager (VxVM) and Veritas File System (VxFS). After the Storage Foundation software is installed, you need to install the Veritas Array Support Library (ASL). Dynamic Multi-Pathing (DMP) uses the Array Support Library (ASL) to provide array-specific support for multipathing. The Array Support Library (ASL) is a shared library that can be dynamically loaded. During device discovery, ASL implements hardware-specific logic to discover device properties.



Use:


Run the LUN scanning command at the OS layer. For example, run rescan-scsi-bus.sh or sh scandisk.sh for Linux.

Run the vxdisk scandisks command at the DMP multipathing layer to scan for LUNs so that the VxVM can load and take over LUNs.


Run the vxdisk list command to view the LUNs taken over.


Run the vxdisk list [device] command to view details about a specific LUN.

Initializing a disk: vxdisksetup –i [device]


Run the vxdg init [disk group name] [disk device] command to create a disk group.

Run the vxassist -g [disk group] make [volume name] [capacity] [disk device] command to create a volume.

Create a file system: mkfs -V vxfs /dev/vx/dsk/ [disk group]/[volume].

Mount the file system: mount -V vxfs /dev/vx/dsk/ [disk group]/[volume] [mount directory]

Run the vxvol -g [disk group] stop [volume] command to stop a volume.

Run the vxvol -g [disk group] start [volume] command to start the volume.

Run the vxedit -g [disk group] -rf rm [volume] command to delete a volume.

Exporting a disk group: vxdg deport [disk group]

Run the vxdg import [disk group] command to import a disk group.

Forcibly import a disk group: vxdg -fC import [disk group]

Run the vxdg -g [disk group] adddisk [disk device] command to add a disk to a disk group.

Run the vxdg -g [disk group] rmdisk [disk device] command to remove a disk from a disk group.

Space reclamation: fsadm -R [file system directory]


Nice info. Thank you
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.