<?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: replace non root vg mirror disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675506#M644307</link>
    <description>Just the question I have.&lt;BR /&gt;Do I first add the new disk to the mirror &lt;BR /&gt;and then do a lvreduce &lt;BR /&gt;and then to do a vgreduce to remove the disk from the volume groupe. &lt;BR /&gt;&lt;BR /&gt;If I first do the mirror what number do I do with the lvextend -m ? &lt;LV&gt; &lt;PV&gt;&lt;/PV&gt;&lt;/LV&gt;</description>
    <pubDate>Mon, 04 Mar 2002 10:57:04 GMT</pubDate>
    <dc:creator>Etienne Holm</dc:creator>
    <dc:date>2002-03-04T10:57:04Z</dc:date>
    <item>
      <title>replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675504#M644305</link>
      <description>My primary mirror on vg01 failed.&lt;BR /&gt;I have a spare disk on the system&lt;BR /&gt;What is the safest way to add this disk to the &lt;BR /&gt;volume groupe and mirror the current disk, and then remove the failed disk from the volume group so that I can replace it on me next scheduled maintanace slot?</description>
      <pubDate>Mon, 04 Mar 2002 10:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675504#M644305</guid>
      <dc:creator>Etienne Holm</dc:creator>
      <dc:date>2002-03-04T10:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675505#M644306</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Best way to go about this is to&lt;BR /&gt;add the disk to the volumegroup.&lt;BR /&gt;Extend the mirror to the new disk with the &lt;BR /&gt;command lvextend.&lt;BR /&gt;split off the the other mirrordisk and remove it from the volumegroup with lvreduce.&lt;BR /&gt;&lt;BR /&gt;This way you have your system continuesly mirrored and you can remove the disk very quickly when you are able to next time.&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Mar 2002 10:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675505#M644306</guid>
      <dc:creator>Corthouts Carlo</dc:creator>
      <dc:date>2002-03-04T10:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675506#M644307</link>
      <description>Just the question I have.&lt;BR /&gt;Do I first add the new disk to the mirror &lt;BR /&gt;and then do a lvreduce &lt;BR /&gt;and then to do a vgreduce to remove the disk from the volume groupe. &lt;BR /&gt;&lt;BR /&gt;If I first do the mirror what number do I do with the lvextend -m ? &lt;LV&gt; &lt;PV&gt;&lt;/PV&gt;&lt;/LV&gt;</description>
      <pubDate>Mon, 04 Mar 2002 10:57:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675506#M644307</guid>
      <dc:creator>Etienne Holm</dc:creator>
      <dc:date>2002-03-04T10:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675507#M644308</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The value of -m should be the total number of mirrors.&lt;BR /&gt;&lt;BR /&gt;You will have 2 mirrors so it should be 2.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PS : Wherever I lay my hat is my home.....But where is that hat</description>
      <pubDate>Mon, 04 Mar 2002 11:09:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675507#M644308</guid>
      <dc:creator>Corthouts Carlo</dc:creator>
      <dc:date>2002-03-04T11:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675508#M644309</link>
      <description>Hi Etienne,&lt;BR /&gt;&lt;BR /&gt;Try this link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=914fb76903bc930c2d/screen=ckiDisplayDocument?docId=200000058036738" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=914fb76903bc930c2d/screen=ckiDisplayDocument?docId=200000058036738&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Take a printout for future reference.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Mar 2002 14:13:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675508#M644309</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-03-04T14:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675509#M644310</link>
      <description>Is the disk that failed a hot-swappable disk?  If so, you can just replace it, do a 'vgcfgrestore -n vg01 /dev/rdsk/c?t?d? and then do a 'vgsync vg01'.</description>
      <pubDate>Mon, 04 Mar 2002 14:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675509#M644310</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-03-04T14:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675510#M644311</link>
      <description>Hi !&lt;BR /&gt;The best way is to replace the failed disk and restor vg configuration with vgcfgrestore command.</description>
      <pubDate>Mon, 04 Mar 2002 14:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675510#M644311</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2002-03-04T14:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675511#M644312</link>
      <description>what I need to do is to restor the mirror onto the new (spare) disk I have on the system. I have not shut down the system.&lt;BR /&gt;&lt;BR /&gt;I added the spare disk to the volume group (vg01)&lt;BR /&gt;The main problem I have is do I create a mirror onto the new disk in the group before I brake the mirror on the failed disk so that I can remove the disk out of the volume groupe. so that I can replace it at a later stage.</description>
      <pubDate>Mon, 04 Mar 2002 14:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675511#M644312</guid>
      <dc:creator>Etienne Holm</dc:creator>
      <dc:date>2002-03-04T14:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675512#M644313</link>
      <description>The disk is not a hotswap so I will have to down the server to replace it</description>
      <pubDate>Mon, 04 Mar 2002 14:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675512#M644313</guid>
      <dc:creator>Etienne Holm</dc:creator>
      <dc:date>2002-03-04T14:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675513#M644314</link>
      <description>&lt;BR /&gt;hi,&lt;BR /&gt;&lt;BR /&gt; yes, since it is not hotswap,&lt;BR /&gt;you would have to bring the system down, replace the disk&lt;BR /&gt;(with the correct settings),&lt;BR /&gt;do a vgcfgrestore and later vgsync on vg01.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;raj</description>
      <pubDate>Mon, 04 Mar 2002 14:51:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675513#M644314</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2002-03-04T14:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675514#M644315</link>
      <description>To clarify what I am attempting&lt;BR /&gt;situation:&lt;BR /&gt;/dev/dsk/c0t8d0 is mirrored to /dev/dsk/c1t2d0&lt;BR /&gt;I have a spare disk in the system /dev/dsk/c1t4d0.&lt;BR /&gt;/dev/c0t8d0 failed.&lt;BR /&gt;&lt;BR /&gt;What i have done so far is to add c1t4d0 to the vg01 and did a lvextend (lvextend -m 3 /dev/vg01/lvol1 /dev/dsk/c1t4d0)&lt;BR /&gt;&lt;BR /&gt;now can I do a &lt;BR /&gt;lgreduce -m 2 /dev/vg01/lvol1 /dev/dsk/c0t8d0 &lt;BR /&gt;and then do a vgreduce /vgo1 /dev/dsk/c0t8d0&lt;BR /&gt;To remove the disk from the volume group.</description>
      <pubDate>Mon, 04 Mar 2002 15:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675514#M644315</guid>
      <dc:creator>Etienne Holm</dc:creator>
      <dc:date>2002-03-04T15:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675515#M644316</link>
      <description>Yes, you could give those steps a try.  But if the disk is completely bad and not responding then the steps may, or may not, complete successfully.</description>
      <pubDate>Mon, 04 Mar 2002 15:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675515#M644316</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-03-04T15:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: replace non root vg mirror disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675516#M644317</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should not have to reduce the mirror, reduce the vg and those things at all. What you could have done is removed the bad disk and restore the vgcfg info for the bad disk to the new disk at a different add,&lt;BR /&gt;&lt;BR /&gt;say /dev/dsk/c0t8d0 - bad disk&lt;BR /&gt;Mirrored to /dev/dsk/c1t2d0&lt;BR /&gt;&lt;BR /&gt;dev/dsk/c1t4d0 - spare disk &lt;BR /&gt;&lt;BR /&gt;/dev/dskc/c0t8d0 - failed&lt;BR /&gt;&lt;BR /&gt;Remove c0t8d0, then do vgcfgrestore,&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg01 -o /dev/rdsk/c0t8d0 /dev/rdsk/c1t4d0&lt;BR /&gt;&lt;BR /&gt;Then do a vgchange to include the disk,&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;now do a vgsync,&lt;BR /&gt;&lt;BR /&gt;vgsync /dev/vg01&lt;BR /&gt;&lt;BR /&gt;This will rebuild the mirror on the new disk. Do a "man vgcfgrestore" for more info on vg cfg restoration to an alternate disk than the original disk.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Mar 2002 16:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-non-root-vg-mirror-disk/m-p/2675516#M644317</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-03-04T16:07:30Z</dc:date>
    </item>
  </channel>
</rss>

