InfoScale™ 9.0 Dynamic Multi-Pathing Administrator's Guide - Solaris
- Understanding DMP
- How DMP works
- Disk device naming in DMP
- Setting up DMP to manage native devices
- Using Dynamic Multi-Pathing (DMP) devices with Oracle Automatic Storage Management (ASM)
- Administering DMP
- Managing DMP devices for the ZFS root pool
- 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
- About the DMPDR utility
- 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
Adding DMP devices to an existing ZFS pool or creating a new ZFS pool
When the dmp_native_support is ON, you can create a new ZFS pool on an available DMP device. You can also add an available DMP device to an existing ZFS pool. After the ZFS pools are on DMP devices, you can use any of the ZFS commands to manage the pools.
To create a new ZFS pool on a DMP device or add a DMP device to an existing ZFS pool
- Choose disks that are available for use by ZFS.
Use the vxdisk list command to identify these types of disks.
Disks that are not in use by VxVM
The output of vxdisk list shows these disks with the Type auto:none and the Status as online invalid.
Do not run zpool commands on disks with VxVM labels, as these operations can cause data corruption.
Disks previously used by a ZFS pool, if the ZFS pool has been destroyed.
The output of vxdisk list shows these disks with the Type auto:ZFS and the Status as ZFS.
The example shows available disks.
# vxdisk list
DEVICE TYPE DISK GROUP STATUS . . . tagmastore-usp0_0079 auto:none - - online invalid tagmastore-usp0_0080 auto:none - - online invalid tagmastore-usp0_0080 auto:ZFS - - ZFS
- Create a new ZFS pool on a DMP device.
# zpool create newpool tagmastore-usp0_0079s2 # zpool status newpool pool: newpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM newpool ONLINE 0 0 0 tagmastore-usp0_0079s2 ONLINE 0 0 0
- Add a DMP device to an existing ZFS pool.
# zpool add newpool tagmastore-usp0_0080s2 # zpool status newpool pool: newpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM newpool ONLINE 0 0 0 tagmastore-usp0_0079s2 ONLINE 0 0 0 tagmastore-usp0_0080s2 ONLINE 0 0 0 errors: No known data errors
- Run the following command to trigger DMP discovery of the devices:
# vxdisk scandisks
- After the discovery completes, the disks are shown as in use by ZFS:
# vxdisk list
. . . tagmastore-usp0_0079 auto:ZFS - - ZFS tagmastore-usp0_0080 auto:ZFS - - ZFS