Important Update: Cohesity Products Knowledge Base Articles


All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/s/searchunify. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.

Enabling dmp_native_support on Solaris fails due to missing /etc/zfs/zpool.cache.file

Article: 100067407
Last Published: 2024-06-18
Ratings: 0 0
Product(s): InfoScale & Storage Foundation

Description


The Veritas tunable dmp_native_support is responsible for managing Solaris ZFS type devices using Veritas DMP multi-pathing.

When enabling the Veritas tunable dmp_native_support on Solaris, it will require the /etc/zfs/zpool.cache file for the ZFS rpool.


# ls /etc/zfs/zpool.cache
/etc/zfs/zpool.cache: No such file or directory

Error
 

# vxdmpadm settune dmp_native_support=on
Wed Jun  5 15:41:34 2024 VxVM vxnative INFO V-5-2-0 By default DMP does not changenge the  status of exported zpools as part of  changing DMP Native Support tunable.                                   imported please import them with  -d option by specifying appropriate  directory.
VxVM vxdmpadm ERROR V-5-1-15690 Operation failed for one or more zpools

VxVM vxdmpadm ERROR V-5-1-15686 The following zpool(s) could not be migrated as failed to obtain root pool information -

        rpool
 

How to confirm if dmp_native_support is enabled or disabled


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


Note: If the /etc/zfs/zpool.cache does not exist, the user will not be able to enable the Veritas DMP dmp_native_support tunable.


Steps


1.] Create the Solaris based zpool.cache file.

# zpool set cachefile=/etc/zfs/zpool.cache rpool
 

2.] Enable dmp_native_support now the zpool.cache file exists.

# vxdmpadm settune dmp_native_support=on
Wed Jun 5 15:42:37 2024 VxVM vxnative INFO V-5-2-0 By default DMP does not changenge the status of exported zpools as part of changing DMP Native Support tunable.imported please import them with -d option by specifying appropriate directory.


3.] Once enabled, reboot the system.

# reboot


4.] Once the system has been restarted, confirm dmp_native_support is enabled

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


5.] The Solaris zdb command can be used to determine if DMP is managing the ZFS rpool.

# zdb -C rpool

MOS Configuration:
        version: 47
        name: 'rpool'
        state: 0
        txg: 13940899
        pool_guid: 5930908848752619123
        old_guid: 0
        timestamp: 1717582404
        retention_expiry: 0
        hostid: 2230958490
        hostname: ''
        vdev_children: 1
        vdev_tree:
            guid: 5930908848752619123
            id: 0
            type: 'root'
            create_txg: 4
            children[0]:
                guid: 6994666813820559219
                id: 0
                type: 'disk'
                path: '/dev/dsk/dmpdisk_0s0'
                devid: 'id1,dmp@f86234d80619cef8d0002ef8c000c/f86234d80619cef8d0002ef8c000c-a'
                phys_path: '/pseudo/vxdmp@0:f86234d80619cef8d0002ef8c000c-a'

                whole_disk: 1
                metaslab_array: 27
                metaslab_shift: 29
                ashift: 9
                asize: 106837311488
                is_log: 0
                is_meta: 0
                DTL: 594
                create_txg: 4

 

Note: The phys_path value above refers to the vxdmp pseudo device path, along with devid path.


Veritas Volume Manager (VxVM) Private hotfix


InfoScale 8.0 users may be required to install Private VxVM hotfix, vm-sol11_sparc-HotFix-8.0.0.2605 or higher due to known defect when enabling/disabling dmp_native_support
 

The Product Engineering Team currently plans to address this issue by way of a patch or hotfix for InfoScale 8.0.2 and higher.

Please contact your Veritas Sales representative or the Veritas Sales group for upgrade information including upgrade eligibility to the release containing the resolution for this issue.
There are no plans to address this issue by way of a patch or hotfix in earlier versions of the software at the present time.  

Volume Manager 8.0.0.2605 addresses the issue - please refer to Veritas Technical Support for the fix.
 

 

SUMMARY OF INCIDENTS FIXED BY THE PATCH

Patch ID: 8.0.0.2605
* 4142130 (4142129) Unable to disable dmp_native_support on Sol11.
Patch ID: 8.0.0.2604
* 4162227 (4160533) SOL 11.4 Sparc - LDOM is unbootable after enabling Dmp_native_support.
Patch ID: 8.0.0.2603
* 4154816 (4154817) Upgrade of Infoscale failing on solaris 11.4 with error "Failed to turn off dmp_native_support".
Patch ID: 8.0.0.2602
* 4139168 (4139167) VxDMP holds the ZFS dump volume resulting in the ZPOOL failing to be destroyed or exported.


 

Was this content helpful?