<?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: Problem tarring to a device on a remote system in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266615#M59401</link>
    <description>I decided to solve the problem using a different strategy: &lt;BR /&gt;&lt;BR /&gt;The system that has the LTO-4 drive attached to it was configured to mount the directory subject to the tar backup as an NFS mount. Once that was done, the tar command was run with the data going to the locally attached drive.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 15 Dec 2010 22:00:17 GMT</pubDate>
    <dc:creator>Andrew Kaplan</dc:creator>
    <dc:date>2010-12-15T22:00:17Z</dc:date>
    <item>
      <title>Problem tarring to a device on a remote system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266613#M59399</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I am trying to tar a directory on one system, to an LTO-4 device attached on a remote system but am unable to do so. The command syntax that I am using on the first system is the following:&lt;BR /&gt;&lt;BR /&gt;tar -cvf &lt;IP address=""&gt;:/dev/rmt/6mn . --rsh-command=/usr/bin/ssh&lt;BR /&gt;&lt;BR /&gt;The error message that I am getting is the following:&lt;BR /&gt;&lt;BR /&gt;Cannot open /dev/rmt/6mn input/output error /usr/bin/rmt not found.&lt;BR /&gt;&lt;BR /&gt;I checked the remote system, and the rmt file is located in the /usr/local/bin and /usr/sbin directories. At first I thought that was the problem, but then I tried the same command on the first computer to tar to an attached device on another system similar to the latter one, and the tar went by without a hitch. When I checked for the location of rmt on that system, it too was located in the /usr/sbin/ directory. &lt;BR /&gt;&lt;BR /&gt;The system running tar is a Fedora Core 2 system, while that with the attached tape device is an HP-UX 11.11 server. I confirmed the hardware file for the tape device, and due to the configuration of the server, it is necessary to use the 6mn as opposed to the 6m hardware file.&lt;BR /&gt;&lt;BR /&gt;What is causing this issue to occur, and how can it be corrected?&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/IP&gt;</description>
      <pubDate>Tue, 14 Dec 2010 22:16:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266613#M59399</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-12-14T22:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem tarring to a device on a remote system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266614#M59400</link>
      <description>&lt;!--!*#--&gt;&amp;gt; What is causing this issue [...]&lt;BR /&gt;&lt;BR /&gt;Is that anything like a _problem_?&lt;BR /&gt;&lt;BR /&gt;I know nothing, but ...&lt;BR /&gt;&lt;BR /&gt;Have you read the GNU "tar" instructions&lt;BR /&gt;related to "Choosing and Naming Archive&lt;BR /&gt;Files" and using a "Remote Tape Server"?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/tar/manual/" target="_blank"&gt;http://www.gnu.org/software/tar/manual/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] another system similar [...]&lt;BR /&gt;&lt;BR /&gt;Define "similar".  As usual, actual output&lt;BR /&gt;from actual commands, like, say, "uname -a"&lt;BR /&gt;can be more helpful than vague descriptions&lt;BR /&gt;or interpretations.&lt;BR /&gt;&lt;BR /&gt;As I understand this stuff, when you tell GNU&lt;BR /&gt;"tar" to talk to a remote device, you're&lt;BR /&gt;really telling it to use "rsh"/"remsh" (or,&lt;BR /&gt;if requested, "ssh") to open a session on the&lt;BR /&gt;remote system, and to run a remote-tape&lt;BR /&gt;server ("rmt") program there, which will do&lt;BR /&gt;the actual I/O with the remote tape device.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] /usr/bin/rmt not found.&lt;BR /&gt;&lt;BR /&gt;Apparently, it's not finding this "rmt"&lt;BR /&gt;program where it's looking for it.  If GNU&lt;BR /&gt;"tar" doesn't have a convenient option to let&lt;BR /&gt;you specify some other path to the remote&lt;BR /&gt;"rmt" program, then you may need to create a&lt;BR /&gt;link to (or a copy of) the right file in the&lt;BR /&gt;expected place.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I confirmed the hardware file for the tape&lt;BR /&gt;&amp;gt; device, [...]&lt;BR /&gt;&lt;BR /&gt;Nice, but without an appropriate "rmt" where&lt;BR /&gt;it's expected, all the hardware support in&lt;BR /&gt;the world won't get GNU "tar" in touch with a&lt;BR /&gt;remote tape drive.&lt;BR /&gt;&lt;BR /&gt;Note that I haven't looked to see if HP-UX&lt;BR /&gt;11.11 comes with an appropriate "rmt"&lt;BR /&gt;program, or if you should be using the one&lt;BR /&gt;which is supplied with GNU "tar", and, of&lt;BR /&gt;course, with my weak psychic powers, I also&lt;BR /&gt;have no idea if you have GNU "tar" (with its&lt;BR /&gt;"rmt" program) installed on the HP-UX system&lt;BR /&gt;(and, if so, where).</description>
      <pubDate>Wed, 15 Dec 2010 04:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266614#M59400</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-12-15T04:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem tarring to a device on a remote system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266615#M59401</link>
      <description>I decided to solve the problem using a different strategy: &lt;BR /&gt;&lt;BR /&gt;The system that has the LTO-4 drive attached to it was configured to mount the directory subject to the tar backup as an NFS mount. Once that was done, the tar command was run with the data going to the locally attached drive.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2010 22:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266615#M59401</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-12-15T22:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem tarring to a device on a remote system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266616#M59402</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I decided to solve the problem using a&lt;BR /&gt;&amp;gt; different strategy:&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;If you had asked how to get a "tar" back-up&lt;BR /&gt;of a GNU/Linux file system onto a tape drive&lt;BR /&gt;which was connected to an HP-UX system, then&lt;BR /&gt;you might have gotten advice like, "Use&lt;BR /&gt;NFS?".  But that's not what you asked.&lt;BR /&gt;&lt;BR /&gt;Note that an old HP-UX "tar" program and/or&lt;BR /&gt;old HP-UX NFS client software may impose&lt;BR /&gt;limits (file size, file path name length,&lt;BR /&gt;...) which would not be encountered using GNU&lt;BR /&gt;"tar" (somewhere).</description>
      <pubDate>Wed, 15 Dec 2010 23:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266616#M59402</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-12-15T23:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem tarring to a device on a remote system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266617#M59403</link>
      <description>...</description>
      <pubDate>Thu, 16 Dec 2010 00:53:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266617#M59403</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-12-16T00:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem tarring to a device on a remote system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266618#M59404</link>
      <description>&lt;!--!*#--&gt;You're welcome.</description>
      <pubDate>Thu, 16 Dec 2010 02:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-tarring-to-a-device-on-a-remote-system/m-p/5266618#M59404</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-12-16T02:52:20Z</dc:date>
    </item>
  </channel>
</rss>

