Dynamic Multi-Pathing 7.3.1 Administrator's Guide - Linux
- Understanding DMP
- Setting up DMP to manage native devices
- Using Dynamic Multi-Pathing (DMP) devices with Oracle Automatic Storage Management (ASM)
- Administering DMP
- Administering DMP using the vxdmpadm utility
- Gathering and displaying I/O statistics
- Specifying the I/O policy
- Administering disks
- Discovering and configuring newly added disk devices
- About discovering disks and dynamically adding disk arrays
- How to administer the Device Discovery Layer
- Changing the disk device naming scheme
- Dynamic Reconfiguration of devices
- Reconfiguring a LUN online that is under DMP control using the Dynamic Reconfiguration tool
- Manually reconfiguring a LUN online that is under DMP control
- Event monitoring
- Performance monitoring and tuning
- Appendix A. DMP troubleshooting
- Appendix B. Reference
Overview of manually reconfiguring a LUN
This section only provides an overview of the prechecks and the procedure to manually add or remove a LUN. The procedures have been elaborately documented in the topics listed in the following table:
Table:
Task | Topic |
---|---|
Removing LUN dynamically from an existing target ID | |
Cleaning up the operating system device tree after removing LUNs | See Manually cleaning up the operating system device tree after removing LUNs. |
Scanning an operating system device tree after adding or removing LUNs | See Scanning an operating system device tree after adding or removing LUNs. |
Adding LUN dynamically to a new target ID | |
Changing the LUN characteristics |
Perform the following prechecks before manually reconfiguring a LUN:
Table: Prechecks
Task | Command |
---|---|
Check the | # grep "0xffff" /etc/vx/disk.info |
Refresh the OS layer | # echo '- - -' > /sys/class/scsi_host/host$i/scan |
List OS device handles | # lsscsi |
Refresh VxVM and DMP | # vxdisk scandisks |
Refresh DDL layer/dev_t (device number) list | # vxddladm assign names |
Note:
Ensure that the OS and VxVM are both clean prior to provisioning any new LUNs.
Perform the following steps to manually remove a LUN:
Table: LUN removal steps
Task | Validation |
---|---|
Unmount file system (s) |
Confirm whether the disk has been removed from the disk group. |
Close the VxVM device: # vxdisk rm da-name | Confirm whether the VxVM device has been closed: # vxdisk list |
Disable DMP paths: # vxdmpadm - f disable dmpnodename=da-name | Confirm whether the DMP paths have been disabled: # vxdmpadm getsubpaths dmpnodename=da-name |
Mask LUN from the server | Confirm whether the LUN has been removed at the array level. |
Clean-up OS device handles: # echo 1 > /sys/block/device_name/device/delete | Confirm whether OS device handles are clean: # lsscsi |
Refresh VxVM and DMP: # vxdisk scandisks | |
Refresh DDL layer/dev_t (device number) list: # vxddladm assign names |
To manually add a LUN
- Mask LUN to HBA worldwide name (WWN) in the server.
- Refresh the array database.
- Refresh OS device handles.
- Refresh VxVM and DMP.
- Refresh the
/etc/vx/disk.info
file.