<?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: view make_recovery tape contents in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571503#M873271</link>
    <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;#mt -t /dev/rmt/0m rew &lt;BR /&gt;Will rewind the tape.&lt;BR /&gt;&lt;BR /&gt;#mt -t /dev/rmt/0mn fsf #1 &lt;BR /&gt;Will skip the lif area.&lt;BR /&gt;&lt;BR /&gt;#tar -xvf /dev/rmt/0m  home/abc/myFile.sh&lt;BR /&gt;&lt;BR /&gt;Attention:&lt;BR /&gt;The recovered file is in RELATIVE path ( without the slash in the begining. In my example the home directory is without the slash in the begining ).&lt;BR /&gt;&lt;BR /&gt;Only two files are in ABSOLUTE path :&lt;BR /&gt;/etc/passwd&lt;BR /&gt;/etc/group&lt;BR /&gt;&lt;BR /&gt;Magdi&lt;BR /&gt;</description>
    <pubDate>Wed, 29 Aug 2001 07:55:11 GMT</pubDate>
    <dc:creator>Magdi KAMAL</dc:creator>
    <dc:date>2001-08-29T07:55:11Z</dc:date>
    <item>
      <title>view make_recovery tape contents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571497#M873265</link>
      <description>Trying to look the contents of make_recovery dds3-tape and recover just one file. The make_recovery tape was made using the following command.&lt;BR /&gt;# /opt/ignite/bin/make_recovery -A -C -v -d /dev/rmt/0mn&lt;BR /&gt;and was successful.&lt;BR /&gt;&lt;BR /&gt;Tried this and get the following errors:&lt;BR /&gt;# mt -f /dev/rmt/0mn fsf 1&lt;BR /&gt;fsf 1 failed: I/O error&lt;BR /&gt;# mt -t /dev/rmt/0mn fsr 1&lt;BR /&gt;fsr 1 failed: I/O error</description>
      <pubDate>Tue, 28 Aug 2001 17:24:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571497#M873265</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2001-08-28T17:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: view make_recovery tape contents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571498#M873266</link>
      <description>You need to rewind the tape first after the make_recovery to the no-rewind device: /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;If the tape was just loaded prior to you performing the make_recovery, then you can rewind the tape using :&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/0m rew</description>
      <pubDate>Tue, 28 Aug 2001 17:27:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571498#M873266</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-08-28T17:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: view make_recovery tape contents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571499#M873267</link>
      <description>&lt;BR /&gt;if mt -t /dev/rmt/0mn fsf 1 fails,&lt;BR /&gt;&lt;BR /&gt;then probably the tape is corrupted. Try doing the following to confirm that the tape is really bad.&lt;BR /&gt;&lt;BR /&gt;/opt/ignite/bin/copy_boot_tape -u /dev/rmt/0mn -b -d to_somewhere&lt;BR /&gt;&lt;BR /&gt;It should successfully dump the bootimage under&lt;BR /&gt;to_somehwere directory. Else, the tape is confirmed bad.&lt;BR /&gt;&lt;BR /&gt;You can also user check_recovery command to verify if everything is ok.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Aug 2001 17:31:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571499#M873267</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-28T17:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: view make_recovery tape contents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571500#M873268</link>
      <description>This has worked for me in the past:&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/0m rew&lt;BR /&gt;mt -t /dev/rmt/0mn fsf #no count default is 1&lt;BR /&gt;&lt;BR /&gt;# get table of contents&lt;BR /&gt;pax -vf /dev/rmt/0mn</description>
      <pubDate>Tue, 28 Aug 2001 17:34:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571500#M873268</guid>
      <dc:creator>Michael Roberts_3</dc:creator>
      <dc:date>2001-08-28T17:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: view make_recovery tape contents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571501#M873269</link>
      <description>Hi Sam:&lt;BR /&gt;&lt;BR /&gt;The following should work on a rewound tape (or one freshly inserted into the drive):&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0mn fsf 1&lt;BR /&gt;# tar -xvf /dev/rmt/0m filename&lt;BR /&gt;&lt;BR /&gt;Note that the first command forward spaces ONE FILE without rewind.  The second command extracts one file.&lt;BR /&gt;&lt;BR /&gt;The 'mt -t' is equivalent to 'mt -f' as of 11.x and is the preferred form.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 28 Aug 2001 17:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571501#M873269</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-28T17:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: view make_recovery tape contents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571502#M873270</link>
      <description>Thanks to everyone. I had to rewind b4 issuing the command "mt -t /dev/rmt/0mn fsr 1" &lt;BR /&gt; command.&lt;BR /&gt;I had to do:&lt;BR /&gt;# mt -t /dev/rmt/0m rew &lt;BR /&gt;Harry, Sridhar, Michael and James were right and pointed me in the right direction.&lt;BR /&gt;Appreciate it. Solved.</description>
      <pubDate>Tue, 28 Aug 2001 17:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571502#M873270</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2001-08-28T17:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: view make_recovery tape contents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571503#M873271</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;#mt -t /dev/rmt/0m rew &lt;BR /&gt;Will rewind the tape.&lt;BR /&gt;&lt;BR /&gt;#mt -t /dev/rmt/0mn fsf #1 &lt;BR /&gt;Will skip the lif area.&lt;BR /&gt;&lt;BR /&gt;#tar -xvf /dev/rmt/0m  home/abc/myFile.sh&lt;BR /&gt;&lt;BR /&gt;Attention:&lt;BR /&gt;The recovered file is in RELATIVE path ( without the slash in the begining. In my example the home directory is without the slash in the begining ).&lt;BR /&gt;&lt;BR /&gt;Only two files are in ABSOLUTE path :&lt;BR /&gt;/etc/passwd&lt;BR /&gt;/etc/group&lt;BR /&gt;&lt;BR /&gt;Magdi&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Aug 2001 07:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-make-recovery-tape-contents/m-p/2571503#M873271</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-08-29T07:55:11Z</dc:date>
    </item>
  </channel>
</rss>

