Friday, January 10, 2014

VXVM not started/ VXVM disabled during boot

Many times we get error like VXVM not started in Solaris 10.
To correct this problem, follow to remove the below file.
 rm /etc/vx/reconfig.d/state.d/install-db
and reboot the system. VXVM should start now.
Many times vxconfigd is not started manytimes.
bash-3.00# ps -ef|grep vx
    root   748     1   0 20:30:19 ?           0:05 /sbin/vxesd
    root   626     1   0 20:30:13 ?           0:02 vxconfigd -m disable
It does not bring any disk in OS.
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
bash-3.00# vxdg list
NAME         STATE           ID
To correct this problem, follow below steps:
bash-3.00# vxdctl init <hostname>
bash-3.00#  vxconfigd -kr reset -m boot 
and reboot the system.
After this vxconfigd daemon will come up. and disks do appear now
bash-3.00# ps -ef|grep  vxconfigd
    root  3002     1   0 20:36:17 ?           0:02 vxconfigd -kr reset -m boot
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c1t2d0s2     auto:none       -            -            online invalid
c1t3d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:none       -            -            online invalid
c2t1d0s2     auto:none       -            -            online invalid
c2t2d0s2     auto:none       -            -            online invalid
c2t3d0s2     auto:none       -            -            online invalid
disk_0         auto:none       -            -              online invalid

No comments:

Post a Comment