If the customer wants to import the exported zpools using DMP, then they would have to do so using the "zpool import -d /dev/vx/dmp command. This would ensure that only the zpools which are imported on the system are migrated to DMP and those which are exported or not. With VxVM hot-fix 7., the tunable is set to "off" by default, so VxVM will not attempt to automatically import any ZFS zpool(s) as part of enabling DMP native support. # vxdmpadm gettune dmp_import_exported_zpools tunable has been written to allow the customer to prevent VxVM from automatically importing ZFS zpools. The DMP tunable dmp_import_exported_zpools. Hence we have the same ZFS zpool(s) imported on 2 or more systems at the same time which leads to ZFS zpool corruption. When the DMP Native support is enabled on a system, VxVM would by default import all ZFS zpools regardless of where they were not intended to be imported and potentially already imported on another host. The customer use-case is some zpools would be imported on node1, whereas other zpools would be imported on node2. Imagine there are 2 systems which are sharing the same ZFS zpool. The original design of VxVM was to by default import all ZFS zpools even if those zpools are exported on the system. RESOLUTION: Changes have been done to not import exported zpools on top of DMP devices and let the customer decide which zpools to import on which server. If the same operation is carried out on 2 servers having shared storage then zpools would be imported on top of DMP devices on both the servers approximately at the same time which leads to zpool corruption. During migration even exported zpools are imported on top of DMP devices.
![openzfs openindiana openzfs openindiana](https://www.ixsystems.com/wp-content/uploads/2015/07/openzfs_logo-1-300x274.png)
SYMPTOM: zpool corruption occurs when DMP Native Support is enabled on two servers at the same time.ĭESCRIPTION: When DMP Native Support is enabled then all the zpools present on the system are migrated to DMP devices. for Solaris 11 Sparc ensures the DMP tunable dmp_import_exported_zpools.is turned off by default. When the tunable is turned off, VxVM will stop automatically importing zpools when enabling DMP (Dynamic Multipathing) native support tunable. The issue is related to the below Solaris (Oracle) incident:Ībstract: SUNBT6710718 Multi-import protection in ZFSĪs this is not practical in all situations, VxVM engineering created a new DMP tunable dmp_import_exported_zpools.to control the automatic import of ZFS zpools. Once activated on a single host, then enable the dmp_native_support tunable on the remaining systems, each in turn. To limit the possibility of corrupting ZFS zpools, it is recommended that the dmp_native_support DMP tunable only be enabled on a single system at a time. The above sample Solaris environment consists of two Solaris Sparc (SOL) servers with several ZFS devices visible to both servers. Taking microseconds to import rather than minutes in some cases. Veritas VCS uses the Zpool agent and enables the user to specify the faster /dev/vx/dmp// path details when importing the ZFS zpool.
#Openzfs openindiana driver
If enabled, DMP can be used as the multi-pathing driver for the management of ZFS pools.
![openzfs openindiana openzfs openindiana](https://www.muylinux.com/wp-content/uploads/2020/05/OpenIndiana-622x415.jpg)
Veritas Volume Manager (VxVM) in connection with Veritas DMP can be used to manage ZFS pools and any ZFS file system(s) that operate on those pools. ZFS configured devices will default with an EFI disk label regardless of the physical LUN size. Traditionally, LUNs which are larger than 1TB in size, are configured with an EFI label (instead of SMI labels). ( SMI) labels, and Extensible Firmware Interface ( EFI) labels. The Solaris Operating System (OS) can use two different types of disk labels: Sun Microsystems, Inc. File systems can directly draw from a common storage pool (zpool). ZFS is a type of file system presenting a pooled storage model developed by SUN (Oracle). This can potential lead to ZFS zpool corruption. If the dmp_native_support DMP tunable is enabled on multiple servers at the same time and these servers have visibility to the same ZFS zpools, this parallel activity can result in DMP importing the same ZFS zpools on multiple systems at the same time.