<?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: Bad disk in lvmtab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779166#M262898</link>
    <description>Usually (that is about 199 out of 200 disk failures) You'll be able to recreate the mirrors online.&lt;BR /&gt;&lt;BR /&gt;Stick to the proposed pdf and You'll be fine; ask us when any questions come up.</description>
    <pubDate>Fri, 28 Apr 2006 00:41:14 GMT</pubDate>
    <dc:creator>Florian Heigl (new acc)</dc:creator>
    <dc:date>2006-04-28T00:41:14Z</dc:date>
    <item>
      <title>Bad disk in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779164#M262896</link>
      <description>we have a baddisk(alternate) in lvmtab.the ce is coming to replace the bad disk. i have to get the disk replaced, and mirror the os.&lt;BR /&gt;&lt;BR /&gt;tell me which option is good.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt; once the disk is replaced..&lt;BR /&gt;&lt;BR /&gt;go to hpux -lm&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c6t0d0&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;shutdown -r -y 0&lt;BR /&gt;once in multiuser mode&lt;BR /&gt;vgextend and continue to mirror&lt;BR /&gt;&lt;BR /&gt;B.&lt;BR /&gt;&lt;BR /&gt;Before replacing the disk..&lt;BR /&gt;take to hpux -lm mode&lt;BR /&gt;vgexport -m &lt;MAPFILE&gt; /dev/vg00&lt;BR /&gt;mkdir, mknod and vgimport &amp;lt;&amp;gt; good disk&lt;BR /&gt;Then shutdown and replace the disk and take to multiuser mode and mirror.&lt;BR /&gt;&lt;BR /&gt;Question:&lt;BR /&gt;1.which option is better A or B?&lt;BR /&gt;&lt;BR /&gt;2.Also can i have apps/DB's up while i do the mirror. The client is looking at minimum downtime and questions "If sun can do the mirror while apps are UP why not HP"?&lt;BR /&gt;&lt;BR /&gt;This machine runs 11.11&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Joe&lt;/MAPFILE&gt;</description>
      <pubDate>Thu, 27 Apr 2006 14:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779164#M262896</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2006-04-27T14:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bad disk in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779165#M262897</link>
      <description>Hi Joe:&lt;BR /&gt;&lt;BR /&gt;I suggest that you review the various scenarios here:&lt;BR /&gt;&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;Yes, you can recreate mirrors while users are using your applications.  They may experience some performance degradation, but there is no problem doing this, otherwise.&lt;BR /&gt;&lt;BR /&gt;Since you mention vg00 replacement and then speak of applications and databases, I have to point out that I hope your vg00 is a pristine implementation of only the operating system and not a mixture of operating system logical volumes *and* applications/database.  If it is, you make upgrades and potential recovery much more difficult.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 27 Apr 2006 14:31:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779165#M262897</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-04-27T14:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bad disk in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779166#M262898</link>
      <description>Usually (that is about 199 out of 200 disk failures) You'll be able to recreate the mirrors online.&lt;BR /&gt;&lt;BR /&gt;Stick to the proposed pdf and You'll be fine; ask us when any questions come up.</description>
      <pubDate>Fri, 28 Apr 2006 00:41:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779166#M262898</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2006-04-28T00:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Bad disk in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779167#M262899</link>
      <description>Hi Joe ,&lt;BR /&gt;&lt;BR /&gt;You can do it online .&lt;BR /&gt;If the disk it hotswap , let the CE to swap it online.&lt;BR /&gt;&lt;BR /&gt;Then you can floow this steps:&lt;BR /&gt;&lt;BR /&gt;1. Check in ioscan if it shows CLAIMED.&lt;BR /&gt;# ioscan -fnC disk &lt;BR /&gt;&lt;BR /&gt;2. ok , proceed to remirror the disk.&lt;BR /&gt;# vgdisplay -v /dev/vg00&lt;BR /&gt;(If the 2nd disk shows as unavailable)&lt;BR /&gt;&lt;BR /&gt;move lvmtab and pvcreate it .&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.ok&lt;BR /&gt;# pvcreate -B /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;move the lvmtab back&lt;BR /&gt;# mv /etc/lvmtab.ok /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;3. # vgcfgrestore -n /dev/vg00 /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;4. # vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;5. # mkboot /dev/rdsk/c?t?d?&lt;BR /&gt;   # mkboot -a "hpux -lq" /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;6. vgsync vg00&lt;BR /&gt;&lt;BR /&gt;Resyncronizing ....&lt;BR /&gt;wait till it completes.&lt;BR /&gt;&lt;BR /&gt;7. Check with :&lt;BR /&gt;# lvlnboot -v and pvdisplay , vgdisplay.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Apr 2006 01:16:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779167#M262899</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-04-28T01:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bad disk in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779168#M262900</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;Also check out the document : RootDiskMirrir.pdf  . &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 28 Apr 2006 01:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779168#M262900</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-04-28T01:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bad disk in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779169#M262901</link>
      <description>So these steps can be done in multiuser mode if hot swappable right?&lt;BR /&gt;&lt;BR /&gt;Joe</description>
      <pubDate>Fri, 28 Apr 2006 12:51:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779169#M262901</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2006-04-28T12:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bad disk in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779170#M262902</link>
      <description>Hi Jo&lt;BR /&gt;&lt;BR /&gt;Yes, Everything can be done on online , in this case ...&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;# pvcreate -fB /dev/rdsk/cxtxd0&lt;BR /&gt;# mkboot -l /dev/rdsk/cxtxd0&lt;BR /&gt;# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cxtxd0&lt;BR /&gt;# lifcp /dev/rdsk/cxtxd0:AUTO -&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/cxtxd0&lt;BR /&gt;bdf&lt;BR /&gt;for i in 1 2 3 4 5 6 7 8 ;do&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/cxtxd0&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;#lvlnboot â  R&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Apr 2006 13:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779170#M262902</guid>
      <dc:creator>James George_1</dc:creator>
      <dc:date>2006-04-28T13:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bad disk in lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779171#M262903</link>
      <description>We have to talk about where your disks are.&lt;BR /&gt;&lt;BR /&gt;Just in case this is an old K-Class and you talk about internal disks, which are not hot-swappable.</description>
      <pubDate>Fri, 28 Apr 2006 13:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-disk-in-lvmtab/m-p/3779171#M262903</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-04-28T13:58:39Z</dc:date>
    </item>
  </channel>
</rss>

