Procedure for disk replacement under veritas volume manager using vxdiskadm utility.

Yogesh Raheja

Yogesh working as a Consultant in Unix Engineering by profession. And he has multiple years experience in Solaris, Linux , AIX and Veritas Administration. He has been certified for SCSA9, SCSA10, SCNA10, VXVM, VCS, ITILv3. He is very much passionate about sharing his knowledge with others. Specialties: Expertize in Unix/Solaris Server, Linux (RHEL), AIX, Veritas Volume Manager, ZFS, Liveupgrades, Storage Migrations, Cluster deployment (VCS and HACMP) and administration and upgrade on Banking, Telecom, IT Infrastructure, and Hosting Services.

Loading Facebook Comments ...

12 Responses

  1. Sandeep says:

    @Yogesh Thanks for information.But in some cases we have to run #vxdisk scandisks because in some scanerio vxdctl enable did not detect disks so sequences should be..#
    echo |format

    #vxdisk list
    #vxdiskadm ( 4 For replacement the errror disk , 5 for adding the new disk)
    # vxdisk scandisks #vxdisk list
    #echo |format
    #vxdctl enable
    #vxdisk list
    # /etc/vx/bin/vxdisksetup -i c5t0d0
    #vxdisk list
    #vxdiskadm (5th option)
    #vxtask list
    vxdisk list

  2. Yogesh Raheja says:

    @Sandeep, you are quite right. :-), I would also like to let you know that vxdisk scandisks is a combined combination of “devfsadm + vxdctl enable” so the choice is yours :-). Also in solaris10 the arch. is so intelligent that it scan the vxdevices merely by doing rereading of the vxconfigd deamon. But yes in solaris 8 as I already stated there is a well known bug which prevents disks to scan under VxVm. Whatever you do at last you need a reconfig reboot. (though I managed to get it done without reboot in solaris 8, but later on it start showing degraded performance and Orcale provided the solu. to do a reconfig reboot so flush up the old devices unused reference links.). Hope this helps.

  3. Saurabh says:

    Thanks for the steps yogesh :)

    Also, i am looking for these pdf’s
    1. Veritas Storage Foundation 5.1 for UNIX : Install & Configure
    2. Veritas Storage Foundation 5.1 for UNIX: Manage & Administrator do you have this ?

  4. Yogesh Raheja says:

    @Saurabh, you can download the same from Symantec side. You will find all these mentioned pdf’s from there. :)

  5. teesamlovesu says:

    Thank you :)

  6. Yogesh Raheja says:

    @teesamlovesu, you are most welcome at Gurkulindia.

  7. shekar says:

    Hi Ramdev

    ,Very good ArtIcle ,have removed the VMDISK,diskgroup and device etc .the disks are came from Direct attach storage ( DAS ) , what is the procedure to remove the DAS from Solaris 8. pl

  8. Yogesh Raheja says:

    @Shekar, thanks. For DAS, you need to remove the disks from OS and then phyically remove the DAS from server. After that run devfsadm -Cv to clean the unused ref. links.

  9. Chandrashekhar says:

    @Yogesh Thanks for posting such a nice article !!!!!

  10. Viki says:

    I faced issue as i tried to replace failed disk is part of rootvol and it mirror. After selecting option 4 in vxdiskadm and once confirmed the disk by “yes”, server unexpected shutdown and it gone to maintenace mode. Why it happened? Later it was fixed.

  1. July 22, 2016

    […] disk Read – Resolving the Intermittent Disk errors by clearing the failing flag on a disk Read – Procedure for disk replacement under veritas volume manager using vxdiskadm utility. Read […]

Leave a Reply

Your email address will not be published.

[contact-form to='' subject='New Learning Request Submitted'][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Learning Request' type='textarea' required='1'/][contact-field label='Are you Looking for ' type='radio' required='1' options='Paid Training,Free Training'/][/contact-form]

What is your Learning Goal for Next Six Months ? Talk to us