Unable to use 'vxassist' command

Article:TECH193927  |  Created: 2012-07-27  |  Updated: 2012-07-27  |  Article URL http://www.symantec.com/docs/TECH193927
Article Type
Technical Solution


Environment

Issue



Unable to use 'vxassist' command


Error



V-5-1-10128:Unable to use vxassist file


Environment



Release: Solaris 9 9/05 s9s_u8wos_05 SPARC
Patch level: SunOS 5.9 Generic_122300-08
Architecture: sun4u sparc SUNW,Netra-T12

VRTS Kernel Modules:
====================
34 13064c4 3a7d6 269 1 vxdmp (VxVM 5.0MP1-2007-01-22a: DMP Dr)
36 7822a000 33d090 270 1 vxio (VxVM 5.0MP1-2007-01-22a I/O dri)
38 133cf8d df8 271 1 vxspec (VxVM 5.0MP1-2007-01-22a control)
125 7895757c a18 - 1 dmpaa (Generic Module for AA type disk)
126 789a74ef ad0 - 1 dmpap (Generic Module for AP type disk)
127 1305c1d a32 - 1 dmpjbod (Generic Module for JBODs)
144 12e7df7 c6b 272 1 vxportal (VxFS 5.0_REV-5.0MP1u_sol portal)
145 78b1a000 1bbf37 8 1 vxfs (VxFS 5.0_REV-5.0MP1u_sol SunOS )
146 78cda000 a3c0 273 1 fdd (VxQIO 5.0_REV-5.0MP1u_sol Quick)


Cause



#vxdmpadm listenclosure all output
ENCLR_NAME ENCLR_TYPE ENCLR_SNO STATUS ARRAY_TYPE
============================================================================
Disk Disk DISKS CONNECTED Disk
EMC0 EMC 101684 DISCONNECTED -
TagmaStore-USP0 TagmaStore-USP 0575A DISCONNECTED -
TagmaStore-USP1 TagmaStore-USP 06F36 CONNECTED A/A

Plus system was reporting disk.info file corruption:
bash-2.05$ grep fffff etc/vx/disk.info | wc -l
159


Solution



First try:
# rm /etc/vx/disk.info
# rm /etc/vx/array.info
# vxconfigd –k –x syslog
.. then test vxassist.

If problem persist:
Rebuild the device tree
This is for a non clustered setup to clean the dev tree.
# cd /dev/vx/dmp
# rm *
# cd /dev/vx/rdmp
# rm *
# cd /etc/vx
# rm -rf *.info
# devfsadm –C <- Solaris only!!!
# vxconfigd –k –x syslog
Or
Once all the above items have been addressed perform a reconfiguration reboot.
# touch /reconfigure
# shutdown -i6 -y -g0




Article URL http://www.symantec.com/docs/TECH193927


Terms of use for this information are found in Legal Notices