<?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:/dev/st0:cannot write:input/output error in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781601#M66166</link>
    <description>Using 'mt', find out what block size the tape drive is set to, then verify that the 'tar' command you are using uses the correct block values.</description>
    <pubDate>Thu, 04 May 2006 18:47:38 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2006-05-04T18:47:38Z</dc:date>
    <item>
      <title>Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781594#M66159</link>
      <description>I am getting the below error while backing up on my linux Machine&lt;BR /&gt;&lt;BR /&gt;Tar:/dev/st0:cannot write:input/output error&lt;BR /&gt;&lt;BR /&gt;The tape drive works fine when connected to Windows.&lt;BR /&gt;&lt;BR /&gt;The kernel version is 2.4.4-64GB.&lt;BR /&gt;&lt;BR /&gt;Am looking for info related to this error.Am able to take small backups.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!&lt;BR /&gt;</description>
      <pubDate>Wed, 03 May 2006 04:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781594#M66159</guid>
      <dc:creator>abcxyz</dc:creator>
      <dc:date>2006-05-03T04:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781595#M66160</link>
      <description>Also,Both Windows and Linux are same model Proliant machines</description>
      <pubDate>Wed, 03 May 2006 04:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781595#M66160</guid>
      <dc:creator>abcxyz</dc:creator>
      <dc:date>2006-05-03T04:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781596#M66161</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Isolate the problem by connecting another tape drive to the linux system.&lt;BR /&gt;&lt;BR /&gt;check the dmesg for any kind of errors&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Siljumon S</description>
      <pubDate>Wed, 03 May 2006 05:18:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781596#M66161</guid>
      <dc:creator>Siljumon Sebastian</dc:creator>
      <dc:date>2006-05-03T05:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781597#M66162</link>
      <description>Thanks for your Reply.&lt;BR /&gt;&lt;BR /&gt;The issue remains same if connecting another Tape Drive on to the machine.Sometimes works fine for a couple or three backups.&lt;BR /&gt;&lt;BR /&gt;I'll try to post the Dmesg logs.</description>
      <pubDate>Wed, 03 May 2006 05:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781597#M66162</guid>
      <dc:creator>abcxyz</dc:creator>
      <dc:date>2006-05-03T05:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781598#M66163</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You seem to have eliminated hardware as an issue with your tests.&lt;BR /&gt;&lt;BR /&gt;I then suggest you get new drivers for Linux from the tape maker and in general patch the OS with patchlink or up2date or whatever facilities your Linux vendor/distribution provides.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 03 May 2006 09:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781598#M66163</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-05-03T09:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781599#M66164</link>
      <description>Thanks All for the replies.&lt;BR /&gt;&lt;BR /&gt;Below is the output from dmesg...Cannot see any errors&lt;BR /&gt;&lt;BR /&gt;scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.13&lt;BR /&gt;        &lt;ADAPTEC&gt;&lt;BR /&gt;        aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs&lt;BR /&gt;&lt;BR /&gt;scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.13&lt;BR /&gt;        &lt;ADAPTEC&gt;&lt;BR /&gt;        aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs&lt;BR /&gt;&lt;BR /&gt;  Vendor: HP        Model: C1537A            Rev: L411&lt;BR /&gt;  Type:   Sequential-Access                  ANSI SCSI revision: 02&lt;BR /&gt;(scsi1:A:0): 10.000MB/s transfers (10.000MHz, offset 32)&lt;BR /&gt;&lt;BR /&gt;Also,have observed that small backups still happen&lt;BR /&gt;&lt;/ADAPTEC&gt;&lt;/ADAPTEC&gt;</description>
      <pubDate>Thu, 04 May 2006 01:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781599#M66164</guid>
      <dc:creator>abcxyz</dc:creator>
      <dc:date>2006-05-04T01:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781600#M66165</link>
      <description>1) What is the exact command line you are trying to use with tar?&lt;BR /&gt;&lt;BR /&gt;2) Can you output the contents of /proc/scsi/scsi here?  For some reason, I'm thinking that "st0" is incorrect syntax for a tape drive on a linux box...&lt;BR /&gt;&lt;BR /&gt;3) Since you are on a linux box, fire up the "Amanda" tape backup application and see if the drive is detected and usable from there.&lt;BR /&gt;&lt;BR /&gt;4)Finally, try this syntax and see if anything happens (old-school *nix, BTW):&lt;BR /&gt;dd if=/ of=/dev/st0</description>
      <pubDate>Thu, 04 May 2006 09:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781600#M66165</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2006-05-04T09:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781601#M66166</link>
      <description>Using 'mt', find out what block size the tape drive is set to, then verify that the 'tar' command you are using uses the correct block values.</description>
      <pubDate>Thu, 04 May 2006 18:47:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781601#M66166</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-05-04T18:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781602#M66167</link>
      <description>Thanks all,I'll check and revert.&lt;BR /&gt;&lt;BR /&gt;please list the steps used to check the block size as do not have much info on Linux.&lt;BR /&gt;&lt;BR /&gt;I had read somewhere that there's a limitation on the File sizes that can be backed up using tar in Linux.&lt;BR /&gt;&lt;BR /&gt;Any ideas on it.Thanks</description>
      <pubDate>Fri, 05 May 2006 00:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781602#M66167</guid>
      <dc:creator>abcxyz</dc:creator>
      <dc:date>2006-05-05T00:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781603#M66168</link>
      <description>Recent versions of tar don't have the 2GB input-file-size limit, but as far as I'm aware, it's always worked fine for the output being a device.&lt;BR /&gt;&lt;BR /&gt;You want something like:&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/nst0 status&lt;BR /&gt;&lt;BR /&gt;And to set it, something like:&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/nst0 setblk 0&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/nst0 setblk 512&lt;BR /&gt;&lt;BR /&gt;depending on where you're going.  Using '0' should set the device to auto-block-size, but some times that can confuse things more.&lt;BR /&gt;&lt;BR /&gt;Tar should be happy with 512-byte multiples.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 May 2006 00:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781603#M66168</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-05-05T00:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781604#M66169</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;The below command gives the following output..Is it normal&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/nst0 status&lt;BR /&gt;drive type = Generic SCSI-2 tape&lt;BR /&gt;drive status = 620756992&lt;BR /&gt;sense key error = 0&lt;BR /&gt;residue count = 0&lt;BR /&gt;file number = 0&lt;BR /&gt;block number = 0&lt;BR /&gt;Tape block size 0 bytes. Density code 0x25 (unknown).&lt;BR /&gt;Soft error count since last status=0&lt;BR /&gt;General status bits on (41010000):&lt;BR /&gt;</description>
      <pubDate>Thu, 18 May 2006 06:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781604#M66169</guid>
      <dc:creator>abcxyz</dc:creator>
      <dc:date>2006-05-18T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Tar:/dev/st0:cannot write:input/output error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781605#M66170</link>
      <description>I'm unable to make out on what below means:&lt;BR /&gt;&lt;BR /&gt;Tape block size 0 bytes. Density code 0x25 (unknown).</description>
      <pubDate>Mon, 22 May 2006 02:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-dev-st0-cannot-write-input-output-error/m-p/3781605#M66170</guid>
      <dc:creator>abcxyz</dc:creator>
      <dc:date>2006-05-22T02:52:15Z</dc:date>
    </item>
  </channel>
</rss>

