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]
