vxvm issue- vxdisk list can only see the internal disk

By shyjack

 

On the new M4000, with install of vxvm/vcs 4.1, we came across a problem that “vxdisk list” only recognize the internal disks, it ignores all the EMC disk, though they are visiable from format command.

Had tried “vxdctl enable” “vxdisk scandisks”, “cfgadm -c configure c2; cfgadm -c configure c4″ “restart vxvm daemon”, still no luck.

Since solaris is already able to see and use the EMC disk, something wrong with the device descovery with Veritas vxvm. So we digged around with vxddladm command.

drvapp11:/opt/VRTS/man # vxddladm listsupport all

LIBNAME VID PID

==============================================================================

libvxap.so SUN All

libvxatf.so VERITAS ATFNODES

libvxcscovrts.so CSCOVRTS MDS9

libvxeccs.so ECCS All

libvxemc.so EMC SYMMETRIX <————————————- here is the library to discover EMC disks

libvxfujitsu.so FUJITSU GR710, GR720, GR730

libvxhds.so HITACHI All

libvxhitachi.so HITACHI DF350, DF400, DF400F

libvxlsiinf.so LSI INF-01-00

libvxnec.so NEC DS1200, DS1200F, DS3000SL

libvxpurple.so SUN T300

libvxrdac.so VERITAS RDACNODES

libvxsena.so SENA All

libvxshark.so IBM 2105

libvxssa.so SSA SSA

libvxstorcomp.so StorComp OmniForce

libvxveritas.so VERITAS All

libvxvpath.so IBM 2105

libvxxp256.so HP All

drvapp11:/opt/VRTS/man #

drvapp11:/root # vxdisk list <——– no EMC disks are recognized.

DEVICE TYPE DISK GROUP STATUS

c0t0d0s2 auto:none – - online invalid

c0t1d0s2 auto:none – - online invalid

drvapp11:/root #

drvapp11:/root # vxddladm excludearray libname=libvxemc.so <————-here exclude the library for EMC and re-scan disks

drvapp11:/root # vxdctl enable

drvapp11:/root # vxdisk list

DEVICE TYPE DISK GROUP STATUS

Disk_0 auto:cdsdisk – - online

Disk_1 auto:cdsdisk – - online

Disk_2 auto:cdsdisk – - online

Disk_3 auto:cdsdisk – - online

c0t0d0s2 auto:none – - online invalid

c0t1d0s2 auto:none – - online invalid

drvapp11:/root #

After includearray of libvxemc.so, the disks will be gone again, we must exclude this library to get it going.

Not sure what is the side effects of excluding libvxemc.so, Rohana had logged a call with Veritas and will follow it up.

回复