Search This Blog

Friday, August 9, 2013

VxVM vxdisk ERROR V-5-1-2272 NONAMEs2 not a valid dmpnode disk access name.

Storage Team has assigned LUN's, but from one of the enclousre the LUN was visible with the Naming Convention "NONAMEs2"

#  vxdisk -o alldgs list|grep invalid
Disk_3       auto:none       -            -            online invalid
NONAMEs2     auto:none       -            -            online invalid
unix182_157  auto:none       -            -            online invalid
unix182_158  auto:none       -            -            online invalid
unix181_155  auto:none       -            -            online invalid
unix181_156  auto:none       -            -            online invalid
unix181_157  auto:none       -            -            online invalid
unix181_158  auto:none       -            -            online invalid
unix181_159  auto:none       -            -            online invalid
unix181_160  auto:none       -            -            online invalid
unix181_161  auto:none       -            -            online invalid
unix181_162  auto:none       -            -            online invalid
unix181_163  auto:none       -            -            online invalid
unix181_164  auto:none       -            -            online invalid
unix181_165  auto:none       -            -            online invalid

# vxdisk -e list
DEVICE       TYPE      DISK         GROUP        STATUS       OS_NATIVE_NAME   
Disk_0       auto      rootdisk      rootdg       online       c1t0d0s2    
Disk_1       auto      rootmirror    rootdg       online       c1t2d0s2    
Disk_2       auto      spare         rootdg       online       c1t3d0s2    
Disk_3       auto      -             -            online       c1t1d0s2    
VxVM vxdisk ERROR V-5-1-2272 NONAMEs2 not a valid dmpnode disk access name.
NONAMEs2     auto      -             -            online       0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
c1t3d0s2     auto      -             -            error        0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
unix181_0    auto      egndg20d      egndg        online       c2t181d167s2
unix181_1    auto      egndg34d      egndg        online       c2t181d231s2
unix181_2    auto      egndg15b      egndg        online       c2t181d145s2
unix181_3    auto      egndg11b      egndg        online       c2t181d129s2


Soltuion:
To get rid of this, solution is to re-create device mapping, restart vxconfigd, initialize the device, add the disk back to the diskgroup.
# vxdisk rm NONAMEs2 (Remove the device entry in Volume Manager)
# cd /dev/vx/rdmp (Delete all files pertaining to NONAME*)
# cd /dev/vx/dmp (Delete all files pertaining to NONAME*)
# mv /etc/vx/disk.info /etc/vx/disk.info.old
# mv /etc/vx/array.info /etc/vx/array.info.old
# devfsadm -Cv
# vxddladm stop eventsource
# vxconfigd -k (This will recreate the device mapping and the disk.info file)



Remove all the disk with name NONAME
# vxdisk rm NONAMEs2

# pwd
/dev/vx/rdmp
# ls -lrt|grep -i NONAME
crw-------   1 root     other    226,2647 Aug  1 16:55 NONAMEs7
crw-------   1 root     other    226,2646 Aug  1 16:55 NONAMEs6
crw-------   1 root     other    226,2645 Aug  1 16:55 NONAMEs5
crw-------   1 root     other    226,2644 Aug  1 16:55 NONAMEs4
crw-------   1 root     other    226,2643 Aug  1 16:55 NONAMEs3
crw-------   1 root     other    226,2642 Aug  1 16:55 NONAMEs2
crw-------   1 root     other    226,2641 Aug  1 16:55 NONAMEs1
crw-------   1 root     other    226,2640 Aug  1 16:55 NONAMEs0
crw-------   1 root     other    226,2642 Aug  1 16:55 NONAME

# rm NONAME*
# ls -lrt|grep -i NONAME

# cd /dev/vx/dmp  
# ls -lrt|grep -i NONAME
brw-------   1 root     other    226,2647 Aug  1 16:55 NONAMEs7
brw-------   1 root     other    226,2646 Aug  1 16:55 NONAMEs6
brw-------   1 root     other    226,2645 Aug  1 16:55 NONAMEs5
brw-------   1 root     other    226,2644 Aug  1 16:55 NONAMEs4
brw-------   1 root     other    226,2643 Aug  1 16:55 NONAMEs3
brw-------   1 root     other    226,2642 Aug  1 16:55 NONAMEs2
brw-------   1 root     other    226,2641 Aug  1 16:55 NONAMEs1
brw-------   1 root     other    226,2640 Aug  1 16:55 NONAMEs0
brw-------   1 root     other    226,2642 Aug  1 16:55 NONAME
# rm NONAME*
# ls -lrt|grep -i NONAME

# mv /etc/vx/disk.info /etc/vx/disk.info.old
# mv /etc/vx/array.info /etc/vx/array.info.old
# devfsadm -Cv
devfsadm[16972]: verbose: removing file: /devices/pci@9,600000/QLGC,qla@1/st@8,0:
devfsadm[16972]: verbose: removing file: /dev/rmt/0
devfsadm[16972]: verbose: removing file: /devices/pci@9,600000/QLGC,qla@1/st@8,0:n
devfsadm[16972]: verbose: removing file: /dev/rmt/0n
devfsadm[16972]: verbose: removing file: /devices/pci@9,600000/QLGC,qla@1/st@8,0:b
devfsadm[16972]: verbose: removing file: /dev/rmt/0b
devfsadm[16972]: verbose: removing file: /devices/pci@9,600000/QLGC,qla@1/st@8,0:bn
devfsadm[16972]: verbose: removing file: /dev/rmt/0bn
devfsadm[16972]: verbose: removing file: /devices/pci@9,600000/QLGC,qla@1/st@8,0:l
devfsadm[16972]: verbose: removing file: /dev/rmt/0l
devfsadm[16972]: verbose: removing file: /devices/pci@9,600000/QLGC,qla@1/st@8,0:m
devfsadm[16972]: verbose: mknod /devices/pci@9,600000:devctl 0l/3l/20600
The output is much longer, i had shrinked the output.
#


After troubleshooting from vxvm end, Disk are visible now, I will be extending the FS today.

unix182_170  auto      -             -            online       c2t182d248s2
unix182_164  auto      -             -            online       c2t182d249s2
unix182_173  auto      -             -            online       c2t182d250s2
unix182_167  auto      -             -            online       c2t182d251s2
unix182_169  auto      -             -            online       c2t182d252s2
unix182_172  auto      -             -            online       c2t182d253s2
unix182_166  auto      -             -            online       c2t182d254s2
unix182_165  auto      -             -            online       c2t182d255s2
unix182_171  auto      -             -            online       c2t182d173s2
unix182_174  auto      -             -            online       c2t182d175s2
unix182_168  auto      -             -            online       c2t182d177s2

unix181_166  auto      -             -            online       c2t181d248s2
unix181_168  auto      -             -            online       c2t181d249s2
unix181_164  auto      -             -            online       c2t181d250s2
unix181_170  auto      -             -            online       c2t181d251s2
unix181_169  auto      -             -            online       c2t181d252s2
unix181_165  auto      -             -            online       c2t181d253s2
unix181_171  auto      -             -            online       c2t181d254s2
unix181_167  auto      -             -            online       c2t181d255s2
unix181_172  auto      -             -            online       c2t181d173s2
unix181_174  auto      -             -            online       c2t181d181s2
unix181_173  auto      -             -            online       c2t181d199s2

No comments:

Post a Comment