VxVM sees EMC LUN with EFI label in error state.

book

Article ID: 100021921

calendar_today

Updated On:

Resolution

Environment.
- Two nodes sharing the same EMC Lun's.
-5.0MP3RP1HF10 has been installed.
- The LUN's have been initialized and are part of a diskgroup.
- After anode reboot now the LUN's are seen in error state and the DEVICE column shows the disks as emcpower with an s2.
 
#vxdisk list |grep emc
DEVICE      TYPE DISK GROUP STATUS
emcpower20s2  -    -    -   error
 
 
Problem:Solaris host is reporting incorrect partitions for an EFI labeled PowerPath devices.
 
Devicelisting showing devices are being created for VTOC (non-EFI) for device >1TB
 
root@bsespcldb-p2# ls -la /dev/*dsk/emcpower20*
lrwxrwxrwx 1root root 34 Jan 21 14:53 /dev/dsk/emcpower20a ->../../devices/pseudo/emcp@20:a,blk
lrwxrwxrwx 1root root 34 Jan 21 14:53 /dev/dsk/emcpower20b ->../../devices/pseudo/emcp@20:b,blk
lrwxrwxrwx 1root root 34 Jan 21 14:53 /dev/dsk/emcpower20c ->../../devices/pseudo/emcp@20:c,blk
lrwxrwxrwx 1root root 34 Jan 21 14:53 /dev/dsk/emcpower20d ->../../devices/pseudo/emcp@20:d,blk
lrwxrwxrwx 1root root 34 Jan 21 14:53 /dev/dsk/emcpower20e ->../../devices/pseudo/emcp@20:e,blk
lrwxrwxrwx 1root root 34 Jan 21 14:53 /dev/dsk/emcpower20f ->../../devices/pseudo/emcp@20:f,blk
lrwxrwxrwx 1root root 34 Jan 21 14:53 /dev/dsk/emcpower20g ->../../devices/pseudo/emcp@20:g,blk
lrwxrwxrwx 1root root 34 Jan 21 14:53 /dev/dsk/emcpower20h ->../../devices/pseudo/emcp@20:h,blk
 
Special partitions (wd to represent the whole disk) for EFI labeled disks are not being created. In this particular case, we are missing the wd pseudo devices.
 
lrwxrwxrwx 1root root 35 Jan 23 15:46 emcpower20 -> ../../devices/pseudo/emcp@20:wd,blk(in /dev/dsk)
and
lrwxrwxrwx 1root root 35 Jan 23 15:46 emcpower20 -> ../../devices/pseudo/emcp@20:wd,raw(in /dev/rdsk)
 
Solution:
Removedevice from Veritas control:
vxdisk rm emcpower20s2
 
powermt remove dev=emcpower20a
 
remove allentries related to empower20 in /dev/dsk and /dev/rdsk
 
entriesrelated to emcp@20 in /devices can't be removed since this directory isread-only in Solaris 10
 
devfsadm-C
 
powercf-q
 
powermt config
 
All entriesshould now be created in /devices, /dev/dsk and /dev/rdsk.
lrwxrwxrwx 1root root 35 Jan 23 15:46 emcpower20 ->../../devices/pseudo/emcp@20:wd,blk
lrwxrwxrwx 1root root 34 Jan 23 15:46 emcpower20a ->../../devices/pseudo/emcp@20:a,blk
lrwxrwxrwx 1root root 34 Jan 23 15:46 emcpower20b ->../../devices/pseudo/emcp@20:b,blk
lrwxrwxrwx 1root root 34 Jan 23 15:46 emcpower20c ->../../devices/pseudo/emcp@20:c,blk
lrwxrwxrwx 1root root 34 Jan 23 15:46 emcpower20d ->../../devices/pseudo/emcp@20:d,blk
lrwxrwxrwx 1root root 34 Jan 23 15:46 emcpower20e ->../../devices/pseudo/emcp@20:e,blk
lrwxrwxrwx 1root root 34 Jan 23 15:46 emcpower20f ->../../devices/pseudo/emcp@20:f,blk
lrwxrwxrwx 1root root 34 Jan 23 15:46 emcpower20g ->../../devices/pseudo/emcp@20:g,blk
 
Note that an"emcpadm rename -s 20 -t 120" would create a correct emcpower120 pseudodevice.
 
 

 

Issue/Introduction

VxVM sees EMC LUN with EFI label in error state.