SUMMARY: Growing rootvol in VxVM

From: Adams, Jonathan K. [C] (Jonathan.K.Adams_at_nga.mil)
Date: 11/24/05

  • Next message: Paul Hunter: "Sunblade 1000 and Disk Problems"
    To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
    Date: Thu, 24 Nov 2005 11:09:16 -0500
    
    

    Thanks to Noelle Milton Vega and Vicky Mangat for the following info:

    **swipe**

    It can be done... Qualitatively as follows:

    Basically you simply have to unmirror the various O/S related filesystems
    (root, swap, var, etc), and have it run off of just one internal disk.
    This involves detaching plexes from mirrors, removing the unused disks from
    under volume manager control (vxdg & vxdisk commands).

    Once you do that, partition the unused disk as your like and copy over your
    O/S from the disk that is still under VM control (ufsdump | ufsrestore) to
    it.
    On that disk, adjust the /etc/vfstab, /etc/system files, and remove the
    /etc/vx/volboot file, and "touch /etc/vx/reconfig.d/state.d/reconfig".
    Now boot off of that disk.

    Then you can encapsulate that disk and mirror the other way.

    **swipe**
     
    * Break the mirror and replace the disk using may be vxdiskadm and
    choose the option replace the disk.
    * Or remove the disk from VxVM control.
    * Add new add
    * And initialise the new disk.
    * Add it to the rootdg group and mirror all the partitions on the root
    disk to this 73gig disk.
    * run command /usr/lib/vxvm/bin/vxrootmir <mirror disk name>
    * boot from rootmirror and repeat the
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Paul Hunter: "Sunblade 1000 and Disk Problems"

    Relevant Pages

    • Re: Sound Problem (slim)
      ... >> I'll add a status file that will keep track of which mirrors have been ... >> some hints as to what is the best way to free up space on a disk. ... >> uncessesary junk left over from upgrades, kernel builds, software ... > # chkconfig nscd on ...
      (Fedora)
    • Re: 280R + SVM: Controller or disk problem ?
      ... > The system is under maintenance contract for 3 years. ... > replacement disk but I need the procedure to replace it I really don't ... > mirrors and recreate submirror after having replace the disk and copied the ... The SVM doc is not very useful at this point as they don't ...
      (comp.unix.solaris)
    • Re: SUMMARY: cloning boot drive
      ... > metaclear d20 ... > switching the slot the disk is in. ... Recreate all the mirrors from scratch as a new SDS ... First run format to match the donated drives partition sizes. ...
      (SunManagers)
    • SUMMARY: Failed internal mirrored drive - why didnt server stay up?
      ... with just the one good remaining disk? ... LSM does? ... If both mirrors are ... drives are LSM, nor can we do an installable backup (which seems to be ...
      (Tru64-UNIX-Managers)
    • Re: crash during file writing, how to recover ?
      ... >>if my bank balance was wrong. ... Three mirrors implies four copies. ... to replace that disk. ...
      (comp.lang.java)