Duplicate device name in vxdisk list output

book

Article ID: 100001811

calendar_today

Updated On:

Description

Error Message

# vxdisk list
 

 
DEVICE       TYPE            DISK         GROUP        STATUS

EMC1_0       auto            -            -            error

EMC1_0       auto            -            -            error

EMC1_0       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_3       auto            -            -            error

EMC1_3       auto            -            -            error

EMC1_3       auto            -            -            error

c1t0d0s2     auto:sliced     rootdisk     rootdg       online

c1t1d0s2     auto:sliced     rootmirror   rootdg       online

c3t8d0s2     auto:none       -            -            online invalid

c3t9d0s2     auto:none       -            -            online invalid

c3t10d0s2    auto:none       -            -            online invalid

emcpower0s2  auto:sliced     datar01      data_dg     online

emcpower1s2  auto:sliced     data02      data_dg     online

emcpower3s2  auto:sliced     data03      data_dg     online

emcpower4s2  auto:sliced     data04      data_dg     online

emcpower5s2  auto            -            -            error
 

Cause

Stale devices in the volume manager device tree.

Resolution

Cleaned the device tree in VM and OS and reconfigure reboot.

 
# vxdisk list 
  
DEVICE       TYPE            DISK         GROUP        STATUS

EMC1_0       auto            -            -            error

EMC1_0       auto            -            -            error

EMC1_0       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_3       auto            -            -            error

EMC1_3       auto            -            -            error

EMC1_3       auto            -            -            error

c1t0d0s2     auto:sliced     rootdisk     rootdg       online

c1t1d0s2     auto:sliced     rootmirror   rootdg       online

c3t8d0s2     auto:none       -            -            online invalid

c3t9d0s2     auto:none       -            -            online invalid

c3t10d0s2    auto:none       -            -            online invalid

emcpower0s2  auto:sliced     data01      data_dg     online

emcpower1s2  auto:sliced     data02      data_dg     online

emcpower3s2  auto:sliced     data03      data_dg     online

emcpower4s2  auto:sliced     data04      data_dg     online

emcpower5s2  auto            -            -            error
 
We cleaned the device tree with the following steps;
 
# cd /dev/vx/dmp
 
# rm -rf *
 
# cd /dev/vx/rdmp
 
# rm -rf *
 
# cd /etc/vx
 
# rm -rf *.info
 
# devfsadm -C
 
# vxconfigd -k -x syslog
  
We still had the duplicate devices in vxdisk list.
  
DEVICE       TYPE            DISK         GROUP        STATUS

EMC1_0       auto            -            -            error

EMC1_0       auto            -            -            error

EMC1_0       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_1       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_2       auto            -            -            error

EMC1_3       auto            -            -            error

EMC1_3       auto            -            -            error

EMC1_3       auto            -            -            error

c1t0d0s2     auto:sliced     rootdisk     rootdg       online

c1t1d0s2     auto:sliced     rootmirror   rootdg       online

c3t8d0s2     auto:none       -            -            online invalid

c3t9d0s2     auto:none       -            -            online invalid

c3t10d0s2    auto:none       -            -            online invalid

emcpower0s2  auto:sliced     data01      data_dg     online

emcpower1s2  auto:sliced     data02      data_dg     online

emcpower3s2  auto:sliced     data03      data_dg     online

emcpower4s2  auto:sliced     data04      data_dg     online

emcpower5s2  auto            -            -            error

 We cleaned the OS device tree with these commands and the commands mentioned above for Volume Manager;
 
# cd /dev/dsk
 
# rm -rf *
 
# cd /dev/rdsk 
  
Still had the duplicate device entry's. At this point they are in memory and a system reboot (reboot -- -r) is necessary.
 
After that the duplicates were gone.
  
# vxdisk list 
  
c1t0d0s2     auto:sliced     rootdisk     rootdg       online

c1t1d0s2     auto:sliced     rootmirror   rootdg       online

c3t8d0s2     auto:none       -            -            online invalid

c3t9d0s2     auto:none       -            -            online invalid

c3t10d0s2    auto:none       -            -            online invalid

emcpower0s2  auto:sliced     data01      data_dg     online

emcpower1s2  auto:sliced     data02      data_dg     online

emcpower3s2  auto:sliced     data03      data_dg     online

emcpower4s2  auto:sliced     data04      data_dg     online
 

 

 

Applies To

Solaris 10

4.1MP2

Issue/Introduction

Stale devices in vxdisk list output