Storage Foundation allows to suppress all paths to a given disk access name using the vxdmpadm CLI

book

Article ID: 100002438

calendar_today

Updated On:

Resolution


The Storage Foundation vxdmpadm interface enables the user to suppress all the paths to a given disk access name(da).

Example

The following da name"emc_clariion0_3" will be suppressed from the VxVM view using the vxdmpadmCLI.

# vxlist disk
TY  DEVICE            DISK           DISKGROUP        SIZE      FREE STATUS
diskdisk_0            -              -              68.32g         - free
diskdisk_1            -              -              68.31g         - free
diskdisk_2            -              -                    -        - uninitialized
diskemc_clariion0_3    -              -                2.05t        - free  <<<
disk emc_clariion0_31  -              -                2.13t        - free
disk emc_clariion0_78  -              -              69.96g         - free
disk emc_clariion0_79  -              -                    -        - notsetup


Note: No path suppression in place at this time. The/etc/vx/vxvm.exclude file will retain VxVM suppression content.

#more /etc/vx/vxvm.exclude
exclude_all0
paths
#
controllers
#
product
#
pathgroups
#


Diskaccess name "emc_clariion0_3" is an EMC CLARiiON EFI lun for which has fourpaths

# vxdisk listemc_clariion0_3
Device:    emc_clariion0_3
devicetag:emc_clariion0_3
type:      auto
hostid:
disk:      name=id=1275925002.71.rdgv240sol14
group:     name=id=
info:      format=sliced,privoffset=1,pubslice=4,privslice=3
flags:    online ready private autoconfigautoimport
pubpaths:  block=/dev/vx/dmp/emc_clariion0_3s4char=/dev/vx/rdmp/emc_clariion0_3s4
privpaths:block=/dev/vx/dmp/emc_clariion0_3s3char=/dev/vx/rdmp/emc_clariion0_3s3
guid:      -
udid:      DGC%5FRAID%205%5FCK200053300424%5F60060160E83416001C81C15E575FDF11
site:      -
version:  2.1
iosize:    min=512 (bytes) max=2048(blocks)
public:    slice=4 offset=0 len=4403937212disk_offset=65570
private:   slice=3 offset=1 len=65535disk_offset=34
update:    time=1275925007seqno=0.2
ssb:       actual_seqno=0.0
headers:   0248
configs:   count=1 len=48345
logs:      count=1len=7325
Defined regions:
config   priv 000017-000247[000231]:copy=01 offset=000000 disabled
config   priv 000249-048362[048114]:copy=01 offset=000231 disabled
log      priv048363-055687[007325]: copy=01 offset=000000 disabled
Multipathinginformation:
numpaths:   4
c1t500601603021C60Ed0  state=enabled   type=secondary
c1t500601683021C60Ed0  state=enabled   type=primary
c1t500601613021C60Ed0  state=enabled   type=secondary
c1t500601693021C60Ed0  state=enabled   type=primary


vxdmpadm CLI syntax


# vxdmpadm exclude vxvmdmpnodename=emc_clariion0_3

The vxdmpadm command populates the/etc/vx/vxvm.exclude file with the four device paths for the CLARiiONlun.

# more /etc/vx/vxvm.exclude
exclude_all0
paths
c1t500601603021C60Ed0 /dev/rdsk/c1t500601603021C60Ed0emc_clariion0_3
c1t500601693021C60Ed0 /dev/rdsk/c1t500601693021C60Ed0emc_clariion0_3
c1t500601683021C60Ed0 /dev/rdsk/c1t500601683021C60Ed0emc_clariion0_3
c1t500601613021C60Ed0 /dev/rdsk/c1t500601613021C60Ed0emc_clariion0_3
#
controllers
#
product
#
pathgroups
#



How to confirm the paths have been suppressed


# vxdmpadmlistexclude
Devices excluded fromVxVM:
--------------------------
Paths :        c1t500601603021C60Ed0  c1t500601693021C60Ed0
               c1t500601683021C60Ed0  c1t500601613021C60Ed0

Controllers : None

VID:PID :None

Devices excluded from multipathing byvxdmp:
-------------------------------------------
Paths :None

Controllers : None

VID:PID : None

Pathgroups :None
----------



How to unsuppress the path suppression for "emc_clariion0_3"


The following vxdmpadm CLI command will un-suppress all the device paths for da "emc_clariion0_3"


#vxdmpadm include vxvm dmpnodename=emc_clariion0_3


The devicepaths are no longer suppressed


#  more/etc/vx/vxvm.exclude
exclude_all0
paths
#
controllers
#
product
#
pathgroups
#



#vxdmpadm listexclude
Devices excluded fromVxVM:
--------------------------
Paths : None

Controllers :None

VID:PID : None

Devices excluded from multipathing byvxdmp:
-------------------------------------------
Paths :None

Controllers : None

VID:PID : None

Pathgroups :None
----------
rdgv240sol13#


Additional content


An EFI (Extensible Firmware Interface) lun will not have a slice 2 as shown below.


# prtvtoc/dev/vx/rdmp/emc_clariion0_3
* /dev/vx/rdmp/emc_clariion0_3 partitionmap
*
* Dimensions:
*     512 bytes/sector
* 4404019200sectors
* 4404019133 accessible sectors
*
* Flags:
*   1:unmountable
*  10:read-only
*
*                          First    Sector    Last
*Partition  Tag  Flags    Sector    Count    Sector  Mount Directory
     3     15    01         34    65536     65569
      4    14    01      65570 44039372124404002781
      8    11    00  4404002782     163844404019165


 
 

 

Issue/Introduction

Storage Foundation allows to suppress all paths to a given disk access name using the vxdmpadm CLI