<?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: lost /opt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712271#M60904</link>
    <description>Harry,&lt;BR /&gt;I didn't think you could use a 'tar' command on a make_recovery.  As I understand it, make_recovery uses fbackup (an HP specific format).  Is it possible to combined the commands of the tar format?</description>
    <pubDate>Fri, 26 Apr 2002 19:26:58 GMT</pubDate>
    <dc:creator>Tony500</dc:creator>
    <dc:date>2002-04-26T19:26:58Z</dc:date>
    <item>
      <title>lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712260#M60893</link>
      <description>I lost /opt while running lvreduce.&lt;BR /&gt;Is it possible to  restore /opt directory from the make_recovery tape..? If yes How..?&lt;BR /&gt;&lt;BR /&gt;OS :HP_UX 11.00&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 18:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712260#M60893</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-04-26T18:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712261#M60894</link>
      <description>Hi Rushank:&lt;BR /&gt;&lt;BR /&gt;Yes ! /opt is part of the vg00 and if you have used the -A option while using the make_recovery, then you can restore the full vg00. Boot the system, interrupt it and specify boot path of the tape drive. It will recreate the vg00.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Fri, 26 Apr 2002 19:07:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712261#M60894</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-26T19:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712262#M60895</link>
      <description>You can restore /opt like Shiju said, providing you used the -A option to create the backup. Before rebooting do this:&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/0mn fsf 1&lt;BR /&gt;tar -tvf /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;and see if many files show up under /opt, if they do, then you can restore /opt:&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/0mn fsf 1&lt;BR /&gt;tar -xvf /dev/rmt/0mn /opt&lt;BR /&gt;&lt;BR /&gt;then shutdown and reboot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 26 Apr 2002 19:11:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712262#M60895</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-04-26T19:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712263#M60896</link>
      <description>Or you can just recover /opt .. this is from Technical DB ..&lt;BR /&gt;&lt;BR /&gt;Quote&lt;BR /&gt;&lt;BR /&gt;The make_recovery creates a lif area and a tar archive on each tape; this tar archive does not include the leading / of the files and directories. To recover individual files fast forward past the lif area and then use tar to extract what you want as in the following example:&lt;BR /&gt;# cd /&lt;BR /&gt;# mt -f /dev/rmt/0mn fsf 1&lt;BR /&gt;==&amp;gt; Use norewind device file with mt so that tar will start just after the lif area&lt;BR /&gt;# tar xvf /dev/rmt/0m opt&lt;BR /&gt;==&amp;gt; Don't use leading / .&lt;BR /&gt;&lt;BR /&gt;Unquote&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 19:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712263#M60896</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-26T19:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712264#M60897</link>
      <description>Hi Rushank,&lt;BR /&gt;&lt;BR /&gt;If you have full backup of vg00 file systems, you can restore it from backup.&lt;BR /&gt;Through make_recovery also you can restore the /opt file system provided as shiju suggeste you used -A option (if you are running make_recovery) OR -x inc_)entire=vg00 option in case of make_tape_recovery.&lt;BR /&gt;&lt;BR /&gt;I will suggest before doing so, please take a full back of vg00. This is to be on safer side in case your ignite tape will not work properly.&lt;BR /&gt;&lt;BR /&gt;-pap</description>
      <pubDate>Fri, 26 Apr 2002 19:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712264#M60897</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-04-26T19:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712265#M60898</link>
      <description>&lt;BR /&gt;I tried booting from tape drive but every it selects my alt boot disk instead tape drive.&lt;BR /&gt;&lt;BR /&gt;I Tried BO AL 0/0/1/0.1 (which is path for Tape drive) ( I got this from sea )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 19:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712265#M60898</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-04-26T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712266#M60899</link>
      <description>Hi Rushank,&lt;BR /&gt;&lt;BR /&gt;Try to use P1 P2 ....option while booting from tape.&lt;BR /&gt;I mean use&lt;BR /&gt;&lt;BR /&gt;BOOT_ADMIN&amp;gt;bo Px where x is the number of your tape drive ( P1. P2 ....etc....)&lt;BR /&gt;&lt;BR /&gt;-pap</description>
      <pubDate>Fri, 26 Apr 2002 19:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712266#M60899</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-04-26T19:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712267#M60900</link>
      <description>Rushank, &lt;BR /&gt;&lt;BR /&gt;SK Chan has the syntax correct, follow it and save yourself some time. But after the restore, you should reboot.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 26 Apr 2002 19:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712267#M60900</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-04-26T19:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712268#M60901</link>
      <description>Hi Rushank:&lt;BR /&gt;&lt;BR /&gt;Do this:&lt;BR /&gt;1) Interrupt the boot process&lt;BR /&gt;2) Give "search" command&lt;BR /&gt;3) find path of tape drive OR search path (Px)&lt;BR /&gt;4) give " bo 4/4/12.0" OR "bo P1" ( according to the search results)&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Fri, 26 Apr 2002 19:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712268#M60901</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-26T19:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712269#M60902</link>
      <description>Hello ,&lt;BR /&gt;&lt;BR /&gt;I tried also with selecting p0 insted of full path while booting  but no success. I don't know why it is selecting my alt boot disk.&lt;BR /&gt;I've selected -A while running make_recovery.&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 19:22:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712269#M60902</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-04-26T19:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712270#M60903</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;After you interrupt the boot process, type&lt;BR /&gt;&lt;BR /&gt;sea ipl&lt;BR /&gt;&lt;BR /&gt;Which will search your system for devices with bootable media.  Look for the one with the description Sequntisl access media and use the P#&lt;BR /&gt;&lt;BR /&gt;bo P#&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 26 Apr 2002 19:23:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712270#M60903</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-04-26T19:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712271#M60904</link>
      <description>Harry,&lt;BR /&gt;I didn't think you could use a 'tar' command on a make_recovery.  As I understand it, make_recovery uses fbackup (an HP specific format).  Is it possible to combined the commands of the tar format?</description>
      <pubDate>Fri, 26 Apr 2002 19:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712271#M60904</guid>
      <dc:creator>Tony500</dc:creator>
      <dc:date>2002-04-26T19:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712272#M60905</link>
      <description>during booting interrupt and give sea. Is there showing anything as sequential access media? Give that No, means corresponding P# or the HW address of that device.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Fri, 26 Apr 2002 19:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712272#M60905</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-04-26T19:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712273#M60906</link>
      <description>I'm using SK Shan's method  It's restoring file and update you accordingly.&lt;BR /&gt;&lt;BR /&gt;I was trying to reduce /opt and increase /var, since I want to use this server act as server fot make_net_recovery client.&lt;BR /&gt;&lt;BR /&gt;I did a mistake doing lvreduce first before I execute fsadm! It corrucpted the file system.&lt;BR /&gt;&lt;BR /&gt;Now, Is it possible to run fsadm command while  /opt  mounted..?? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 19:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712273#M60906</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-04-26T19:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712274#M60907</link>
      <description>Hi Rushank:&lt;BR /&gt;&lt;BR /&gt;The reason why it picks up the alternate path is - because you specified 'bo al'. You need to specify only 'bo' and the path.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Fri, 26 Apr 2002 19:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712274#M60907</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-26T19:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712275#M60908</link>
      <description>I'm assuming you wanted to reduce /opt on the fly with OnlineJFS and that's why you're using fsadm ? The answer is yes you can do this with /opt mounted but the sequence must be correct ..&lt;BR /&gt;&lt;BR /&gt;To increase&lt;BR /&gt;1) lvextend&lt;BR /&gt;2) fsadm&lt;BR /&gt;&lt;BR /&gt;To reduce&lt;BR /&gt;1) fsadm&lt;BR /&gt;2) lvreduce&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 19:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712275#M60908</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-26T19:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712276#M60909</link>
      <description>Hi Rushank:&lt;BR /&gt;&lt;BR /&gt;The answer is it depends ! This specific on the file system type( online JFS, hfs etc) which /opt uses. If you have onlineJFS, then you can do that&lt;BR /&gt;&lt;BR /&gt;# man fsadm_FStype - for details&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Fri, 26 Apr 2002 19:53:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712276#M60909</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-26T19:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: lost /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712277#M60910</link>
      <description>Tony500,&lt;BR /&gt;&lt;BR /&gt;A make_recovery  tape has a LIF are as the first part of the tape (boot sector), then it has a TAR like backup called "pax". "pax" has two options, tar and cpio. The make_recovery process uses the "tar" backup option. The reason make_recovery uses "pax" is so that it can recover the vg00 files without having to have all the crap that frecover uses - pax has a smaller "footprint" and is very very efficent.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 26 Apr 2002 19:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-opt/m-p/2712277#M60910</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-04-26T19:59:44Z</dc:date>
    </item>
  </channel>
</rss>

