<?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/nst0: Cannot write: Input/output error on Linux in StoreEver Tape Storage</title>
    <link>https://community.hpe.com/t5/storeever-tape-storage/tar-dev-nst0-cannot-write-input-output-error-on-linux/m-p/5130419#M29784</link>
    <description>faulty tape issue.</description>
    <pubDate>Thu, 02 Oct 2008 01:07:44 GMT</pubDate>
    <dc:creator>SCL_2</dc:creator>
    <dc:date>2008-10-02T01:07:44Z</dc:date>
    <item>
      <title>tar: /dev/nst0: Cannot write: Input/output error on Linux</title>
      <link>https://community.hpe.com/t5/storeever-tape-storage/tar-dev-nst0-cannot-write-input-output-error-on-linux/m-p/5130417#M29782</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;I'm very new at Linux and would love some assistance.  I have been trying to get a backup working for our new HP Proliant ML150 server that is running Linux Open eSuse 10.3.  We have a new HP Storageworks DAT160 drive and I am unable to backup up any file that is bigger than 1MB.  I come up with the error&lt;BR /&gt; &lt;BR /&gt;tar: /dev/nst0: Cannot write: Input/output error&lt;BR /&gt;tar: Error is not recoverable: exiting now&lt;BR /&gt;&lt;BR /&gt;The command I am using is&lt;BR /&gt;tar cvf /dev/nst0 &lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;I have tried varies things from cleaning the tape drive, to using brand new tape (DAT160), rebooting the server and finally having the original tape drive replaced (as it was still under warranty).  Following are results from commands I have issued to check tape drive status:&lt;BR /&gt;&lt;BR /&gt;#dmesg | grep scsi&lt;BR /&gt;scsi0 : ahci&lt;BR /&gt;scsi1 : ahci&lt;BR /&gt;scsi2 : ahci&lt;BR /&gt;scsi3 : ahci&lt;BR /&gt;scsi4 : ahci&lt;BR /&gt;scsi5 : ahci&lt;BR /&gt;scsi 0:0:0:0: Direct-Access     ATA      GB0500C4413      n/a  PQ: 0 ANSI: 5&lt;BR /&gt;scsi 2:0:0:0: Direct-Access     ATA      GB0500C4413      n/a  PQ: 0 ANSI: 5&lt;BR /&gt;scsi6 : ata_piix&lt;BR /&gt;scsi7 : ata_piix&lt;BR /&gt;scsi 6:0:0:0: CD-ROM            HL-DT-ST CD-ROM GCR-8486B 2.00 PQ: 0 ANSI: 5&lt;BR /&gt;scsi8 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=16&lt;BR /&gt;scsi 8:0:3:0: Sequential-Access HP       DAT160           WP82 PQ: 0 ANSI: 3&lt;BR /&gt;sd 0:0:0:0: Attached scsi generic sg0 type 0&lt;BR /&gt;sd 2:0:0:0: Attached scsi generic sg1 type 0&lt;BR /&gt;scsi 6:0:0:0: Attached scsi generic sg2 type 5&lt;BR /&gt;scsi 8:0:3:0: Attached scsi generic sg3 type 1&lt;BR /&gt;sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray&lt;BR /&gt;sr 6:0:0:0: Attached scsi CD-ROM sr0&lt;BR /&gt;st 8:0:3:0: Attached scsi tape st0&lt;BR /&gt;mptscsih: ioc0: attempting task abort! (sc=f780ce40)&lt;BR /&gt;mptscsih: ioc0: Issue of TaskMgmt failed!&lt;BR /&gt;mptscsih: ioc0: task abort: FAILED (sc=f780ce40)&lt;BR /&gt;mptscsih: ioc0: attempting target reset! (sc=f780ce40)&lt;BR /&gt;mptscsih: ioc0: target reset: SUCCESS (sc=f780ce40)&lt;BR /&gt;mptscsih: ioc0: attempting task abort! (sc=f780c6c0)&lt;BR /&gt;mptscsih: ioc0: Issue of TaskMgmt failed!&lt;BR /&gt;mptscsih: ioc0: task abort: FAILED (sc=f780c6c0)&lt;BR /&gt;mptscsih: ioc0: attempting target reset! (sc=f780c6c0)&lt;BR /&gt;mptscsih: ioc0: target reset: SUCCESS (sc=f780c6c0)&lt;BR /&gt;mptscsih: ioc0: attempting task abort! (sc=e148b940)&lt;BR /&gt;mptscsih: ioc0: Issue of TaskMgmt failed!&lt;BR /&gt;mptscsih: ioc0: task abort: FAILED (sc=e148b940)&lt;BR /&gt;mptscsih: ioc0: attempting target reset! (sc=e148b940)&lt;BR /&gt;mptscsih: ioc0: target reset: SUCCESS (sc=e148b940)&lt;BR /&gt;mptscsih: ioc0: attempting task abort! (sc=ceb99480)&lt;BR /&gt;mptscsih: ioc0: Issue of TaskMgmt failed!&lt;BR /&gt;mptscsih: ioc0: task abort: FAILED (sc=ceb99480)&lt;BR /&gt;mptscsih: ioc0: attempting target reset! (sc=ceb99480)&lt;BR /&gt;mptscsih: ioc0: target reset: SUCCESS (sc=ceb99480)&lt;BR /&gt;&lt;BR /&gt;#dmesg | grep "st"&lt;BR /&gt;Linux version 2.6.22.17-0.1-default (geeko@buildhost) (gcc version 4.2.1 (SUSE Linux)) #1 SMP 2008/02/10 20:01:04 UTC&lt;BR /&gt;Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000)&lt;BR /&gt;Built 1 zonelists.  Total pages: 259874&lt;BR /&gt;Enabling fast FPU save and restore... done.&lt;BR /&gt;Checking 'hlt' instruction... OK.&lt;BR /&gt;CPU0: Intel(R) Xeon(R) CPU            5110  @ 1.60GHz stepping 0b&lt;BR /&gt;CPU1: Intel(R) Xeon(R) CPU            5110  @ 1.60GHz stepping 0b&lt;BR /&gt;migration_cost=47&lt;BR /&gt;NET: Registered protocol family 16&lt;BR /&gt;ACPI: bus type pci registered&lt;BR /&gt;Setting up standard PCI resources&lt;BR /&gt;ACPI: bus type pnp registered&lt;BR /&gt;ACPI: ACPI bus type pnp unregistered&lt;BR /&gt;PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report&lt;BR /&gt;Time: tsc clocksource has been installed.&lt;BR /&gt;NET: Registered protocol family 2&lt;BR /&gt;TCP established hash table entries: 131072 (order: 8, 1572864 bytes)&lt;BR /&gt;TCP: Hash tables configured (established 131072 bind 65536)&lt;BR /&gt;TCP reno registered&lt;BR /&gt;Machine check exception polling timer started.&lt;BR /&gt;io scheduler noop registered&lt;BR /&gt;io scheduler anticipatory registered&lt;BR /&gt;io scheduler deadline registered&lt;BR /&gt;io scheduler cfq registered (default)&lt;BR /&gt;vesafb: pmi: set display start = c00c7b52, set palette = c00c7bbe&lt;BR /&gt;NET: Registered protocol family 1&lt;BR /&gt;ACPI: Processor [CPU0] (supports 8 throttling states)&lt;BR /&gt;ACPI: Processor [CPU1] (supports 8 throttling states)&lt;BR /&gt;SCSI subsystem initialized&lt;BR /&gt;Fusion MPT SPI Host driver 3.04.05&lt;BR /&gt; target8:0:3: Domain Validation skipping write tests&lt;BR /&gt;usbcore: registered new interface driver usbfs&lt;BR /&gt;usbcore: registered new interface driver hub&lt;BR /&gt;usbcore: registered new device driver usb&lt;BR /&gt; sda8&amp;lt;6&amp;gt;USB Universal Host Controller Interface driver v3.0&lt;BR /&gt;ehci_hcd 0000:00:1d.7: EHCI Host Controller&lt;BR /&gt;ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1&lt;BR /&gt;ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004&lt;BR /&gt;usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1&lt;BR /&gt;usb usb1: Product: EHCI Host Controller&lt;BR /&gt;uhci_hcd 0000:00:1d.0: UHCI Host Controller&lt;BR /&gt;uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2&lt;BR /&gt;usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1&lt;BR /&gt;usb usb2: Product: UHCI Host Controller&lt;BR /&gt;uhci_hcd 0000:00:1d.1: UHCI Host Controller&lt;BR /&gt;uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3&lt;BR /&gt;usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1&lt;BR /&gt;usb usb3: Product: UHCI Host Controller&lt;BR /&gt;uhci_hcd 0000:00:1d.2: UHCI Host Controller&lt;BR /&gt;uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4&lt;BR /&gt;usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1&lt;BR /&gt;usb usb4: Product: UHCI Host Controller&lt;BR /&gt;uhci_hcd 0000:00:1d.3: UHCI Host Controller&lt;BR /&gt;uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5&lt;BR /&gt;usb usb5: new device strings: Mfr=3, Product=2, SerialNumber=1&lt;BR /&gt;usb usb5: Product: UHCI Host Controller&lt;BR /&gt;usb 4-2: new device strings: Mfr=1, Product=2, SerialNumber=3&lt;BR /&gt;usbcore: registered new interface driver hiddev&lt;BR /&gt;usbcore: registered new interface driver usbhid&lt;BR /&gt;kjournald starting.  Commit interval 5 seconds&lt;BR /&gt;EXT3-fs: mounted filesystem with ordered data mode.&lt;BR /&gt;rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0&lt;BR /&gt;st: Version 20070203, fixed bufsize 32768, s/g segs 256&lt;BR /&gt;st 8:0:3:0: Attached scsi tape st0&lt;BR /&gt;st 8:0:3:0: st0: try direct i/o: yes (alignment 512 B)&lt;BR /&gt;osst :I: Tape driver with OnStream support version 0.99.4&lt;BR /&gt;osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $&lt;BR /&gt;st0: Block limits 1 - 16777215 bytes.&lt;BR /&gt;kjournald starting.  Commit interval 5 seconds&lt;BR /&gt;EXT3-fs: mounted filesystem with ordered data mode.&lt;BR /&gt;kjournald starting.  Commit interval 5 seconds&lt;BR /&gt;EXT3-fs: mounted filesystem with ordered data mode.&lt;BR /&gt;kjournald starting.  Commit interval 5 seconds&lt;BR /&gt;EXT3-fs: mounted filesystem with ordered data mode.&lt;BR /&gt;NET: Registered protocol family 17&lt;BR /&gt;st 8:0:3:0: CDB: Write(6): 0a 00 00 28 00 00&lt;BR /&gt;st 8:0:3:0: CDB: Write(6): 0a 00 00 28 00 00&lt;BR /&gt;st0: Error 80000 (sugg. bt 0x0, driver bt 0x0, host bt 0x8).&lt;BR /&gt; target8:0:3: Domain Validation skipping write tests&lt;BR /&gt;st 8:0:3:0: CDB: Write(6): 0a 00 00 28 00 00&lt;BR /&gt;st 8:0:3:0: CDB: Write(6): 0a 00 00 28 00 00&lt;BR /&gt;st0: Error 80000 (sugg. bt 0x0, driver bt 0x0, host bt 0x8).&lt;BR /&gt; target8:0:3: Domain Validation skipping write tests&lt;BR /&gt;st 8:0:3:0: CDB: Write(6): 0a 00 00 28 00 00&lt;BR /&gt;st 8:0:3:0: CDB: Write(6): 0a 00 00 28 00 00&lt;BR /&gt;st0: Error 80000 (sugg. bt 0x0, driver bt 0x0, host bt 0x8).&lt;BR /&gt; target8:0:3: Domain Validation skipping write tests&lt;BR /&gt;st 8:0:3:0: CDB: Write(6): 0a 00 00 28 00 00&lt;BR /&gt;st 8:0:3:0: CDB: Write(6): 0a 00 00 28 00 00&lt;BR /&gt;st0: Error 80000 (sugg. bt 0x0, driver bt 0x0, host bt 0x8).&lt;BR /&gt; target8:0:3: Domain Validation skipping write tests&lt;BR /&gt;&lt;BR /&gt;#lsmod&lt;BR /&gt;Module                  Size  Used by&lt;BR /&gt;af_packet              29064  2&lt;BR /&gt;iptable_filter          6912  0&lt;BR /&gt;ip_tables              16324  1 iptable_filter&lt;BR /&gt;ip6_tables             17476  0&lt;BR /&gt;x_tables               18308  2 ip_tables,ip6_tables&lt;BR /&gt;microcode              15372  0&lt;BR /&gt;firmware_class         13568  1 microcode&lt;BR /&gt;apparmor               40736  0&lt;BR /&gt;loop                   21636  0&lt;BR /&gt;osst                   54172  0&lt;BR /&gt;st                     40092  0&lt;BR /&gt;tg3                   104068  0&lt;BR /&gt;container               9088  0&lt;BR /&gt;button                 12560  0&lt;BR /&gt;rtc_cmos               12064  0&lt;BR /&gt;rtc_core               23048  1 rtc_cmos&lt;BR /&gt;shpchp                 35092  0&lt;BR /&gt;rtc_lib                 7040  1 rtc_core&lt;BR /&gt;e1000                 167616  0&lt;BR /&gt;sr_mod                 19492  0&lt;BR /&gt;pci_hotplug            33216  1 shpchp&lt;BR /&gt;cdrom                  37020  1 sr_mod&lt;BR /&gt;sg                     37036  0&lt;BR /&gt;usbhid                 41300  0&lt;BR /&gt;hid                    29184  1 usbhid&lt;BR /&gt;ff_memless              9352  1 usbhid&lt;BR /&gt;dm_mirror              19456  1&lt;BR /&gt;dm_log                 13312  2 dm_mirror&lt;BR /&gt;uhci_hcd               27024  0&lt;BR /&gt;ehci_hcd               35340  0&lt;BR /&gt;sd_mod                 31104  2&lt;BR /&gt;usbcore               124268  4 usbhid,uhci_hcd,ehci_hcd&lt;BR /&gt;dm_snapshot            20900  0&lt;BR /&gt;dm_mod                 56880  18 dm_mirror,dm_log,dm_snapshot&lt;BR /&gt;edd                    12996  0&lt;BR /&gt;ext3                  131848  4&lt;BR /&gt;mbcache                12292  1 ext3&lt;BR /&gt;jbd                    68148  1 ext3&lt;BR /&gt;fan                     9220  0&lt;BR /&gt;mptspi                 21512  0&lt;BR /&gt;mptscsih               24704  1 mptspi&lt;BR /&gt;mptbase                55888  2 mptspi,mptscsih&lt;BR /&gt;scsi_transport_spi     27008  1 mptspi&lt;BR /&gt;ata_piix               21380  0&lt;BR /&gt;ahci                   28548  2&lt;BR /&gt;libata                139216  2 ata_piix,ahci&lt;BR /&gt;scsi_mod              140376  9 osst,st,sr_mod,sg,sd_mod,mptspi,mptscsih,scsi_transport_spi,libata&lt;BR /&gt;thermal                20872  0&lt;BR /&gt;processor              40876  1 thermal&lt;BR /&gt;&lt;BR /&gt;#cat /proc/scsi/scsi&lt;BR /&gt;Attached devices:&lt;BR /&gt;Host: scsi0 Channel: 00 Id: 00 Lun: 00&lt;BR /&gt;  Vendor: ATA      Model: GB0500C4413      Rev: n/a&lt;BR /&gt;  Type:   Direct-Access                    ANSI  SCSI revision: 05&lt;BR /&gt;Host: scsi2 Channel: 00 Id: 00 Lun: 00&lt;BR /&gt;  Vendor: ATA      Model: GB0500C4413      Rev: n/a&lt;BR /&gt;  Type:   Direct-Access                    ANSI  SCSI revision: 05&lt;BR /&gt;Host: scsi6 Channel: 00 Id: 00 Lun: 00&lt;BR /&gt;  Vendor: HL-DT-ST Model: CD-ROM GCR-8486B Rev: 2.00&lt;BR /&gt;  Type:   CD-ROM                           ANSI  SCSI revision: 05&lt;BR /&gt;Host: scsi8 Channel: 00 Id: 03 Lun: 00&lt;BR /&gt;  Vendor: HP       Model: DAT160           Rev: WP82&lt;BR /&gt;  Type:   Sequential-Access                ANSI  SCSI revision: 03&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 = 1207959552&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 0x48 (unknown).&lt;BR /&gt;Soft error count since last status=0&lt;BR /&gt;General status bits on (41010000):&lt;BR /&gt; BOT ONLINE IM_REP_EN&lt;BR /&gt;&lt;BR /&gt;Any help appreciated.&lt;BR /&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 18 Sep 2008 04:50:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storeever-tape-storage/tar-dev-nst0-cannot-write-input-output-error-on-linux/m-p/5130417#M29782</guid>
      <dc:creator>SCL_2</dc:creator>
      <dc:date>2008-09-18T04:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: tar: /dev/nst0: Cannot write: Input/output error on Linux</title>
      <link>https://community.hpe.com/t5/storeever-tape-storage/tar-dev-nst0-cannot-write-input-output-error-on-linux/m-p/5130418#M29783</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Just wanted to give an update to this that it was an issue with the tape drive being faulty.  Even though I had the tape drive replaced (a couple of times), the final replacement of the drive seemed to fix the issue!! :-)</description>
      <pubDate>Thu, 02 Oct 2008 01:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storeever-tape-storage/tar-dev-nst0-cannot-write-input-output-error-on-linux/m-p/5130418#M29783</guid>
      <dc:creator>SCL_2</dc:creator>
      <dc:date>2008-10-02T01:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: tar: /dev/nst0: Cannot write: Input/output error on Linux</title>
      <link>https://community.hpe.com/t5/storeever-tape-storage/tar-dev-nst0-cannot-write-input-output-error-on-linux/m-p/5130419#M29784</link>
      <description>faulty tape issue.</description>
      <pubDate>Thu, 02 Oct 2008 01:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storeever-tape-storage/tar-dev-nst0-cannot-write-input-output-error-on-linux/m-p/5130419#M29784</guid>
      <dc:creator>SCL_2</dc:creator>
      <dc:date>2008-10-02T01:07:44Z</dc:date>
    </item>
  </channel>
</rss>

