<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Break Mirror, Replace Disk, and Re-sync How in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988774#M123909</link>
    <description>Again, since you are replacing an internal and non hotswap disk, you need to shutdown the system. Make sure you take a good backup and recovery tape.</description>
    <pubDate>Wed, 04 Jun 2003 13:47:52 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2003-06-04T13:47:52Z</dc:date>
    <item>
      <title>Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988770#M123905</link>
      <description>Greetings&lt;BR /&gt;&lt;BR /&gt;/u is on /dev/vg01/lvol3,  /dev/dsk/c0t5d0 (I think Internal Disk)&lt;BR /&gt;&lt;BR /&gt;Critical software and appls are in this. Runs 7x24x365 (Almost)&lt;BR /&gt;Only /u on this now. all others file sys are moved out.&lt;BR /&gt;&lt;BR /&gt;This is mirrored to  /dev/dsk/c1t9d0  (Hot pluggable External Disk)&lt;BR /&gt;&lt;BR /&gt;Q1) Can I break mirror, i.e want to take out /dev/dsk/c0t5d0&lt;BR /&gt;and replace with a new disk. How to do this.&lt;BR /&gt;&lt;BR /&gt;Q2) After Replace, How to re-sync with /dev/dsk/c1t9d0</description>
      <pubDate>Wed, 04 Jun 2003 13:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988770#M123905</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2003-06-04T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988771#M123906</link>
      <description>Q1) You can break the mirror by using lvreduce -m 0 command. Specify the disk when reducing (/dev/dsk/c0t5d0) and that will free that disk. Remove that disk from VG with vgreduce command or SAM.&lt;BR /&gt;&lt;BR /&gt;Q2) Your /u will be working on a single disk now. Add the new disk, add it to the vg (vg01) with vgextend command. Once extended, mirror it back with:&lt;BR /&gt;&lt;BR /&gt;# lvextend -m 1 lvol_name pv_path&lt;BR /&gt;&lt;BR /&gt;Now check the status with lvdisplay -v command.</description>
      <pubDate>Wed, 04 Jun 2003 13:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988771#M123906</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-06-04T13:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988772#M123907</link>
      <description>You need to take a look at The HP-UX Software Recovery Handbook:&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16" target="_blank"&gt;http://www2.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In particular, look at Chapter 16 on LVM, and the section on "Replacing a Failed Disk".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 04 Jun 2003 13:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988772#M123907</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-06-04T13:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988773#M123908</link>
      <description>You don;t have to break the mirror. First of all perform a full backup on all you lvols in vg01 (just in case). Then all you need to do is shutdown you system, replace c0t5d0 with another disk (make sure scsi id remains the same), then bring the system up in single user mode.&lt;BR /&gt;ISL&amp;gt; hpux -is (;0)/stand/vmunix&lt;BR /&gt;Now the recovery ..&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;==&amp;gt; Check to make sure the disk is there (assuming cXtXd0).&lt;BR /&gt;# pvcreate -f /dev/rdsk/cXtXd0&lt;BR /&gt;# vgcfgrestore -n /dev/vg01 /dev/rdsk/cXtXd0&lt;BR /&gt;# vgchange -a y /dev/vg01&lt;BR /&gt;# vgsync /dev/vg01&lt;BR /&gt;# shutdown -r 0&lt;BR /&gt;That's all ..&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2003 13:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988773#M123908</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-06-04T13:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988774#M123909</link>
      <description>Again, since you are replacing an internal and non hotswap disk, you need to shutdown the system. Make sure you take a good backup and recovery tape.</description>
      <pubDate>Wed, 04 Jun 2003 13:47:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988774#M123909</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-06-04T13:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988775#M123910</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  to break the mirror is fairly easy as you just have to type on command :&lt;BR /&gt;#lvreduce -m 0 /dev/vg01/lvol3 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;that will place your file system onto one disk (c1t9d0).  Once you have changed your disk, you can re-sync using :&lt;BR /&gt;#lvextend -m 1 /dev/vg01/lvol3 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;I would, however, be very cautious since c0t5d0 is internal.  The fact that this disk is internal, I would recommend shutting down the machine before even attemping to remove this drive and replacing it.</description>
      <pubDate>Wed, 04 Jun 2003 13:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988775#M123910</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-06-04T13:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988776#M123911</link>
      <description>Hi, in addition to Wilson comment: be sure that the new disk is the same capacity of the previous, or that your vg can support larger disks (PE per PV), otherwise you may not see any new capacity.&lt;BR /&gt;&lt;BR /&gt;Remember that the mirrrong can take much time.&lt;BR /&gt;&lt;BR /&gt;  HTH,&lt;BR /&gt;    Massimo&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2003 13:51:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988776#M123911</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-04T13:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988777#M123912</link>
      <description>Since it's a internal disk , you will have to shutdown the box.&lt;BR /&gt;&lt;BR /&gt;-Take backup of /u &lt;BR /&gt;-shutdown the box and replace the disk.&lt;BR /&gt;-vgcfgrestore -n /dev/vg01 /dev/dsk/newdisk  vgchange -a y /dev/vg01 and then vgsync /dev/vg01 &lt;BR /&gt;&lt;BR /&gt;No need to lvreduce or break the mirror.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;-USA..</description>
      <pubDate>Wed, 04 Jun 2003 13:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988777#M123912</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-06-04T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988778#M123913</link>
      <description>Thanks all.&lt;BR /&gt;&lt;BR /&gt;Can I do this on-line. i.e when users are using this anytime. Does it matter when I do this.&lt;BR /&gt;&lt;BR /&gt;I prefer breaking the mirror (this way int disk will be no longer used). Make sure everything is OK.&lt;BR /&gt;&lt;BR /&gt;If problems, I can add back to vg01.&lt;BR /&gt;&lt;BR /&gt;Wait for sat/sun then schedule replace.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2003 13:57:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988778#M123913</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2003-06-04T13:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988779#M123914</link>
      <description>For the last question: As I said before, since you are going to replace an internal non hot swappable disk, you will need to shutdown the system. You cannot do this online when the server is working!</description>
      <pubDate>Wed, 04 Jun 2003 14:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988779#M123914</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-06-04T14:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988780#M123915</link>
      <description>Hey Shiju&lt;BR /&gt;&lt;BR /&gt;For Breaking the mirror, can I do this any time&lt;BR /&gt;&lt;BR /&gt;I understand, for Replacing I need to take sys down</description>
      <pubDate>Wed, 04 Jun 2003 14:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988780#M123915</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2003-06-04T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988781#M123916</link>
      <description>Yes you can break the mirror while the system is running. The reason I don;t do it is because if the disk is severely damaged you may end up having to deal with "ghost disk" if the lvreduce and vgreduce operation failed. To break the mirror ..&lt;BR /&gt;# lvreduce -m 0 /dev/vg01/lvol3 /dev/dsk/c0t5d0&lt;BR /&gt;==&amp;gt; If this is successful run the vgreduce next.&lt;BR /&gt;# vgreduce /dev/vg01 /dev/dsk/c0t5d0&lt;BR /&gt;==&amp;gt; Check it with ..&lt;BR /&gt;# vgdisplay -v vg01&lt;BR /&gt;If for the above complains at some point you may have to force the removal of missing PV with ..&lt;BR /&gt;# vgreduce -f vg01</description>
      <pubDate>Wed, 04 Jun 2003 14:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988781#M123916</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-06-04T14:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988782#M123917</link>
      <description>Yes, breaking the mirror can be done when online and users logged in. For replacing you need to shutdown the system. &lt;BR /&gt;&lt;BR /&gt;I would do both at the same time since I need to reboot the system anyway. What will be the benefit to break the mirror first and keep that disk unused for some days? So to reduce risk, I would do both after shutting down.</description>
      <pubDate>Wed, 04 Jun 2003 14:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988782#M123917</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-06-04T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988783#M123918</link>
      <description>When you say it's an internal disk, internal on what kind of system?  If it is a newer rpxxxx system you can hot swap it and do your entire procedure with the system up.  If it is an older system like a K or a D, etc... you will need to shutdown.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jun 2003 14:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988783#M123918</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2003-06-05T14:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Break Mirror, Replace Disk, and Re-sync How</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988784#M123919</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;Please assign points- as you have mentioned this thread in forum successes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Wed, 02 Jul 2003 15:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirror-replace-disk-and-re-sync-how/m-p/2988784#M123919</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-07-02T15:53:11Z</dc:date>
    </item>
  </channel>
</rss>

