<?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: how do I swap one of the mirrored root disks? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461607#M210216</link>
    <description>Hi Morten,&lt;BR /&gt;&lt;BR /&gt;There is no need to do lvreduce or anything. Just replaced the failed disk/do vgcfgrestore/ do vgchnage -a y /dev/vg00 to activate the disk and do vgsync.&lt;BR /&gt;&lt;BR /&gt;Take a look at this doc from itrc. documented procedure in replacing a lvm disk.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000073905420" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000073905420&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is KBAN00000347.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Jan 2005 11:51:34 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2005-01-12T11:51:34Z</dc:date>
    <item>
      <title>how do I swap one of the mirrored root disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461602#M210211</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've looked for documentation how I can swap a mirrored root disk. One of our root disks is broken and I want to swap it.&lt;BR /&gt;&lt;BR /&gt;The system is a HP 9000 N-Class running hpux 11.00 and we are using lvm.&lt;BR /&gt;&lt;BR /&gt;I have the understanding that i have to take all lvols out of the mirror with lvreduce, change the broken disk, run mkboot, lvlnboot and then lvextend to set up the mirror again.&lt;BR /&gt;&lt;BR /&gt;But what is the meaning of one-way, two-way and three-way mirroring? How can I determine what is the primary boot disk? How do I control which way the mirroring is done (from A to B or from B to A)?&lt;BR /&gt;&lt;BR /&gt;Can anybody help me please?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Morten K</description>
      <pubDate>Wed, 12 Jan 2005 11:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461602#M210211</guid>
      <dc:creator>Morten Kristiansen</dc:creator>
      <dc:date>2005-01-12T11:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: how do I swap one of the mirrored root disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461603#M210212</link>
      <description>well if the disk and all the lvols on it ARE mirrored, you do not need to reduce the lvols. Just make sure you have the right disk, replace it with the new disk, use vgcfgrestore to write the LVM info back to the disc,, and then vgsync the vg&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2005 11:28:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461603#M210212</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-01-12T11:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: how do I swap one of the mirrored root disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461604#M210213</link>
      <description>HI,&lt;BR /&gt;you already know which is the working disk as you said one of the disks is broken.&lt;BR /&gt;Your understanding is correct:&lt;BR /&gt;unmirror&lt;BR /&gt;remove disk&lt;BR /&gt;rebuild&lt;BR /&gt;sync&lt;BR /&gt;If you use SAM it will pretty much allow you to do all of those things.&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 12 Jan 2005 11:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461604#M210213</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-01-12T11:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: how do I swap one of the mirrored root disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461605#M210214</link>
      <description>Hi Morten,&lt;BR /&gt;&lt;BR /&gt;# setboot &lt;BR /&gt;will display your Primary and Alternate bootpath.&lt;BR /&gt;&lt;BR /&gt;You do not have to use lvreduce just swap the broken disk for a new one&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n /dev/vg00 /dev/rdsk/cxtydz&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;# vgsync&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 12 Jan 2005 11:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461605#M210214</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-01-12T11:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: how do I swap one of the mirrored root disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461606#M210215</link>
      <description>There is no need to remove any LVOLS. I assume this is a hot-plug disk so there is no need to shutdown.&lt;BR /&gt;&lt;BR /&gt;Let's assume the bad disk is c0t6d0.&lt;BR /&gt;&lt;BR /&gt;RAW=/dev/rdsk/c0t6d0&lt;BR /&gt;COOKED=/dev/dsk/c0t6d0&lt;BR /&gt;&lt;BR /&gt;1) Remove the failed disk and insert the replacement disk.&lt;BR /&gt;&lt;BR /&gt;2) vgcfgrestore -n /dev/vg00 ${RAW}&lt;BR /&gt;   vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;3) mkboot ${RAW}&lt;BR /&gt;   mkboot -a "hpux -lq (;0)/stand/vmunix" ${RAW}&lt;BR /&gt;&lt;BR /&gt;4) lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;5) vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;At this point, you are fully recovered but it's always a good idea to make sure that you are able to boot from this disk.&lt;BR /&gt;&lt;BR /&gt;The "way" of mirroring simply means the number of mirror copies maintained for a given LVOL. You really need to abandon the idea of the direction of mirroring with respect to LVM because it has no meaning. All of the "copies" (including the original) are simply mirrors and all are equally valid.&lt;BR /&gt;The exception to this is an lvsplit/lvmerge where you are intentionally splitting off LVOL's for backup purposes and will later merge them back into their normal roles. In this case, the lvmerge definitely has a direction.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2005 11:34:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461606#M210215</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-12T11:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: how do I swap one of the mirrored root disks?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461607#M210216</link>
      <description>Hi Morten,&lt;BR /&gt;&lt;BR /&gt;There is no need to do lvreduce or anything. Just replaced the failed disk/do vgcfgrestore/ do vgchnage -a y /dev/vg00 to activate the disk and do vgsync.&lt;BR /&gt;&lt;BR /&gt;Take a look at this doc from itrc. documented procedure in replacing a lvm disk.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000073905420" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000073905420&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is KBAN00000347.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2005 11:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-swap-one-of-the-mirrored-root-disks/m-p/3461607#M210216</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-12T11:51:34Z</dc:date>
    </item>
  </channel>
</rss>

