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 pools to DMP devices.

If the ZFS pools are in use, then perform the steps to turn off the pools and migrate the pools 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 multi-pathed with Third-party drivers (TPD)

If a disk is already multi-pathed with a third-party driver (TPD), DMP does not manage the devices unless you remove TPD support. After removing TPD support, turn on the dmp_native_support tunable to migrate the devices.

If ZFS pools are constructed over TPD devices, then perform the steps to migrate the ZFS pools onto DMP devices.

See Migrating ZFS pools to DMP.

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 that pool. To migrate the pool onto DMP, stop the pool. Then execute the vxdmpadm settune command again to migrate the pool onto DMP.

Starting with Solaris 11.1 release, the same procedure also enables DMP support for the ZFS root pool.

Enabling the dmp_native_support tunable may take a long time to complete, depending on the number of LUNs and zpools configured on the system. Do not abort the command.

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