Step By Step Procedure for Replacement of a Failed Disk in Solaris (SVM – In Solaris Volume Manager)

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 ...

37 Responses

  1. arunkrish says:

    Hi,

    Its so helpful for me as a solaris admin aspirant .It would be more helpfull if you post something on sun hardware.I cant find a common difference between sun server[between entry level,midrange and enterprise]

  2. Let us know, what else do you want from our Gurkul India. We are always ready to assist you.

  3. Yogesh Raheja says:

    Sure, we are trying to bring every thing which is useful for all Unix Champs so that they can proceed with basis to critical tasks with better understanding for OS.

  4. nasir Khan says:

    Could you please write steps for jumpstarting on Sparc machine

  5. Sure, Nasir, give us few days as in my Sparc M/C mother board got failed… I will work on VMbox and make a doc for you with all configurations..

  6. Also this week I am completely engaged with Linux Filesystem Preparation along with my office work..:-)

  7. Satish says:

    Hi Yogesh really its very help full for me i want some more information about disk replacemet

    1)How to replace a failed disk under  veritas level
    2)How to convert root disk (SVM) under VXVm
    3)jumpstat 
    4)raid 0+1 1+0 which one best why?
    5)Mirroring the root disk in veritas level

    Please help me for the step by step and i need booting info also 

    ksatishbsc@gmail.com

  8. Bonny says:

    Hi GurukulIndia,

    we dont have console for v890 servers.
    could you please write steps for creating ILOM for sun-fire-v890 server.

  9. Hi Bonny, you can get the same info on SUN Site. There are dedicated PDFs given by SUN for the same.

  10. Gurkulindia says:

    @bonny – my understanding is, v890 uses RSC , not sure why you are looking for ILOM. if you mean to say ALOM below is the reference to setup ALOM  - 

    http://wp.me/p1EO9J-2b  

    -> for v890  RSC setup please refer  

    http://wp.me/p1EO9J-28.    

    you can search the blog with V890 for further hardware details.

  11. Shreepati Jha says:

    Hey…. You are doing great work.

  12. Shreepati jha says:

    Could you please tell me process for the Fibre internal disk replacement….This will be a great help.

  13. Prasad says:

    Its really very helpful… I read the other day about VCS also… Can you plz share something basci about SVM also so that SVM will aslo be much easier for us… Thanks in Advance.

  14. Yogesh Raheja says:

    @Prasad, you are most welcome. We will prepare a post on SVM basic and publish it soon.

  15. Santosh says:

    Hi Yogesh,
    can you explain the same scenario in VxVm please

  16. Yogesh Raheja says:

    @Santosh, simplest way is to use vxdiskadm then option 4 & 5. For Complete scenario I have to make a post will whole process.

  17. Ramesh says:

    Hi Yogesh, Great Doc.. Really helped a lot … You and ur team are rocking .. Keep going ..

  18. Yogesh Raheja says:

    @Ramesh, Thanks a lot for your words!!!..

  19. sonu says:

    Hi yogesh, wondering why is that one of the disk doesn’t show in “echo |format” output and also doesn’t show in iostat -En output but the it shows in metastat -p output.

  20. Yogesh Raheja says:

    @Sonu, disk is present and is visible in format , meta & iostat. Infact format & iostat will show you each and every disk in Solaris OS.

  21. sonu says:

    Hi yogi,sorry for confusing you..I was talking about my solaris box…when i do a echo |format i can see only 3 disk although there are 4 disk in that. but when i do a metastat -p i can see the missing disk (as a submirror ) and also the output of “cfgadm -al” is showing that disk along with the other disk and the status is configured and connect..but do not see the disk when i do an iostat -En output its only 3 disk that is getting displayed ..so echo|format,iostat only shows only 3 disk and cfgadm -al, metastat -p shows only 3 disk..

  22. sonu says:

    above correction – last line ** so echo|format,iostat only shows only 3 disk and cfgadm -al, metastat -p shows all 4 disk..

  23. Yogesh Raheja says:

    @Sonu, what I would suggest you is to unconfigure the disk and configure it back. cfgadm -c unconfigure and cfgadm -c configure . (if not allowed use -f option). Again scan the devices devfsadm -Cv. There are chances that OS may not allow you configure/unconfigure. But we have only this option to test and check. Also check the disk paths are available or not in /dev/dsk or /dev/rdsk tree. If this wont work then we need to reconfigure the devices again and the best option for that would be to do reconfig reboot (reboot — -r). Before proceeding check the disk from which your system is booted and run installboot on both root & mirror disk. Perform configure/unconfigure first and let us know if it worked or not.

  24. Yogesh Raheja says:

    @Sonu..also if possible provide us with the outputs of metastat -ac & metadb -i & cfgadm -al & echo | format.

  25. sonu says:

    Thanks yogi for your valuable feedback , i will try that ..i am able to see the disk in the /dev/dsk and /dev/rdsk..lemme try devfsadm -Cv and in worst will go for reconfigure reboot as suggested by you.

  26. krishna says:

    Thanks Yogesh for your quick response…mean while do u have any link for patching for Cluster and under Zones.

  27. Yogesh Raheja says:

    @Krishna, process will remain same as we stated earlier. In cluster you have to shutdown the cluster, disabled the start vcs scripts (gab,llt,vcs etc etc) and proceed with patching. And with zones you can proceed normally (just by shutting down the zones) OS will automatically boot them if any reboot required patch will apply. But if you want to shorten the time edit the .xml file of zones, remove all of the filesystem entries from .xml file, shutdown the zones and then proceed with patching as normal.

  28. krishna says:

    Thanks Yogesh for ur valuable info… :)

  29. Yogesh Raheja says:

    @Krishna, anytime. Hope this helps you. :) Cheers.

  30. krishna says:

    Yogesh…can u pls share the patching procedure for vxvm…

  31. Mushtaq says:

    Hi , 

    I am wondering is there a way or steps that can help to find that the faulty disk is Local / JBOD / SAN

    thanks. 

    • Ramdev says:

      Musthaq, you can identify that information from the device path displaying in the format output. most of the time the SAN device paths constructed using the HBA device driver name. And local will show with normal SCSI( or sometimes FCAL) paths, and jbod will have it’s own device path.

  32. Jeeva says:

    hi,

    please send steps to configure autofs,and LVM

  1. September 18, 2015

    […] Read – Disk Replacement from root Mirror […]

Leave a Reply

Your email address will not be published. Required fields are marked *

[contact-form to='ramkumar.ramadevu@gmail.com' 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