[HPADM] SUMMARY: Re-configuring Mirrors

From: Quinn, Bryan (Bryan.Quinn@CooperTools.com)
Date: Fri Sep 20 2002 - 09:56:20 EDT


Big thanks to Dave Antoch!
He had the cleaner approach I was looking for, I knew there was something I
was missing.
Anyways, here is Dave's response and below that is my original post.

I would do it this way..... (If I understand you correctly, you
basically want to swap one external with one internal mirror drive, so
one internal vg00 will be mirrored to an external, and the other external
will be mirrored with the other internal)

1) lvreduce ( using -m 0 ) the external mirror lvol, to remove the
second external disk lvol
2) remove that second external disk from it's external volume group
(vgreduce)
3) Add that external disk to the root vg00 vol group
4) lvextend the vg00 mirror (with -m 2 t o add a SECOND mirror
disk...3 total disks now in vg00)
5) lvreduce the second internal mirror lvol from the vg00 mirror
6) vgreduce that second internal drive from vg00
7) vgextend that internal drive into the external VG
8) lvextend (with -m 1) the external LVOL to include the internal
disk

That should perform a clean swap....

Hope this helps you,

Dave Antoch

Many Thanks!
-Bryan

> -----Original Message-----
> From: Quinn, Bryan [SMTP:Bryan.Quinn@coopertools.com]
> Sent: Friday, September 20, 2002 9:00 AM
> To: 'hpux-admin@dutchworks.nl'
> Subject: [HPADM] Re-configuring Mirrors
>
> Hello Admins,
>
> I have some work to do on one of my boxes to re-configure the way the
> disks
> are being mirrored and would like to gets some opinions on the best way to
> handle this. Currently this box has two internal disks and two external
> disks. The two internals are mirrored to each other and the two externals
> are mirrored to each other. I did not set these boxes up and would like to
> change it so that I have the two internal disks mirrored to the two
> externals. Currently the internals are the boot disk and it's mirror and
> they have VG00 lvols1-11 on them. The external disk has only one lvol, it
> is
> VG00 lvol12 (secondary swap). My plan is to perform the following steps:
>
> a. remove all mirrors on all lvols.
> b. Then remove lvol12 from VG00 (this is the only lvol on the external
> disks.)
> c. remove the three physical volumes from VG00.
> d. re-create the physical volumes and vgextend VG00.
> e. re-create lvol12 on the internal disk
> f. now re-create the mirrors with the new associations from two
> internal
> disks to the two externals.
>
> My question is whether or not I am correct on the above actions? If there
> is
> something missing or an easier way to handle this, please let me know.
>
> Thanks in advance, I greatly appreciate your input!
> Bryan Douglas Quinn
> UNIX Support Specialist
> Cooper Power Tools
> Lexington, SC
> (803) 808-6770
> Bryan.Quinn@coopertools.com
>
>
>
> --
> ---> Please post QUESTIONS and SUMMARIES only!! <---
> To subscribe/unsubscribe to this list, contact
> majordomo@dutchworks.nl
> Name: hpux-admin@dutchworks.nl Owner:
> owner-hpux-admin@dutchworks.nl
>
> Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse
> only)
> http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
> search)

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:20 EDT