DMP support for the ZFS root pool is provided as part of DMP support for native devices. DMP support for ZFS root pool requires Solaris 11.1 or later.
The dmp_native_support tunable automatically enables or disables support for the ZFS root pool along with other zpools. DMP native support can be enabled for root pools created on EFI or SMI labeled disks.
To enable the DMP support for ZFS root
# zpool status pool: rpool state: ONLINE scan: resilvered 24.6G in 0h4m with 0 errors on Tue Feb 5 17:56:57 2013 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c4t50060E8006D43C30d4s0 ONLINE 0 0 0
# vxdmpadm settune dmp_native_support=on VxVM vxdmpadm INFO V-5-1-0 DMP Native Support is enabled for root pool. Please reboot the system for changes to take effect.
On system reboot, the ZFS root pool starts using DMP devices.
# zpool status rpool pool: rpool state: ONLINE scan: resilvered 24.6G in 0h4m with 0 errors on Tue Feb 5 17:56:57 2013 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 hitachi_vsp0_00f4s0 ONLINE 0 0 0 errors: No known data errors # zdb -C rpool MOS Configuration: version: 34 name: 'rpool' state: 0 txg: 291980 pool_guid: 10008700897979933591 timestamp: 1360279240 hostid: 2224483892 hostname: 'sfqasol68' vdev_children: 1 vdev_tree: type: 'root' id: 0 guid: 10008700897979933591 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 2845745816652566832 path: '/dev/dsk/hitachi_vsp0_00f4s0' devid: 'id1,dmp@x001738000e9523e4/x001738000e9523e4-a' phys_path: '/pseudo/vxdmp@0:x001738000e9523e4-a' whole_disk: 0 metaslab_array: 27 metaslab_shift: 28 ashift: 9 asize: 32195739648 is_log: 0 DTL: 606 create_txg:
To disable the ZFS root support
# vxdmpadm settune dmp_native_support=off VxVM vxdmpadm INFO V-5-1-0 DMP Native Support is disabled for root pool. Please reboot the system for changes to take effect.
# zpool status pool: rpool state: ONLINE scan: resilvered 24.6G in 0h4m with 0 errors on Tue Feb 5 17:56:57 2013 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c4t50060E8006D43C30d4s0 ONLINE 0 0 0