<?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: tar command syays &amp;quot;No such device or address&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573354#M30876</link>
    <description>Oops -f should be followed by the device&lt;BR /&gt;&lt;BR /&gt;So, you need to use&lt;BR /&gt;&lt;BR /&gt;tar cv /home/amit so that it picks up the default tape drive or&lt;BR /&gt;&lt;BR /&gt;tar cvf /dev/rmt/0m /home/amit&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Fri, 31 Aug 2001 06:03:03 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2001-08-31T06:03:03Z</dc:date>
    <item>
      <title>tar command syays "No such device or address"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573353#M30875</link>
      <description>When I try tar command to back-up a filesystem ( e.g. tar -cvf /home/amit ), I am getting an error as follows :&lt;BR /&gt;"No such device or address"&lt;BR /&gt;&lt;BR /&gt;I even tried to re-build the device file in /dev/rmt/c#t#dBEST and I can see all the usual files /dev/rmt/0m&lt;BR /&gt;      /dev/rmt/0mn &lt;BR /&gt;      /dev/rmt/0mnb&lt;BR /&gt;etc.,&lt;BR /&gt;&lt;BR /&gt;Can anybody indicate what could be the error, and how to re-create the device file /dev/rmt/0m that tar refers to by default... because my "mksf" only creates the file /dev/rmt/c#t#dBEST &lt;BR /&gt;&lt;BR /&gt;Thanks in advance....&lt;BR /&gt;&lt;BR /&gt;Amit Kureel</description>
      <pubDate>Fri, 31 Aug 2001 05:50:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573353#M30875</guid>
      <dc:creator>Amit Kureel</dc:creator>
      <dc:date>2001-08-31T05:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: tar command syays "No such device or address"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573354#M30876</link>
      <description>Oops -f should be followed by the device&lt;BR /&gt;&lt;BR /&gt;So, you need to use&lt;BR /&gt;&lt;BR /&gt;tar cv /home/amit so that it picks up the default tape drive or&lt;BR /&gt;&lt;BR /&gt;tar cvf /dev/rmt/0m /home/amit&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 31 Aug 2001 06:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573354#M30876</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-31T06:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: tar command syays "No such device or address"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573355#M30877</link>
      <description>Sridhar is correct, you aren't specifying a device or a file  to which tar is to send its output.  The only time I have seen that you dont have to specify the device is when you are doing a tar xv or xvf bcause then it defaults to /dev/rmt/0m (not all the time)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 31 Aug 2001 08:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573355#M30877</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2001-08-31T08:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: tar command syays "No such device or address"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573356#M30878</link>
      <description>hi Amit,&lt;BR /&gt;When you use -f option, you need to spacify the device file /dev/rmt/0m.&lt;BR /&gt;tar cvf /dev/rmt/0m /home/amit&lt;BR /&gt;&lt;BR /&gt;best of luck&lt;BR /&gt;&lt;BR /&gt;Animesh</description>
      <pubDate>Fri, 31 Aug 2001 08:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573356#M30878</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-08-31T08:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: tar command syays "No such device or address"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573357#M30879</link>
      <description>tar is one of those funny commands that the output preceeds the input&lt;BR /&gt;&lt;BR /&gt;use tar -cf output  input&lt;BR /&gt;&lt;BR /&gt;such as&lt;BR /&gt;&lt;BR /&gt;tar -cf /dev/rmt/0m  /opt&lt;BR /&gt;or if you want ot put it in a file&lt;BR /&gt;tar -cf /tmp/file.out /opt</description>
      <pubDate>Fri, 31 Aug 2001 11:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573357#M30879</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-08-31T11:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: tar command syays "No such device or address"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573358#M30880</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As already advised above, the correct tar format if you use "f" option is &lt;BR /&gt;tar cvf destination source&lt;BR /&gt;destination can be /dev/rmt/0m or a local file.&lt;BR /&gt;&lt;BR /&gt;Now something else,&lt;BR /&gt;&lt;BR /&gt;when i use the format you've shown above, i get the following errors:&lt;BR /&gt;1) tar cvf /home/amit      &lt;BR /&gt;Note: amit is nonexistent file or directory or an existing file &lt;BR /&gt;error: Attempt to create archive of no files. Nothing dumped&lt;BR /&gt;&lt;BR /&gt;2) tar cvf /home/amit&lt;BR /&gt;Note: Amit is existing directory under /home&lt;BR /&gt;error: tar: usage: tar ....options.... [tapefile] [blocksize] file1 file2 ....&lt;BR /&gt;&lt;BR /&gt;So i was wondering how got the error message "no such device or address" when you typed the tar command in the format mentioned by you.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Fri, 31 Aug 2001 12:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-syays-quot-no-such-device-or-address-quot/m-p/2573358#M30880</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-08-31T12:40:11Z</dc:date>
    </item>
  </channel>
</rss>

