<?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: Replacing root mirrored hot swappable disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915683#M623618</link>
    <description>Here is another good document to be referred for online disk replacement.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/6430/LVM_OLR_whitepaper.pdf" target="_blank"&gt;http://docs.hp.com/en/6430/LVM_OLR_whitepaper.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
    <pubDate>Tue, 02 Aug 2005 14:33:44 GMT</pubDate>
    <dc:creator>Devender Khatana</dc:creator>
    <dc:date>2005-08-02T14:33:44Z</dc:date>
    <item>
      <title>Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915677#M623612</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;My disk became flaky and it was pulled out. The disk has been replaced and ioscan now shows the disk is claimed. Before replacement however the lvreduce or vgreduce was not performed and therefore "strings /etc/lvmtab" shows the /dev/dsk/cxtyd0. &lt;BR /&gt;please let me know if the following procedure is OK for remirroring the new disk. Thanks very much&lt;BR /&gt;&lt;BR /&gt;1) vgcfgrestore -n vg00 /dev/rdsk/cxtydz&lt;BR /&gt;2) mkboot -l /dev/rdsk/cxtydz&lt;BR /&gt;3) mkboot -a hpux /dev/rdsk/cxtydz&lt;BR /&gt;4) lvextend -m /dev/vg00/lvol(1-6) /dev/rdsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2005 13:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915677#M623612</guid>
      <dc:creator>PR_4</dc:creator>
      <dc:date>2005-08-02T13:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915678#M623613</link>
      <description>Hi PR&lt;BR /&gt;&lt;BR /&gt;  First you have to vgreduce &lt;BR /&gt;Then you can go ahead and do the vgcfgrestore and rest is same as similar to creating a new mirror copy for root disk&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;S.Arunkumar</description>
      <pubDate>Tue, 02 Aug 2005 13:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915678#M623613</guid>
      <dc:creator>S.Arunkumar</dc:creator>
      <dc:date>2005-08-02T13:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915679#M623614</link>
      <description>after vgcfgrestore you need to run&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;&lt;BR /&gt;also my mkbood commands are as follows:&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cxtxdx&lt;BR /&gt;mkboot -l /dev/rdsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;then &lt;BR /&gt;&lt;BR /&gt;cd /usr/sbin/diag/lif&lt;BR /&gt;mkboot -b updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(if you are on a 32 bit platform, change updatediaglif2 with updatediaglif)&lt;BR /&gt;&lt;BR /&gt;and to do this, you do not need to do vgreduce command. If you vgreduce'd the vg then you need to use vgextend instead of vgcfgrestore.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2005 13:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915679#M623614</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-08-02T13:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915680#M623615</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;I would suggest you use the -lq option on the mkboot command.  This will allow the system to boot without a quorom of disks.&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;be sure to run the same command against the other boot disk as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2005 14:00:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915680#M623615</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2005-08-02T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915681#M623616</link>
      <description>&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This link will explain how to fix your disk in very great detail. It was written for situations just like yours.</description>
      <pubDate>Tue, 02 Aug 2005 14:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915681#M623616</guid>
      <dc:creator>generic_1</dc:creator>
      <dc:date>2005-08-02T14:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915682#M623617</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It could display error.&lt;BR /&gt;If required you should use vgreduce -f option to reduce otherwise it will report an error.&lt;BR /&gt;&lt;BR /&gt;Once done with lvreduce you should be able to extend the VG and remirror.&lt;BR /&gt;&lt;BR /&gt;Also do a lvlnboot -R.&lt;BR /&gt;&lt;BR /&gt;Here is the official guide to achive this.&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2005 14:12:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915682#M623617</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-08-02T14:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915683#M623618</link>
      <description>Here is another good document to be referred for online disk replacement.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/6430/LVM_OLR_whitepaper.pdf" target="_blank"&gt;http://docs.hp.com/en/6430/LVM_OLR_whitepaper.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Tue, 02 Aug 2005 14:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915683#M623618</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-08-02T14:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915684#M623619</link>
      <description>Here is what you can do...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1.  ioscan -H path###  (eg 0/4/0/0 do not use .) # put disk as claimed from no-hw&lt;BR /&gt;2.  ioscan -funC disk|more                       #  check to see hw is claimed&lt;BR /&gt;3.  mv /etc/lvmtab /etc/lvmtab.old               # pvcreate fails if disk is in lvmtab&lt;BR /&gt;4.  pvcreate -f -B /dev/rdsk/c_t_d0              # sets aside a boot area&lt;BR /&gt;5.  mv /etc/lvmtab.old /etc/lvmtab               # moves it back&lt;BR /&gt;6.  vgcfgrestore -n vg00 /dev/rdsk/c_t_d0        # restores headers on drive&lt;BR /&gt;7.  vgchange -a y /dev/vg00                      # puts drive online&lt;BR /&gt;8.  vgsync vg00                                  # if disk does not automatically start syncing (if stale)&lt;BR /&gt;9.  mkboot /dev/rdsk/c_t_d0                      # puts the boot sector in the boot area&lt;BR /&gt;10. mkboot -a "hpux -lq" /dev/rdsk/c_t_d0        # puts HPUX in the auto file&lt;BR /&gt;11. lvlnboot -Rv /dev/vg00           # updates the LIF with the info from the BDRA&lt;BR /&gt;12. cd /usr/sbin/diag/lif&lt;BR /&gt;13. mkboot -b updatediaglif -p ISL -p HPUX -p LABEL -p AUTO /dev/rdsk/c_t_d0  # to put ODE, etc. back on boot area&lt;BR /&gt;14. vgdisplay -v vg00            # to check it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!!!&lt;BR /&gt;eknath</description>
      <pubDate>Wed, 03 Aug 2005 04:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915684#M623619</guid>
      <dc:creator>Eknath</dc:creator>
      <dc:date>2005-08-03T04:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915685#M623620</link>
      <description>Do NOT perform your step 4!&lt;BR /&gt;If your disk is gone and you inserted a new one, you need to restore all config to the disk (including mirror information) - step 1.&lt;BR /&gt;Then activate the VG (vgchange -a y vgxx).&lt;BR /&gt;Then make it bootable (your step 2). Set the bootstring (your step 3). Update the offline diag (mkboot -b updatediaglif ...). Write the boot information (lvlnboot -r/-b/-s/-d ...). Now you only have to resync your vg (vgsync vgxx). That's all.</description>
      <pubDate>Wed, 03 Aug 2005 05:47:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915685#M623620</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-08-03T05:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing root mirrored hot swappable disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915686#M623621</link>
      <description>Thanks everyone. I had to use vgsync vg00 instead of the final step and it worked. Thanks again guys.</description>
      <pubDate>Wed, 03 Aug 2005 07:55:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-root-mirrored-hot-swappable-disk/m-p/4915686#M623621</guid>
      <dc:creator>PR_4</dc:creator>
      <dc:date>2005-08-03T07:55:17Z</dc:date>
    </item>
  </channel>
</rss>

