<?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 root vg00 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354045#M345170</link>
    <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;     I have little bit confusion which sequnce is correct for repacing the bad disk in vg00 .Pls suggest the correct sequnce&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t5d0&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;mkboot /dev/rdsk/c2t5d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t5d0&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;vgsync /dev/vg00&lt;BR /&gt;-------------------------&lt;BR /&gt;1) If the disk is hot swappable, remove the disk&lt;BR /&gt;&lt;BR /&gt;2) # vgreduce -f /dev/vg00&lt;BR /&gt;&lt;BR /&gt;This will remove the failed disk from vg00&lt;BR /&gt;&lt;BR /&gt;3) # lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;4) Insert the new disk&lt;BR /&gt;&lt;BR /&gt;5) # ioscan -fnC disk &lt;BR /&gt;&lt;BR /&gt;6) # vgcfgrestore -n /dev/vg00 /dev/rdsk/&lt;DEVICE file=""&gt;&lt;BR /&gt;&lt;BR /&gt;7) # mkboot /dev/rdsk/devicefile&lt;BR /&gt;&lt;BR /&gt;8-) # mkboot -a "hpux" /dev/rdsk/devicefile&lt;BR /&gt;&lt;BR /&gt;9) # vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;10) # vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;11) # lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;12) confirm with vgdisplay, lvdisplay, pvdisplay and lvlnboot.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rkumar&lt;/DEVICE&gt;</description>
    <pubDate>Sat, 07 Feb 2009 07:06:14 GMT</pubDate>
    <dc:creator>Waugh</dc:creator>
    <dc:date>2009-02-07T07:06:14Z</dc:date>
    <item>
      <title>root vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354045#M345170</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;     I have little bit confusion which sequnce is correct for repacing the bad disk in vg00 .Pls suggest the correct sequnce&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t5d0&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;mkboot /dev/rdsk/c2t5d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t5d0&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;vgsync /dev/vg00&lt;BR /&gt;-------------------------&lt;BR /&gt;1) If the disk is hot swappable, remove the disk&lt;BR /&gt;&lt;BR /&gt;2) # vgreduce -f /dev/vg00&lt;BR /&gt;&lt;BR /&gt;This will remove the failed disk from vg00&lt;BR /&gt;&lt;BR /&gt;3) # lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;4) Insert the new disk&lt;BR /&gt;&lt;BR /&gt;5) # ioscan -fnC disk &lt;BR /&gt;&lt;BR /&gt;6) # vgcfgrestore -n /dev/vg00 /dev/rdsk/&lt;DEVICE file=""&gt;&lt;BR /&gt;&lt;BR /&gt;7) # mkboot /dev/rdsk/devicefile&lt;BR /&gt;&lt;BR /&gt;8-) # mkboot -a "hpux" /dev/rdsk/devicefile&lt;BR /&gt;&lt;BR /&gt;9) # vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;10) # vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;11) # lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;12) confirm with vgdisplay, lvdisplay, pvdisplay and lvlnboot.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rkumar&lt;/DEVICE&gt;</description>
      <pubDate>Sat, 07 Feb 2009 07:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354045#M345170</guid>
      <dc:creator>Waugh</dc:creator>
      <dc:date>2009-02-07T07:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: root vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354046#M345171</link>
      <description>Hello Kumar&lt;BR /&gt;&lt;BR /&gt;All looks ok except one thing.&lt;BR /&gt;I dont think that "vgreduce" command is required at this place as we are not removing the disk BUT replacing it. Because if you do a vgreduce, you have to do a vgextend also and that is not mentioned in your procedure. &lt;BR /&gt;Well, I have a procedure (attached), see if that works fine.&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K.</description>
      <pubDate>Sat, 07 Feb 2009 08:04:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354046#M345171</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-02-07T08:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: root vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354047#M345172</link>
      <description>Hi Kumar,&lt;BR /&gt;&lt;BR /&gt;As pointed out, tou need not do that vgreduce.&lt;BR /&gt;&lt;BR /&gt;Also when you do mkboot -a to upadate the AUTO file string on the new disk try this with the follwing, only slight change form what you have written&lt;BR /&gt;&lt;BR /&gt;#mkboot -l /dev/rdsk/cXtYdZ&lt;BR /&gt;#mkboot -a "hpux -lq /stand/vmunix"&lt;BR /&gt;&lt;BR /&gt;Also after doing the vgsync, might be not all the LVs get synced, then you need to try the lvsync&lt;BR /&gt;#for i in /dev/vg00/lvol*&lt;BR /&gt;&amp;gt;do &lt;BR /&gt;&amp;gt;nohup lvsync $i&lt;BR /&gt;&amp;gt;done&lt;BR /&gt;&lt;BR /&gt;Again as for the precaution after you have done lvlnboot -R&lt;BR /&gt;do &lt;BR /&gt;#lvlnboot -v &lt;BR /&gt;so that you can see that the replaced disk has caught the lvlnboot configurations.&lt;BR /&gt;#vi /stand/bootconf&lt;BR /&gt;to check that the Replaced disk has an entry over there as&lt;BR /&gt;l /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;#setboot -a &lt;HW_PATH_OF_NEW_DISK&gt; -b on -s on&lt;BR /&gt;&lt;BR /&gt;to set the Alternate path as the replaced disk and set autoboot and autosearch on that to on.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit&lt;/HW_PATH_OF_NEW_DISK&gt;</description>
      <pubDate>Sat, 07 Feb 2009 09:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354047#M345172</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-07T09:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: root vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354048#M345173</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sorry for the typo&lt;BR /&gt;&lt;BR /&gt;#mkboot -l /dev/rdsk/cXtYdZ&lt;BR /&gt;#mkboot -a "hpux -lq /stand/vmunix"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;actually should read&lt;BR /&gt;#mkboot -l /dev/rdsk/cXtYdZ&lt;BR /&gt;#mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit&lt;BR /&gt;</description>
      <pubDate>Sat, 07 Feb 2009 09:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354048#M345173</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-07T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: root vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354049#M345174</link>
      <description>Hi Kumar,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf" target="_blank"&gt;http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please check above link and read , than proceed, &lt;BR /&gt;&lt;BR /&gt;1)  Remove lvol mirrors:&lt;BR /&gt;     #  lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/c2t6d0&lt;BR /&gt;     #  lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t6d0&lt;BR /&gt;2)  Remove faulty drive from vg00:&lt;BR /&gt;     #  vgreduce /dev/vg00 /dev/dsk/c2t6d0&lt;BR /&gt;3)  Call for CE replacement of hot-swappable drive c2t6d0 at H/W path 0/0/2/1.6.0:&lt;BR /&gt;     SCSI describe of /dev/rdsk/c2t6d0:&lt;BR /&gt;                   vendor: HP 36.4G&lt;BR /&gt;               product id: ST336706LC&lt;BR /&gt;                     type: direct access&lt;BR /&gt;                      size: 35566480 Kbytes&lt;BR /&gt;         bytes per sector: 512&lt;BR /&gt;4)  When drive is replaced, add back into vg00 and make bootable:&lt;BR /&gt;     #  pvcreate -B /dev/rdsk/c2t6d0&lt;BR /&gt;     #  vgextend /dev/vg00 /dev/dsk/c2t6d0&lt;BR /&gt;     #  mkboot -l /dev/rdsk/c2t6d0&lt;BR /&gt;5)  Re-mirror logical volumes, must be done in lvol order:&lt;BR /&gt;     #  lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0&lt;BR /&gt;     #  lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0&lt;BR /&gt;     #  lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0&lt;BR /&gt;     And repeat for remaining logical volumes lvol4 through lvol13.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Restoring Mirrored disk after Replacement of failed disk&lt;BR /&gt;==================================================&lt;BR /&gt;Pls. take note of the steps.&lt;BR /&gt;&lt;BR /&gt;Recover mirror notes:&lt;BR /&gt;&lt;BR /&gt;#  vgcfgrestore -n vg00 /dev/rdsk/c2t6d0&lt;BR /&gt;#  vgchange -a y vg00&lt;BR /&gt;#  vgsync vg00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Script to run to check status of vgsync:&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;pvdisplay -v /dev/dsk/c1t2d0|grep stale|wc -l sleep 5 done&lt;BR /&gt;</description>
      <pubDate>Sat, 07 Feb 2009 18:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-vg00/m-p/4354049#M345174</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-02-07T18:02:33Z</dc:date>
    </item>
  </channel>
</rss>

