About setting up DMP to manage native devices

You can use DMP instead of third-party drivers for advanced storage management. This section describes how to set up DMP to manage ZFS pools and any ZFS file systems that operate on those pools.

After you install DMP, set up DMP for use with ZFS. To set up DMP for use with ZFS, turn on the dmp_native_support tunable. When this tunable is turned on, DMP enables support for ZFS on any device that does not have a VxVM label and is not in control of any third party multi-pathing (TPD) software. In addition, turning on the dmp_native_support tunable migrates any ZFS pools that are not in use onto DMP devices.

The dmp_native_support tunable enables DMP support for ZFS, as follows:

ZFS pools

If the ZFS pools are not in use, turning on native support migrates the devices to DMP devices.

If the ZFSpools are in use, perform steps to turn off the devices and migrate the devices to DMP.

Veritas Volume Manager (VxVM) devices

Native support is not enabled for any device that has a VxVM label. To make the device available for ZFS, remove the VxVM label.

VxVM devices can coexist with native devices under DMP control.

Devices that are multipathed with Third-party drivers (TPD)

If a disk is already multipathed with a third-party driver (TPD), DMP does not manage the devices unless you remove TPD support. After you remove TPD support, turning on the dmp_native_support tunable migrates the devices.

If you have ZFS pools constructed over TPD devices, then you need to follow specific steps to migrate the ZFS pools onto DMP devices.

To turn on the dmp_native_support tunable, use the following command:

# vxdmpadm settune dmp_native_support=on

The first time this operation is performed, the command reports if a pool is in use, and does not migrate those devices. To migrate the pool onto DMP, stop the pool. Then execute the vxdmpadm settune command again to migrate the pool onto DMP.

To verify the value of the dmp_native_support tunable, use the following command:

# vxdmpadm gettune dmp_native_support
         Tunable               Current Value  Default Value
----------------------------    ----------------    -----------------
dmp_native_support               on              off