Cannot create Zpool/ZFS on DMP device, zpool command fails with the following error: cannot open '<dmpniodename_s2>: no such device in /dev/dsk must be a full path or shorthand device name

book

Article ID: 100004659

calendar_today

Updated On:

Description

Error Message

zpool command reports:

cannot open ': no such device in /dev/dsk
must be a full path or shorthand device name
 

 

Cause

The vxdmp tunable dmp_native_support is set to 'off':

# vxdmpadm gettune dmp_native_support

            Tunable               Current Value          Default Value
------------------------------    -------------          -------------
dmp_native_support                    off                     off
 

Resolution

Set the vxdmp tunable to 'on':

# vxdmpadm settune dmp_native_support=on

check that tunable is properly in place

# vxdmpadm gettune dmp_native_support

            Tunable               Current Value          Default Value
------------------------------    -------------          -------------
dmp_native_support                    on                       off
 


 

Issue/Introduction

Starting with Veritas Volume Manager (VxVM) 5.1, it's possible to create a zpool, using a DMP device.
This operation can fail, here a possible scenario. Let's choose a suitable device: # vxdisk -o alldgs list
  emc_clariion1_179 auto:none       -            -            online invalid
emc_clariion1_180 auto            -            -            nolabel
....
emc_clariion1_226 auto            -            -            nolabel
 ...
 
 
Then try to create a new zpool:

# zpool create -o cachefile=/var/tmp/vxpool.cache vxpool emc_clariion1_179s2
cannot open 'emc_clariion1_179s2': no such device in /dev/dsk
must be a full path or shorthand device name