<?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: Disk replacement in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226126#M467700</link>
    <description>thanks johnsonpk but then how can i make that alternate disk bootable as to make the disk bootable i need to run this command pvcreate -B &lt;DISK&gt; but this will give error that pv is already recorded in lvmtab. Please suggest.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rahul&lt;/DISK&gt;</description>
    <pubDate>Sun, 21 Feb 2010 09:32:59 GMT</pubDate>
    <dc:creator>Rkumar</dc:creator>
    <dc:date>2010-02-21T09:32:59Z</dc:date>
    <item>
      <title>Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226121#M467695</link>
      <description>Dear Experts,&lt;BR /&gt;&lt;BR /&gt;Recently I have done disk replacement activity.  And the activity completed successfully. the disk that need to be replaced was alternate disk of root volume group as well hot swapable.I followed the below mentioned procedure.&lt;BR /&gt;&lt;BR /&gt;1. pvchange -a N /dev/dsk/c#t#d# &lt;BR /&gt;2. FE will replace the disk&lt;BR /&gt;4. vgcfgrestore -n vg00 /dev/dsk/c#t#d# &lt;BR /&gt;5. pvchange -a y /dev/dsk/c#t#d# &lt;BR /&gt;6. vgsync vg## &lt;BR /&gt;7. shutdown -ry 0&lt;BR /&gt;8. mkboot -l  /dev/rdsk/c1t0d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/dev/rdsk/c1t0d0&lt;BR /&gt;mkboot -b /dev/rdsk/c3t0d0 /dev/rdsk/c1t0d0&lt;BR /&gt;lifcp /dev/rdsk/c1t0d0:AUTO –&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;&lt;BR /&gt; In this procedure I did not use pvcreate -B &lt;DISK&gt; (this could be 3rd step).please let me know that without creating a physical volume on a disk can it used in a VG.?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rahul&lt;BR /&gt;&lt;/DISK&gt;</description>
      <pubDate>Sun, 21 Feb 2010 05:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226121#M467695</guid>
      <dc:creator>Rkumar</dc:creator>
      <dc:date>2010-02-21T05:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226122#M467696</link>
      <description>Please refer to HP offical document on Disk replacement .. :)&lt;BR /&gt;&lt;BR /&gt;"Good disk Gone Bad".&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Feb 2010 05:34:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226122#M467696</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-02-21T05:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226123#M467697</link>
      <description>Thanks Johnson&lt;BR /&gt;&lt;BR /&gt;I appreciate u r  quick reply however my concern is that in this procedure I did not use pvcreate -B &lt;DISK&gt; (this could be 3rd step).please let me know that without creating a physical volume on a disk can it used in a VG.?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Rahul&lt;/DISK&gt;</description>
      <pubDate>Sun, 21 Feb 2010 06:07:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226123#M467697</guid>
      <dc:creator>Rkumar</dc:creator>
      <dc:date>2010-02-21T06:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226124#M467698</link>
      <description>&amp;gt;&amp;gt;I did not use pvcreate -B &lt;DISK&gt; (this could be 3rd step).&lt;BR /&gt; You should not use the pvcreate comand as the pv is already recorded in lvmtab.(command will fail with error"physical volume is already recorded in  lVMTAB)&lt;BR /&gt;&lt;BR /&gt;vgcfgrestrore will take care of creating  LVm structure on the replaced disk&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;please let me know that without creating a physical volume on a disk can it used in a VG.&lt;BR /&gt;&lt;BR /&gt;please not that ,At some point of time you did a pvcreate on the same disk device file for adding that to the VG  and as a result, that disk is marked as pv and became part of lvmtab.And now your system knew that there was a  pv on the replaced disk's device path and for some reason it was not available for some time.&lt;/DISK&gt;</description>
      <pubDate>Sun, 21 Feb 2010 08:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226124#M467698</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2010-02-21T08:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226125#M467699</link>
      <description>&amp;gt;&amp;gt;&amp;gt;I did not use pvcreate -B &lt;DISK&gt; (this could be 3rd step).please let me know that without creating a physical volume on a disk can it used in a VG.?&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Yes, It can be used in "vg" .. but it will not boot, that's the purpose using (pvcreate -B /dev/rdsk/cxtxdx)  -B option will Make a physical volume bootable (i.e. a system disk).&lt;BR /&gt;&lt;BR /&gt;man pvcreate&lt;BR /&gt;&lt;BR /&gt;pvcreate recognizes the following options:&lt;BR /&gt;&lt;BR /&gt;           -B             Make a physical volume bootable (i.e. a system&lt;BR /&gt;                          disk).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Johnson&lt;BR /&gt;&lt;/DISK&gt;</description>
      <pubDate>Sun, 21 Feb 2010 08:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226125#M467699</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-02-21T08:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226126#M467700</link>
      <description>thanks johnsonpk but then how can i make that alternate disk bootable as to make the disk bootable i need to run this command pvcreate -B &lt;DISK&gt; but this will give error that pv is already recorded in lvmtab. Please suggest.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rahul&lt;/DISK&gt;</description>
      <pubDate>Sun, 21 Feb 2010 09:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226126#M467700</guid>
      <dc:creator>Rkumar</dc:creator>
      <dc:date>2010-02-21T09:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226127#M467701</link>
      <description>Thanks Dear experts at last i got resolved my query. Points have been awarded to all experts.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rahul</description>
      <pubDate>Sun, 21 Feb 2010 09:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226127#M467701</guid>
      <dc:creator>Rkumar</dc:creator>
      <dc:date>2010-02-21T09:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226128#M467702</link>
      <description>&amp;gt;&amp;gt;how can i make that alternate disk bootable as to make the disk bootable i need to run this command pvcreate -B &lt;DISK&gt; but this will give error that pv is already recorded in lvmtab. Please suggest.&lt;BR /&gt;&lt;BR /&gt;pvcreate with -B option creates an area on the disk for a LIF volume, boot utilities, and a BDRA (Boot Data Reserved Area). &lt;BR /&gt;&lt;BR /&gt;and mkboot is for  placing boot utilities in the boot area:(BDRA)&lt;BR /&gt;&lt;BR /&gt;Here vgcfgrestore will take care of restoring LVM structure includin BDRA,and there for you only need to copy the bootprogram into it by mkboot command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However you may consider doing mkboot and lvlnboot -R before executing the shutdown command.( i guess shutdown is for test  booting the server from replaced disk )&lt;BR /&gt;&lt;BR /&gt;&lt;/DISK&gt;</description>
      <pubDate>Sun, 21 Feb 2010 12:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226128#M467702</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2010-02-21T12:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226129#M467703</link>
      <description>Tahnks Johnsonpk,&lt;BR /&gt;&lt;BR /&gt;This is what I m waiting for. Points have been  awarded  for this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Rahul</description>
      <pubDate>Sun, 21 Feb 2010 12:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226129#M467703</guid>
      <dc:creator>Rkumar</dc:creator>
      <dc:date>2010-02-21T12:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226130#M467704</link>
      <description>Hi Rkumar,&lt;BR /&gt;&lt;BR /&gt;I am confused about rebooting the system as you mentioned the steps.Did you check whether you are able to boot from Alternate disk which you have replaced.Actualy reboot is not required.&lt;BR /&gt;&lt;BR /&gt;Secondly, can you pls check the output  of lvlnboot -v and check whether boot,root,swap and dump is configured.You may not see boot lvol configured.In that case you may have to run lvlnboot -b /dev/vg00/lvol1</description>
      <pubDate>Mon, 22 Feb 2010 13:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replacement/m-p/5226130#M467704</guid>
      <dc:creator>kashyapi</dc:creator>
      <dc:date>2010-02-22T13:35:29Z</dc:date>
    </item>
  </channel>
</rss>

