Cannot vxdisksetup EMC disks
Hello Experts,
I have an EMC AX4-5F attached to 2 servers. Both internal disks of the servers have been initialized, encap and mirrored with Veritas. But my problem is to initialize the EMC disks. Btw, im new with Veritas, hope you experts can help this.
# vxdisksetup -i -f c2t0d1 format=sliced
VxVM vxdisksetup ERROR V-5-2-3628 The dmpnode c2t0d1s2 is disabled.Can not
proceed with vxdisksetup.
#
# vxdisksetup -i -f c3t0d0 format=sliced
VxVM vxdisksetup ERROR V-5-2-3628 The dmpnode c3t0d0s2 is disabled.Can not
proceed with vxdisksetup.
Disk is always with "nolabel" status although it has been labelled many times with "format".
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:sliced rootdg01 rootdg online
c1t1d0s2 auto:sliced rootdg02 rootdg online
c2t0d1s2 auto - - nolabel
c3t0d0s2 auto - - nolabel
#
Some of output worth looking for troubleshooting:
# vxdisk path
SUBPATH DANAME DMNAME GROUP STATE
c1t0d0s2 c1t0d0s2 rootdg01 rootdg ENABLED
c1t1d0s2 c1t1d0s2 rootdg02 rootdg ENABLED
emcpower0c c2t0d1s2 - - DISABLED
emcpower2c c3t0d0s2 - - DISABLED
#
# vxdmpadm enable path=emcpower2c
#
# vxdisk path
SUBPATH DANAME DMNAME GROUP STATE
c1t0d0s2 c1t0d0s2 rootdg01 rootdg ENABLED
c1t1d0s2 c1t1d0s2 rootdg02 rootdg ENABLED
emcpower0c c2t0d1s2 - - DISABLED
emcpower2c c3t0d0s2 - - DISABLED
#
# vxdmpadm getsubpaths dmpnodename=c2t0d1s2
NAME STATE[A] PATH-TYPE[M] CTLR-NAME ENCLR-TYPE ENCLR-NAME ATTRS
================================================================================
emcpower0c DISABLED - emcp PP_EMC_CLARiiON pp_emc_clariion0 -
#
# vxdmpadm getsubpaths dmpnodename=c3t0d0s2
NAME STATE[A] PATH-TYPE[M] CTLR-NAME ENCLR-TYPE ENCLR-NAME ATTRS
================================================================================
emcpower2c DISABLED - emcp PP_EMC_CLARiiON pp_emc_clariion0 -
#
# vxdisk scandisks
#
#
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:sliced rootdg01 rootdg online
c1t1d0s2 auto:sliced rootdg02 rootdg online
c2t0d1s2 auto - - nolabel
c3t0d0s2 auto - - nolabel
#
# vxdisk list c2t0d1s2
Device: c2t0d1s2
devicetag: c2t0d1
type: auto
flags: nolabel private autoconfig
pubpaths: block=/dev/vx/dmp/c2t0d1s2 char=/dev/vx/rdmp/c2t0d1s2
guid: -
udid: DGC%5FRAID%205%5FSL7F1104900006%5F6006016006102B008EDF9BF36FBFE011
site: -
Multipathing information:
numpaths: 1
emcpower0c state=disabled
#
# vxdisk list c3t0d0s2
Device: c3t0d0s2
devicetag: c3t0d0
type: auto
flags: nolabel private autoconfig
pubpaths: block=/dev/vx/dmp/c3t0d0s2 char=/dev/vx/rdmp/c3t0d0s2
guid: -
udid: DGC%5FRAID%205%5FSL7F1104900006%5F6006016006102B005E1475D96FBFE011
site: -
Multipathing information:
numpaths: 1
emcpower2c state=disabled
#
# vxdmpadm listctlr all
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME
=====================================================
c1 Disk ENABLED disk
emcp PP_EMC_CLARiiON DISABLED pp_emc_clariion0
#
# vxdmpadm enable ctlr=emcp
VxVM vxdmpadm ERROR V-5-1-11771 Operation not supported.
#
# vxdctl enable
#
# devfsadm
#
# vxdctl enable
#
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:sliced rootdg01 rootdg online
c1t1d0s2 auto:sliced rootdg02 rootdg online
c2t0d1s2 auto - - nolabel
c3t0d0s2 auto - - nolabel
#
# vxdmpadm listctlr all
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME
=====================================================
c1 Disk ENABLED disk
emcp PP_EMC_CLARiiON DISABLED pp_emc_clariion0
#
# modinfo | grep vx
46 7be1c000 3eea0 313 1 vxdmp (VxVM 5.0MP3RP2: DMP Driver)
48 7ba00000 20bbf0 314 1 vxio (VxVM 5.0MP3RP2 I/O driver)
50 7bbeb508 c78 315 1 vxspec (VxVM 5.0MP3RP2 control/status d)
235 7afcf1c8 cb0 308 1 vxportal (VxFS 5.0_REV-5.0MP3RP2f_sol por)
236 7a600000 1dcc00 21 1 vxfs (VxFS 5.0_REV-5.0MP3RP2f_sol Sun)
239 7aabc000 521d8 312 1 vxfen (VRTS Fence 5.0MP3RP2)
240 7b324000 21ec0 316 1 vxglm (VxGLM 5.0MP3 (SunOS 5.10))
241 7a7ec000 54c0 317 1 vxgms (VxGMS 5.0MP3 (SunOS))
#
# vxddladm set namingscheme=osn
# vxdmpadm listenclosure all
ENCLR_NAME ENCLR_TYPE ENCLR_SNO STATUS ARRAY_TYPE LUN_COUNT
===================================================================================
pp_emc_clariion0 PP_EMC_CLARiiON SL7F1104900006 DISCONNECTED A/A 2
disk Disk DISKS CONNECTED Disk 2
#
# vxdmpadm setattr enclosure pp_emc_clariion0 tpdmode=native
#
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:sliced rootdg01 rootdg online
c1t1d0s2 auto:sliced rootdg02 rootdg online
c2t0d1s2 auto - - nolabel
c3t0d0s2 auto - - nolabel
#
Any idea is appreciated! Thanks!
Jack
Hi,
Thanks for all the ideas, they do help in the troubleshooting.
Anyway, the problem is solved now. The reason the EMC disks was not "recognised" previously is because by default, the disk label is of type SMI. I just had to change the label to EFI, then everything works fine.
format> l
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 1
Warning: This disk has an SMI label. Changing to EFI label will erase all
current partitions.
Continue? yThanks again guys!