<?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: Redhat 7.3 - Amanda and Surestore 40x6 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/redhat-7-3-amanda-and-surestore-40x6/m-p/2809123#M77575</link>
    <description>This doesn't answer your question, but may provide help to others that are exploring the 40x6 and Linux; and it may be useful for amanda purposes (I don't know).  We use a small perl script, which is passed into tar in order to do large backups.  The tar command goes somethign like this:&lt;BR /&gt;&lt;BR /&gt;$TAR --new-volume-script=/path/to/nextmtx.pl -cvM -f /dev/tape blah blah blah&lt;BR /&gt;&lt;BR /&gt;and nextmtx.pl looks like this:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/perl&lt;BR /&gt;&lt;BR /&gt;use strict;&lt;BR /&gt;&lt;BR /&gt;my $MT = "/bin/mt";&lt;BR /&gt;my $MTX= "/usr/sbin/mtx";&lt;BR /&gt;my $AUTOLOAD_DEVICE = "/dev/changer";&lt;BR /&gt;my $TAPE_DRIVE = "/dev/tape";&lt;BR /&gt;&lt;BR /&gt;# switch to the next tape and make sure it is rewound&lt;BR /&gt;&lt;BR /&gt;do_cmd ("$MTX -f $AUTOLOAD_DEVICE next");&lt;BR /&gt;sleep 10;&lt;BR /&gt;do_cmd("$MT -f $TAPE_DRIVE rewind");&lt;BR /&gt;&lt;BR /&gt;# everything OK&lt;BR /&gt;exit 0;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sub do_cmd ($) {&lt;BR /&gt;&lt;BR /&gt;  my $cmd = shift;&lt;BR /&gt;&lt;BR /&gt;  open CMD, "$cmd 2&amp;gt;&amp;amp;1 |" or die "Unable to open pipe ($!): $cmd";&lt;BR /&gt;  my $result;&lt;BR /&gt;  while (my $line = &lt;CMD&gt;) {&lt;BR /&gt;    $result .= $line;&lt;BR /&gt;  }&lt;BR /&gt;  close CMD or die "Closed pipe returned error ($!): $cmd\n$result\n";&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;/CMD&gt;</description>
    <pubDate>Thu, 19 Sep 2002 18:58:29 GMT</pubDate>
    <dc:creator>Craig Kelley</dc:creator>
    <dc:date>2002-09-19T18:58:29Z</dc:date>
    <item>
      <title>Redhat 7.3 - Amanda and Surestore 40x6</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-7-3-amanda-and-surestore-40x6/m-p/2809122#M77574</link>
      <description>Can someone post working amanda config files for the &lt;BR /&gt;hp40x6 tape changer?&lt;BR /&gt;&lt;BR /&gt;Im getting syntax errors when I run amcheck, so its useless.&lt;BR /&gt;&lt;BR /&gt;Im looking for amanda.conf and mtx-changer.conf.&lt;BR /&gt;&lt;BR /&gt;Im using amanda-2.4.2p2 with the chg-zd-mtx glue.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Sep 2002 20:29:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-7-3-amanda-and-surestore-40x6/m-p/2809122#M77574</guid>
      <dc:creator>Peter Lega</dc:creator>
      <dc:date>2002-09-18T20:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Redhat 7.3 - Amanda and Surestore 40x6</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-7-3-amanda-and-surestore-40x6/m-p/2809123#M77575</link>
      <description>This doesn't answer your question, but may provide help to others that are exploring the 40x6 and Linux; and it may be useful for amanda purposes (I don't know).  We use a small perl script, which is passed into tar in order to do large backups.  The tar command goes somethign like this:&lt;BR /&gt;&lt;BR /&gt;$TAR --new-volume-script=/path/to/nextmtx.pl -cvM -f /dev/tape blah blah blah&lt;BR /&gt;&lt;BR /&gt;and nextmtx.pl looks like this:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/perl&lt;BR /&gt;&lt;BR /&gt;use strict;&lt;BR /&gt;&lt;BR /&gt;my $MT = "/bin/mt";&lt;BR /&gt;my $MTX= "/usr/sbin/mtx";&lt;BR /&gt;my $AUTOLOAD_DEVICE = "/dev/changer";&lt;BR /&gt;my $TAPE_DRIVE = "/dev/tape";&lt;BR /&gt;&lt;BR /&gt;# switch to the next tape and make sure it is rewound&lt;BR /&gt;&lt;BR /&gt;do_cmd ("$MTX -f $AUTOLOAD_DEVICE next");&lt;BR /&gt;sleep 10;&lt;BR /&gt;do_cmd("$MT -f $TAPE_DRIVE rewind");&lt;BR /&gt;&lt;BR /&gt;# everything OK&lt;BR /&gt;exit 0;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sub do_cmd ($) {&lt;BR /&gt;&lt;BR /&gt;  my $cmd = shift;&lt;BR /&gt;&lt;BR /&gt;  open CMD, "$cmd 2&amp;gt;&amp;amp;1 |" or die "Unable to open pipe ($!): $cmd";&lt;BR /&gt;  my $result;&lt;BR /&gt;  while (my $line = &lt;CMD&gt;) {&lt;BR /&gt;    $result .= $line;&lt;BR /&gt;  }&lt;BR /&gt;  close CMD or die "Closed pipe returned error ($!): $cmd\n$result\n";&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;/CMD&gt;</description>
      <pubDate>Thu, 19 Sep 2002 18:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-7-3-amanda-and-surestore-40x6/m-p/2809123#M77575</guid>
      <dc:creator>Craig Kelley</dc:creator>
      <dc:date>2002-09-19T18:58:29Z</dc:date>
    </item>
  </channel>
</rss>

