<?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: DAT Autoloader script? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431503#M3224</link>
    <description>Armin,&lt;BR /&gt;&lt;BR /&gt;mc is part of hp-ux and it's /usr/sbin/mc&lt;BR /&gt;The man page tells you some more details</description>
    <pubDate>Wed, 19 Jul 2000 05:48:50 GMT</pubDate>
    <dc:creator>Patrick Wessel</dc:creator>
    <dc:date>2000-07-19T05:48:50Z</dc:date>
    <item>
      <title>DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431500#M3221</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a HP DAT Autoloader with 6 DDS slots.  I was wondering if anyone has written any shell script (perhaps using a combination of tar and fbackup commands) to backup data to each individual DDS tape without using Omniback or Netbackup? Is it possible to create a device file for each slot and command the autoloader to swap tape from a script?&lt;BR /&gt;&lt;BR /&gt;Jules</description>
      <pubDate>Wed, 19 Jul 2000 01:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431500#M3221</guid>
      <dc:creator>CKT</dc:creator>
      <dc:date>2000-07-19T01:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431501#M3222</link>
      <description>there is a utility "mc" Media changer which can be used to load and unload the tapes from the slots to the drive. you can use this along with your fbackup/tar command which will take tape from each slot and take backup accordingly. use man pages of "mc" for more  options.&lt;BR /&gt;&lt;BR /&gt;Manju</description>
      <pubDate>Wed, 19 Jul 2000 02:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431501#M3222</guid>
      <dc:creator>Manju Kampli</dc:creator>
      <dc:date>2000-07-19T02:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431502#M3223</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Where can I get the mc "Media Changer" Tool?&lt;BR /&gt;&lt;BR /&gt;Best regards, Armin</description>
      <pubDate>Wed, 19 Jul 2000 04:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431502#M3223</guid>
      <dc:creator>Armin Geisbusch</dc:creator>
      <dc:date>2000-07-19T04:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431503#M3224</link>
      <description>Armin,&lt;BR /&gt;&lt;BR /&gt;mc is part of hp-ux and it's /usr/sbin/mc&lt;BR /&gt;The man page tells you some more details</description>
      <pubDate>Wed, 19 Jul 2000 05:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431503#M3224</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-07-19T05:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431504#M3225</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;here an example:&lt;BR /&gt;&lt;BR /&gt;mc -p /dev/autochanger_spt -s S1 -d D1&lt;BR /&gt;tar cvf /dev/rmt/0m .....&lt;BR /&gt;mc -p /dev/autochanger_spt -s D1 -d S1 -s S2 -d D1&lt;BR /&gt;tar cvf /dev/rmt/0m .....&lt;BR /&gt;mc -p /dev/autochanger_spt -s D1 -d S2&lt;BR /&gt;&lt;BR /&gt;The above example will load DDS from Slot 1 into drive, then do tar backup.&lt;BR /&gt;After this it unloads the DDS from drive to Slot 1 and load DDS from Slot 2 into drive.&lt;BR /&gt;Then do again tar backup.&lt;BR /&gt;Finally unload DDS from drive into Slot 2.&lt;BR /&gt;The /dev/autochanger_spt must be the scsi pass through device driver for your autochanger (Ie.: major=76 minor=0x053100).&lt;BR /&gt;You must have the driver spt in the kernel!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 07:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431504#M3225</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-07-19T07:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431505#M3226</link>
      <description>Thank you all for the info.  Does anyone know the different between these drivers?&lt;BR /&gt;spt&lt;BR /&gt;sctl&lt;BR /&gt;schgr&lt;BR /&gt;stape&lt;BR /&gt;Are they are needed for the DDS4 DAT autoloader?&lt;BR /&gt;&lt;BR /&gt;Also, when you use fbackup and tar to back up to the autoloader how do you know the embedded tape is full in order to swap a second tape in?  Is there a command to query how much space is left on the tape?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 20 Jul 2000 03:24:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431505#M3226</guid>
      <dc:creator>CKT</dc:creator>
      <dc:date>2000-07-20T03:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431506#M3227</link>
      <description>In your fbackup config file you can specify a script to run when hitting the end of tape.  Have a look at /etc/sam/br/fbackup_config and the parameter should be "chgvol".  Also, do "man fbackup" and you'll see some simple examples.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Philip</description>
      <pubDate>Thu, 20 Jul 2000 03:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431506#M3227</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2000-07-20T03:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431507#M3228</link>
      <description>Armin wrote:&lt;BR /&gt;&lt;BR /&gt;"Where can I get the mc "Media Changer" Tool?"&lt;BR /&gt;&lt;BR /&gt;Answer: PHCO_16194 for 10.20&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jul 2000 10:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431507#M3228</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-07-20T10:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431508#M3229</link>
      <description>I had a couple of systems where I had an AL-48 (i think that was the model) attached and I created a whole bunch of backup scripts using fbackup and the 6 slot changer. Email me if you're interested in looking at them.&lt;BR /&gt;gglom@bigfoot.com</description>
      <pubDate>Thu, 20 Jul 2000 22:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431508#M3229</guid>
      <dc:creator>Glenn S. Davidson</dc:creator>
      <dc:date>2000-07-20T22:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431509#M3230</link>
      <description>There is a disadvantage to using mc - execution of any of its subcommands puts the drive into random mode. The normal sequential mode can only be restored by reinserting the tapes container.&lt;BR /&gt;&lt;BR /&gt;If you really need to strictly separate the backups on per-tape basis then you need to use mc but a more straightforward processing can be achieved by using the changer in its default mode. In this mode the "mt offl" command will automatically insert the next tape so it's easier to continue a multi-tape backup.&lt;BR /&gt;&lt;BR /&gt;There was a neat backup utility by &lt;A href="http://www.adiva.de" target="_blank"&gt;www.adiva.de&lt;/A&gt; called xb/xr  that used to handle such problems elegantly. It produced tar, cpio or dump formats, full volume or selective path/date-wise, with a directory up front which could be used to inspect the contents in any terminal window and retrieve individual files/directories by spacing forward directly to selected files.Upon reaching the end of tape it would eject the full tape and poll the device every 30s if a fresh tape is available to continue the backup.</description>
      <pubDate>Fri, 21 Jul 2000 10:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431509#M3230</guid>
      <dc:creator>Dragan Krnic</dc:creator>
      <dc:date>2000-07-21T10:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAT Autoloader script?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431510#M3231</link>
      <description>Jules Tong wrote:&lt;BR /&gt;Thank you all for the info. Does anyone&lt;BR /&gt;know the different between these drivers? &lt;BR /&gt;                              spt &lt;BR /&gt;                              sctl &lt;BR /&gt;                              schgr &lt;BR /&gt;                              stape &lt;BR /&gt; Are they are needed for the DDS4 DAT&lt;BR /&gt; autoloader?&lt;BR /&gt;&lt;BR /&gt;spt is the SCSI Pass Through driver.  It is used to communicate to &lt;BR /&gt;an autochanger or library which is connected to a SCSI adapter card&lt;BR /&gt;on the HP-PB bus.&lt;BR /&gt;&lt;BR /&gt;sctl is the adapter driver for a SCSi adapter on a non-HP-PB bus&lt;BR /&gt;(HSC, PCI, EISA).  It will bind to the card itself (usually at SCSI address&lt;BR /&gt;7) and can be used for SCSI pass through to that bus&lt;BR /&gt;&lt;BR /&gt;schgr is the driver for autochangers on HSC, PCI and EISA busses.&lt;BR /&gt;It was actually designed for MagnetoOptical disk changers, but it&lt;BR /&gt;will generally work with tape autochangers as well.&lt;BR /&gt;&lt;BR /&gt;stape is the SCSI tape device driver for HSC, PCI and EISA busses.&lt;BR /&gt;That's the driver that actually talks to the tape drive.&lt;BR /&gt;&lt;BR /&gt;I generally include schgr, sctl and stape and let them bind to the things&lt;BR /&gt;they want to bind to.  Then you use the schgr device file to talk to the &lt;BR /&gt;library and stape to talk to the drive.  I've heard reports of people having&lt;BR /&gt;trouble with schgr and tape libraries but I've never seen it happen.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jul 2000 22:08:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dat-autoloader-script/m-p/2431510#M3231</guid>
      <dc:creator>Chris Moore</dc:creator>
      <dc:date>2000-07-24T22:08:30Z</dc:date>
    </item>
  </channel>
</rss>

