<?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 how to recreate boot definitions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475745#M361789</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;can any one tell me how tho delete the boot definitions when the OS is running, i mean root,boot,dump,swap,..&lt;BR /&gt;&lt;BR /&gt;and how to create it online.&lt;BR /&gt; my actual plan is --&lt;BR /&gt;&lt;BR /&gt;I have one server .in that i have splitted the lvols,for patching. after patching i found that the application is not working. so i booted the server with the unpatched volume. NO wi want to boot the server from patched volume and to test the application..&lt;BR /&gt;this is my action plan i created.please correct me if there is somethin gwron in this steps,because its a production server..&lt;BR /&gt;&lt;BR /&gt;------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Action Plan&lt;BR /&gt;---------------&lt;BR /&gt;1) Edit the /etc/fstab file--remove the entry of "b"&lt;BR /&gt;&lt;BR /&gt;#mount /dev/vg00/lvol3  /mnt&lt;BR /&gt;#cd /mnt/etc&lt;BR /&gt;#vi fstab&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvol3 / vxfs delaylog 0 1&lt;BR /&gt;/dev/vg00/lvol1 /stand hfs defaults 0 1&lt;BR /&gt;/dev/vg00/lvol4 /home vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol5 /opt vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol6 /tmp vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol7 /usr vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol8 /var vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol11 /apps vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol10 /apps/appworx vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvol12 /data vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvol13 /oracle vxfs rw,suid,largefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvol14 /apps/retek/rdw9.0 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvsrm /var/adm/perfmgr vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvol15 /opt/oracle vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;&lt;BR /&gt;2) Remove and recreate the boot definitions&lt;BR /&gt;   &lt;BR /&gt;  lnrmboot -R&lt;BR /&gt;  &lt;BR /&gt; lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt; lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt; lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt; lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;------&lt;BR /&gt;please help me..&lt;BR /&gt;and is this the right command (lvrmboot -R)to delete all the boot definitions.and if i delete this can i create the boot definition with above command for the patched volume..&lt;BR /&gt;&lt;BR /&gt;and my back out plan is &lt;BR /&gt;&lt;BR /&gt;do the same in reverse..&lt;BR /&gt;</description>
    <pubDate>Sat, 08 Aug 2009 01:03:59 GMT</pubDate>
    <dc:creator>joseph51</dc:creator>
    <dc:date>2009-08-08T01:03:59Z</dc:date>
    <item>
      <title>how to recreate boot definitions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475745#M361789</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;can any one tell me how tho delete the boot definitions when the OS is running, i mean root,boot,dump,swap,..&lt;BR /&gt;&lt;BR /&gt;and how to create it online.&lt;BR /&gt; my actual plan is --&lt;BR /&gt;&lt;BR /&gt;I have one server .in that i have splitted the lvols,for patching. after patching i found that the application is not working. so i booted the server with the unpatched volume. NO wi want to boot the server from patched volume and to test the application..&lt;BR /&gt;this is my action plan i created.please correct me if there is somethin gwron in this steps,because its a production server..&lt;BR /&gt;&lt;BR /&gt;------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Action Plan&lt;BR /&gt;---------------&lt;BR /&gt;1) Edit the /etc/fstab file--remove the entry of "b"&lt;BR /&gt;&lt;BR /&gt;#mount /dev/vg00/lvol3  /mnt&lt;BR /&gt;#cd /mnt/etc&lt;BR /&gt;#vi fstab&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvol3 / vxfs delaylog 0 1&lt;BR /&gt;/dev/vg00/lvol1 /stand hfs defaults 0 1&lt;BR /&gt;/dev/vg00/lvol4 /home vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol5 /opt vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol6 /tmp vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol7 /usr vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol8 /var vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol11 /apps vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol10 /apps/appworx vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvol12 /data vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvol13 /oracle vxfs rw,suid,largefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvol14 /apps/retek/rdw9.0 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvsrm /var/adm/perfmgr vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;/dev/vg00/lvol15 /opt/oracle vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;&lt;BR /&gt;2) Remove and recreate the boot definitions&lt;BR /&gt;   &lt;BR /&gt;  lnrmboot -R&lt;BR /&gt;  &lt;BR /&gt; lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt; lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt; lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt; lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;------&lt;BR /&gt;please help me..&lt;BR /&gt;and is this the right command (lvrmboot -R)to delete all the boot definitions.and if i delete this can i create the boot definition with above command for the patched volume..&lt;BR /&gt;&lt;BR /&gt;and my back out plan is &lt;BR /&gt;&lt;BR /&gt;do the same in reverse..&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Aug 2009 01:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475745#M361789</guid>
      <dc:creator>joseph51</dc:creator>
      <dc:date>2009-08-08T01:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate boot definitions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475746#M361790</link>
      <description>Binu,&lt;BR /&gt;&lt;BR /&gt;1) Edit the /etc/fstab file--remove the entry of "b"(if it is there)&lt;BR /&gt;Boot the system in LVM maintenance mode using  hpux -lm from ISL.&lt;BR /&gt; remove LVM logical volume link to root, primary swap, or dump volume using lvrmboot&lt;BR /&gt;man pages for lvrmboot:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B9106-90008/lvrmboot.1M.html" target="_blank"&gt;http://docs.hp.com/en/B9106-90008/lvrmboot.1M.html&lt;/A&gt;&lt;BR /&gt;prepare LVM logical volume to be root, boot, primary swap, or dump volume using lvlnboot.&lt;BR /&gt;Man pages for lvlnboot:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B9106-90008/lvlnboot.1M.html" target="_blank"&gt;http://docs.hp.com/en/B9106-90008/lvlnboot.1M.html&lt;/A&gt;&lt;BR /&gt;reboot the system in multiuser mode.&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Aug 2009 09:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475746#M361790</guid>
      <dc:creator>Roopesh Francis_1</dc:creator>
      <dc:date>2009-08-08T09:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate boot definitions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475747#M361791</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1) can any one tell me how to delete the boot definitions when the OS is running,&lt;BR /&gt;   i mean root,boot,dump,swap,.??&lt;BR /&gt;===&amp;gt;&lt;BR /&gt;   #lvrmboot -r vg00&lt;BR /&gt;&lt;BR /&gt;2) how to create it online?&lt;BR /&gt;===&amp;gt;&lt;BR /&gt;    #lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;    #lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;    #lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;    #lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;3) so i booted the server with the unpatched volume.&lt;BR /&gt;==&amp;gt; How did you booted from unpatched volume?.&lt;BR /&gt;    &amp;gt;Did you changed BDRA information with lvrmboot and lvlnboot command?&lt;BR /&gt;    &amp;gt;When did you edited /etc/fstab? Before splitting lvols or after splitiing lvols?&lt;BR /&gt;    &lt;BR /&gt;4) Now i want to boot the server from patched volume and to test the application,How?&lt;BR /&gt;==&amp;gt;I hope you changed BDRA and I hope the present lvlnboot -v command output is,&lt;BR /&gt;&lt;BR /&gt;  # lvlnboot -v&lt;BR /&gt;    Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;    Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        &lt;PATCHED volume="" disk=""&gt;  -- Boot Disk&lt;BR /&gt;        &lt;UNPATHED volume="" disk=""&gt; -- Boot Disk&lt;BR /&gt;    Boot: lvol1b    on:     &lt;UNPATHED volume="" disk=""&gt;&lt;BR /&gt;    Root: lvol3b    on:     &lt;UNPATHED volume="" disk=""&gt;&lt;BR /&gt;    Swap: lvol2b    on:     &lt;UNPATHED volume="" disk=""&gt;&lt;BR /&gt;    Dump: lvol2b    on:     &lt;UNPATHED volume="" disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;  If yes, change it with lvrmboot and lvlnboot commands,&lt;BR /&gt;    #lvrmboot -r vg00&lt;BR /&gt;    #lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;    #lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;    #lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;    #lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;==&amp;gt;For /etc/fstab entry,When did you changed the entry; Before splitting lvols&lt;BR /&gt;   or after splitting lvols.&lt;BR /&gt;&lt;BR /&gt; =&amp;gt;If before splitting lvols,you have to change the fstab entry; as you told remove "b",&lt;BR /&gt;   #mkdir /lvol3&lt;BR /&gt;   #mount /dev/vg00/lvol3 /lvol3&lt;BR /&gt;   #vi /lvol3/etc/fstab &lt;BR /&gt;&lt;BR /&gt;  =&amp;gt;If after splitting lvols,I hope you changed only in unpatched volume by mounting&lt;BR /&gt;   the lvol3b manually. In this case no need to change fstab entry.&lt;BR /&gt;&lt;BR /&gt;==&amp;gt;Reboot the server with patched disk.&lt;BR /&gt;&lt;BR /&gt;5) Please correct me if there is something wrong in this steps,because its a production server?&lt;BR /&gt;&lt;BR /&gt;   I recommend you&lt;BR /&gt;   ==&amp;gt;Take ignite backup always if you do patching.&lt;BR /&gt;   ==&amp;gt;Use DRD-Dynamic Root Disk product like this situation instead of doing splitting and merging.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can you give me following command present outputs as ***attachment***.&lt;BR /&gt;  #lvlnboot -v&lt;BR /&gt;  #cat /etc/fstab&lt;BR /&gt;  #bdf&lt;BR /&gt;  #mount&lt;BR /&gt;  #vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;LIJEESH N G&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/UNPATHED&gt;&lt;/UNPATHED&gt;&lt;/UNPATHED&gt;&lt;/UNPATHED&gt;&lt;/UNPATHED&gt;&lt;/PATCHED&gt;</description>
      <pubDate>Sun, 09 Aug 2009 10:40:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475747#M361791</guid>
      <dc:creator>Lijeesh N G_1</dc:creator>
      <dc:date>2009-08-09T10:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to recreate boot definitions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475748#M361792</link>
      <description>Can you give me following command present outputs as ***attachment***.&lt;BR /&gt;#lvlnboot -v&lt;BR /&gt;#cat /etc/fstab&lt;BR /&gt;#bdf&lt;BR /&gt;#mount&lt;BR /&gt;#vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;Also,&lt;BR /&gt;&lt;BR /&gt;#mkdir /lvol3&lt;BR /&gt;#mount /dev/vg00/lvol3 /lvol3&lt;BR /&gt;#cat /lvol3/etc/fstab   &amp;lt;&amp;lt;==this optput also&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;LIJEESH N G</description>
      <pubDate>Sun, 09 Aug 2009 10:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-recreate-boot-definitions/m-p/4475748#M361792</guid>
      <dc:creator>Lijeesh N G_1</dc:creator>
      <dc:date>2009-08-09T10:46:18Z</dc:date>
    </item>
  </channel>
</rss>

