Forum Discussion

kishored's avatar
kishored
Level 2
13 years ago

Existing disk is showing error in vxvm

Hi Team,   One of the disk is showing error in vxdisk list command.The disk is allready member of one disk group and also the disk contain volumes. How can i clear the error flag in the state c...
  • Gaurav_S's avatar
    13 years ago

    I believe you have IOFencing issue here .... that is the reason you are unable to write, & also fencing keys are inconsistent ...

    You can register the keys manually but if possible, have a clean reboot of system after clearing the keys manually ... or atleast restart complete VCS after clearing the keys manually

    so here is what I would say:

    1. clear the IOFencing keys using "vxfenclearpre" command:

    https://sort.symantec.com/public/documents/sf/5.0/solaris/manpages/vcs/vxfenclearpre_1m.html

    2. shutdown all the applications in cluster

    3. shutdown VCS  (hastop -all)

    4. Shutdown Fencing (/etc/init.d/vxfen stop) ... need to run this on both the nodes.

    5. Ensure fencing module is unloaded ( modinfo | grep -i vxfen )

    6. Ensure from gabconfig that only port a exists in all the nodes ( gabconfig -a )

    7. Restart IOFencing on both the nodes (/etc/init.d/vxfen start)

    8. Start cluster one by one on both the nodes (hastart)

    Above procedure should help clear the keys & you should get the access back to the disk ...

    Gaurav