<?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 Automatic DAT tape eject in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016800#M129622</link>
    <description>I wrote a script that checks for the existence of a DAT tape, checks the write protection and then eventually starts a make_tape_recovery script. Now I would like to add a line that ejects the tape.&lt;BR /&gt;&lt;BR /&gt;The mt command doesn't seem to have an eject command and I am not sure what other commands I should be looking at. Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;OS= Hp-UX 11.11&lt;BR /&gt;Server= rp5470s&lt;BR /&gt;DAT tape= DDS4s &amp;amp; DDS3s&lt;BR /&gt;&lt;BR /&gt;Thanx in advance.</description>
    <pubDate>Mon, 07 Jul 2003 13:57:12 GMT</pubDate>
    <dc:creator>Edward McCouch</dc:creator>
    <dc:date>2003-07-07T13:57:12Z</dc:date>
    <item>
      <title>Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016800#M129622</link>
      <description>I wrote a script that checks for the existence of a DAT tape, checks the write protection and then eventually starts a make_tape_recovery script. Now I would like to add a line that ejects the tape.&lt;BR /&gt;&lt;BR /&gt;The mt command doesn't seem to have an eject command and I am not sure what other commands I should be looking at. Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;OS= Hp-UX 11.11&lt;BR /&gt;Server= rp5470s&lt;BR /&gt;DAT tape= DDS4s &amp;amp; DDS3s&lt;BR /&gt;&lt;BR /&gt;Thanx in advance.</description>
      <pubDate>Mon, 07 Jul 2003 13:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016800#M129622</guid>
      <dc:creator>Edward McCouch</dc:creator>
      <dc:date>2003-07-07T13:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016801#M129623</link>
      <description>Try "mt offl"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2003 13:58:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016801#M129623</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-07T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016802#M129624</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Use this:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0m offl&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 07 Jul 2003 13:58:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016802#M129624</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-07-07T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016803#M129625</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've done it before with the 'mt' command.  Try this:&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/rmt/0m offl&lt;BR /&gt;&lt;BR /&gt;and see if it doesn't eject your DDS tape.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2003 13:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016803#M129625</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-07-07T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016804#M129626</link>
      <description>offl option in mt command  should do this.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Mon, 07 Jul 2003 13:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016804#M129626</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-07-07T13:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016805#M129627</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If the tape is /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;I use :-&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/rmt/0m offline &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Mon, 07 Jul 2003 14:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016805#M129627</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2003-07-07T14:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016806#M129628</link>
      <description>sounds like a very useful script.  I'm sure a few of us would love to have a copy.  So, if you can it would be nice if you could post a copy.&lt;BR /&gt;&lt;BR /&gt;isn't there a favorite sys admin scripts thread, if you post it there you can even get points for it.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf0fc5dc05a7ad711abdc0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf0fc5dc05a7ad711abdc0090277a778c,00.html&lt;/A&gt;</description>
      <pubDate>Mon, 07 Jul 2003 14:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016806#M129628</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-07-07T14:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016807#M129629</link>
      <description>Thank you all for responding so fast. I feel a bit foolish--I looked at the man page and saw the offl, but for some reason I thought that would make the tape drive go offline. I think I need to drink some more coffee.&lt;BR /&gt;&lt;BR /&gt;I'd post the script, but it is very crude and barbaric, although if you want a good laugh, I'll seek out that thread and post it in there. I'm a beginner so the script is just a bunch of cobbled together commands and lacks the elegance of most of the scripts that I've seen.&lt;BR /&gt;&lt;BR /&gt;Thanx again!&lt;BR /&gt;-Ed&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2003 14:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016807#M129629</guid>
      <dc:creator>Edward McCouch</dc:creator>
      <dc:date>2003-07-07T14:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DAT tape eject</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016808#M129630</link>
      <description>I've just tested this command and it works equally well on Ultrium Tape Drives.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 07 Jul 2003 14:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-dat-tape-eject/m-p/3016808#M129630</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-07T14:35:15Z</dc:date>
    </item>
  </channel>
</rss>

