<?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 disk in mirror VG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027689#M633293</link>
    <description>In your initial posting, you mentioned 10.20 so this implies an older box. Be very careful that you are not substituting a High Voltage Differential (HVD/FWD) SCSI drive with LVD SCSI devices used on newer boxes. They are absolutely not compatible. &lt;BR /&gt;&lt;BR /&gt;If the drives are compatible, you don't need to worry about disk geometry. The LVM data structures are at a much higher level. As lonf as the new drive equals or exceeds the capacity of the old drive, vgcfgrestore is all you need.&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Jul 2003 20:45:08 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2003-07-23T20:45:08Z</dc:date>
    <item>
      <title>Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027676#M633280</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;One of the hard disks in mirrored VG has died. I have replaced it online with other same size disk. Should I do some further manipulations on volume group to rebuild the mirror or it is suppossed to happen automatically. So, far nothing happened and vgdisplay still reports one of the physical volumes as unavailable although ioscan show it as CLAIMED. I am using hp-ux 10.20 with Mirroring.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;/M.</description>
      <pubDate>Fri, 18 Jul 2003 16:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027676#M633280</guid>
      <dc:creator>Marius Paulauskas</dc:creator>
      <dc:date>2003-07-18T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027677#M633281</link>
      <description>Marius,&lt;BR /&gt;&lt;BR /&gt;From this link,&lt;BR /&gt;&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;select Chapter 16 Logical Volume Manager (you then have to click on LVM).&lt;BR /&gt;&lt;BR /&gt;In Chapter 16, you will find a section on Replacing a Failed Disk.&lt;BR /&gt;&lt;BR /&gt;It's an excellent source for all the information concerning this topic.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 16:50:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027677#M633281</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-18T16:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027678#M633282</link>
      <description>Nothing is going to happen by magic. If this is NOT a boot disk:&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg01 /dev/rdsk/c3t5d0&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;vgsync /dev/vg01&lt;BR /&gt;&lt;BR /&gt;If it is a boot disk:&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t5d0&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;mkboot /dev/rdsk/c3t5d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix"&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;vgsync&lt;BR /&gt;&lt;BR /&gt;Of course, you need to substitute the appropriate devives and VG.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 16:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027678#M633282</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-18T16:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027679#M633283</link>
      <description>Thanks,&lt;BR /&gt;&lt;BR /&gt;unfortunately, I do not have active support contract so cannot navigate knowledge trees. I will try commands then suggested. hope it will not crash my system. Worse comes to worse and disk is actually primary bootable. Disappointing althought that it cannot do it automatically.&lt;BR /&gt;&lt;BR /&gt;/Marius</description>
      <pubDate>Fri, 18 Jul 2003 17:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027679#M633283</guid>
      <dc:creator>Marius Paulauskas</dc:creator>
      <dc:date>2003-07-18T17:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027680#M633284</link>
      <description>Replacing boot disks is no big deal -- as long as you are mirrored. I have enough drives that I routinely replace one or two per week including boot drives and never bother to shutdown.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 17:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027680#M633284</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-18T17:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027681#M633285</link>
      <description>another question: would it do the thing if I just reboot the system?</description>
      <pubDate>Fri, 18 Jul 2003 17:30:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027681#M633285</guid>
      <dc:creator>Marius Paulauskas</dc:creator>
      <dc:date>2003-07-18T17:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027682#M633286</link>
      <description>No, and in fact you would then have to boot off the alternate. Again, this ain't magic. You need to run the commands I listed for replacing a mirrored boot disk.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 17:35:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027682#M633286</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-18T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027683#M633287</link>
      <description>Ooops,&lt;BR /&gt;&lt;BR /&gt;On the last vgsync, I left off the volume group&lt;BR /&gt;vgsync&lt;BR /&gt;should be&lt;BR /&gt;vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;No point for this please, Clay&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2003 18:00:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027683#M633287</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-18T18:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027684#M633288</link>
      <description>Hi&lt;BR /&gt;The vgcfgrestore... commands 10/10.  But it seems to me that there is a lack of understanding about the LVM.   Quick LVM tour.&lt;BR /&gt;&lt;BR /&gt;LVM is split into a few layers, Physical volumes (PV's) are the physical disks, Volume Groups (VGs) is a Logical space that comprises of 1 or more PVs, lastly Logical Volumes (LVs) is the logical partition of the volume group (which will map onto the PVs).&lt;BR /&gt;&lt;BR /&gt;The PV will keep a map of the layout of the volume group information (Number of PV,s, the VG, LVs &amp;amp; there size) this is heal on the head &amp;amp; foot of each of the PVs variously refered to as VGRA (Volume group Raw Area) &amp;amp; VGDB (VG data base).  This has TWO majour spin offs&lt;BR /&gt; o A disk KNOWs the layout of the LVs on it &lt;BR /&gt; o A disk can have this META information put back onto it if this information is lost or corrupted.&lt;BR /&gt;&lt;BR /&gt;The first means that it is possible to simply import a volume group WITHOUT a volume group map file as long as you know rhe disks that comprised the volume group in the first place. the second means that using vgcfgrestore (a dump oon the filesystems /etc/lvmconf/...) the MATA information (VGDB &amp;amp; VGRA) can be restored to the disk.&lt;BR /&gt;&lt;BR /&gt;Mirroring in LVM is done by mirroring each LV to each LV (NOT DISK to DISK).  If one of the PVs where an LV resides dissapears, mirroring simply stops for that LV.  This means that if you loose a mirrored disk it can be "overcome" by either&lt;BR /&gt; o PVcreating a new disk &amp;amp; simply re-mirroring to it&lt;BR /&gt; o using vgcfgrestore on a fixed disk&lt;BR /&gt;The vgcfgrestore method is far more elagant and that is what it is designed for, but the first is possible.&lt;BR /&gt;&lt;BR /&gt;Anyway I hope this clears the background up slightly.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Sun, 20 Jul 2003 15:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027684#M633288</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-20T15:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027685#M633289</link>
      <description>Last question before I start doing something. Replacement disk is not exactly the same disk as the one which died. I mean it is the same size (18GB) but the one that died is Seagate and replacement is IBM. I am sure they are not exactly same size or at least using differen geometry. Should in this case I rather have to simply &lt;BR /&gt;1) vgreduce to remove "old" PV&lt;BR /&gt;2) vgextend to create a "new" mirror with new disk&lt;BR /&gt;3) mkboot to make it bootable.&lt;BR /&gt;&lt;BR /&gt;My worry is that if new disk is not exactly same vgcfgrestore might not work correctly as it most likele deals with low level hdd geometry (sectors, heads, cylinders, what have you) which will not be the same on differend vendor disk even if it is also 18gb size.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;/Marius</description>
      <pubDate>Wed, 23 Jul 2003 19:32:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027685#M633289</guid>
      <dc:creator>Marius Paulauskas</dc:creator>
      <dc:date>2003-07-23T19:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027686#M633290</link>
      <description>Why are you installing a different disk?&lt;BR /&gt;&lt;BR /&gt;I know that some manufactures disks are interchangable..BUT.. I rely on HP supplying the correct/compatable disk for my system.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 23 Jul 2003 19:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027686#M633290</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-23T19:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027687#M633291</link>
      <description>I do not think you have to do a vgreduce &amp;amp; extend. You already see that disk as CLAIMED, and all you have to do is vgcfgrestore, vgchange, mkboot &amp;amp; lvlnboot as Clay has spelt out. That should do the magic, i think.</description>
      <pubDate>Wed, 23 Jul 2003 19:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027687#M633291</guid>
      <dc:creator>Vasikaran Venkatesan</dc:creator>
      <dc:date>2003-07-23T19:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027688#M633292</link>
      <description>New disk is from HP but they use and supply different vendors disk that's for sure. Disk is actually pull from other L-class server. Funny thing they also mix disks in disk arrays.</description>
      <pubDate>Wed, 23 Jul 2003 20:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027688#M633292</guid>
      <dc:creator>Marius Paulauskas</dc:creator>
      <dc:date>2003-07-23T20:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027689#M633293</link>
      <description>In your initial posting, you mentioned 10.20 so this implies an older box. Be very careful that you are not substituting a High Voltage Differential (HVD/FWD) SCSI drive with LVD SCSI devices used on newer boxes. They are absolutely not compatible. &lt;BR /&gt;&lt;BR /&gt;If the drives are compatible, you don't need to worry about disk geometry. The LVM data structures are at a much higher level. As lonf as the new drive equals or exceeds the capacity of the old drive, vgcfgrestore is all you need.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2003 20:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027689#M633293</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-23T20:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027690#M633294</link>
      <description>I am fully aware of LVD/HVD stuff that is fine. Why do I need vgchange -a y after vgcfgrestore? Does vgcfgrestore puts vg offline? I assume not since that's a boot vg. Also, man pages recommend to put vg offline before running vgcfgrestore - but I cannot since it is boot vg.&lt;BR /&gt;&lt;BR /&gt;/M.</description>
      <pubDate>Wed, 23 Jul 2003 21:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027690#M633294</guid>
      <dc:creator>Marius Paulauskas</dc:creator>
      <dc:date>2003-07-23T21:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027691#M633295</link>
      <description>No, just pop in the new drive and run vgcfgrestore. You then do a vgchange -a y /dev/vg00 and that will bring the new disk "on-line".&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2003 21:22:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027691#M633295</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-23T21:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replace disk in mirror VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027692#M633296</link>
      <description>everything worked just perfect. thanks Clay. I have only used lvlnboot -R /dev/vg00 since I had some inactive vgs that couldn't get rid off (mess in config) and so vgcfgbackup was complaining if I omit vg in lvlnboot -R. 10 points to Clay, thanks.&lt;BR /&gt;&lt;BR /&gt;/M.</description>
      <pubDate>Fri, 25 Jul 2003 03:29:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirror-vg/m-p/3027692#M633296</guid>
      <dc:creator>Marius Paulauskas</dc:creator>
      <dc:date>2003-07-25T03:29:24Z</dc:date>
    </item>
  </channel>
</rss>

